Interface ISignallingConnection
Methods
close
- close(): void
-
Returns void
Optional
onAnswer
- onAnswer(sessionDescription): Promise<void>
-
Parameters
-
sessionDescription: RTCSessionDescription
Returns Promise<void>
Optional
onIceCandidate
- onIceCandidate(candidate): Promise<void>
-
Parameters
-
candidate: RTCIceCandidate
Returns Promise<void>
Optional
onclose
- onclose(): void
-
Returns void
Optional
onerror
- onerror(error): void
-
Returns void
Optional
onopen
- onopen(): void
-
Returns void
sendIceCandidate
- sendIceCandidate(iceCandidate): void
-
Parameters
-
iceCandidate: RTCIceCandidate
Returns void
sendOffer
- sendOffer(offer): void
-
Parameters
-
offer: RTCSessionDescriptionInit
Returns void
Optional
start
- start(): void
-
Returns void