WebrtcConnection
- EventEmitter
- WebrtcConnection
Properties
Methods
Constructors
_peerConnection
applyAnswer
beforeOffer
callbacksByConnection
close
commandOutput
connectionTimer
connectionsById
constructor
Parameters
id: string
Optional outputPrefix: string
Optional commandOutput: CommandOutput
Returns WebrtcConnection
create
Parameters
id: string
Optional outputPrefix: string
Optional commandOutput: CommandOutput
Returns WebrtcConnection
createAudioSink
createVideoSink
deleteConnection
Parameter
connection: WebrtcConnection
Returns void
doOffer
getConnection
Parameter
id: string
Returns null | WebrtcConnection
getConnections
Returns WebrtcConnection[]
iceConnectionState
id
inputAudio
Parameter
audio: Stream
Returns CommandInput
inputVideo
Parameters
video: Stream
size: Size
Returns CommandInput
localDescription
onAudioData
Parameter
__namedParameters: AudioData
Returns void
onFrameData
Parameter
frameData: FrameData
Returns void
onIceConnectionStateChange
outputPrefix
peerConnection
reconnectionTimer
remoteDescription
signalingState
state
stream
Returns undefined | WebrtcStream
streamForSize
Parameter
size: Size
Returns WebrtcStream
streams
toJSON
Returns ConnectionJson