Optional
options: SimplePeerOptionsPrivate
#candidatesPrivate
#channelOptional
dataPrivate
#dataPrivate
#ignoringPrivate
#isPrivate
#makingPrivate
#negotiatedPrivate
#optionsPrivate
#pcPrivate
#politePrivate
#scPrivate
#streamPrivate
#streamsOptional
name?: stringOptional
stream?: MediaStreamPrivate
Optional
#timeoutStatic
prefixedWhether the RTCPeerConnection's signalingState is not closed
Whether the peer is polite
If the peer is polite it will concede when a signal collision occurs
Private
readyWhether the RTCPeerConnection's signalingState is stable
An array of incoming MediaStream names
An array of incoming MediaStreams
Private
#addPrivate
#createRest
...args: ArgumentMap<PeerEvents>[Extract<T, keyof PeerEvents>]Optional
context: anyPrivate
createRest
...args: ArgumentMap<PeerEvents>[Extract<T, keyof PeerEvents>]Return an array listing the events for which the emitter has registered listeners.
Private
handlePrivate
handlePrivate
handlePrivate
handlePrivate
handlePrivate
handlePrivate
handlePrivate
handleProcesses the signals received from the signaling server.
Private
handleReturn the number of listeners listening to a given event.
Return the listeners registered for a given event.
Optional
fn: ((...args) => void)Rest
...args: ArgumentMap<PeerEvents>[Extract<T, keyof PeerEvents>]Optional
context: anyOptional
once: booleanAdd a listener for a given event.
Rest
...args: ArgumentMap<PeerEvents>[Extract<T, keyof PeerEvents>]Optional
context: anyAdd a one-time listener for a given event.
Rest
...args: ArgumentMap<PeerEvents>[Extract<T, keyof PeerEvents>]Optional
context: anyRemove the listeners of a given event.
Optional
fn: ((...args) => void)Rest
...args: ArgumentMap<PeerEvents>[Extract<T, keyof PeerEvents>]Optional
context: anyOptional
once: booleanPrivate
sendPrivate
startPrivate
stopGenerated using TypeDoc
Whether the signaling channel's readyState is open