JavaScript video editor, encoder, switcher - version 5.1.1

WebrtcConnection

_peerConnection

_peerConnection: undefined | RTCPeerConnection

applyAnswer

  • applyAnswer(answer: RTCSessionDescriptionInit): Promise<void>
  • Parameter

    answer: RTCSessionDescriptionInit

    Returns Promise<void>

beforeOffer

  • beforeOffer(): void
  • Returns void

callbacksByConnection

callbacksByConnection: Map<WebrtcConnection, () => void>

close

  • close(): void
  • Returns void

commandOutput

commandOutput: CommandOutput

connectionTimer

connectionTimer?: Timeout

connectionsById

connectionsById: Map<string, WebrtcConnection>

constructor

create

createAudioSink

  • createAudioSink(): any
  • Returns any

createVideoSink

  • createVideoSink(): any
  • Returns any

deleteConnection

doOffer

  • doOffer(): Promise<void>
  • Returns Promise<void>

getConnection

getConnections

iceConnectionState

  • get iceConnectionState(): RTCIceConnectionState
  • Returns RTCIceConnectionState

id

id: string

inputAudio

inputVideo

localDescription

  • get localDescription(): null | RTCSessionDescription
  • Returns null | RTCSessionDescription

onAudioData

  • onAudioData(__namedParameters: AudioData): void
  • Parameter

    __namedParameters: AudioData

    Returns void

onFrameData

onIceConnectionStateChange

  • onIceConnectionStateChange(): void
  • Returns void

outputPrefix

outputPrefix: string

peerConnection

  • get peerConnection(): RTCPeerConnection
  • Returns RTCPeerConnection

reconnectionTimer

reconnectionTimer?: Timeout

remoteDescription

  • get remoteDescription(): null | RTCSessionDescription
  • Returns null | RTCSessionDescription

signalingState

  • get signalingState(): RTCSignalingState
  • Returns RTCSignalingState

state

state: string

stream

streamForSize

streams

streams: WebrtcStream[]

toJSON

waitUntilIceGatheringStateComplete

  • waitUntilIceGatheringStateComplete(): Promise<void>
  • Returns Promise<void>