JavaScript video editor, encoder, and streamer - version 5.0.6

WebrtcClient

beforeAnswer

  • beforeAnswer(peerConnection: RTCPeerConnection): Promise<void>
  • Parameter

    peerConnection: RTCPeerConnection

    Returns Promise<void>

closeConnection

  • closeConnection(): void
  • Returns void

constructor

createConnection

  • createConnection(options?: { stereo?: boolean }): Promise<void>
  • Parameter

    Optional options: { stereo?: boolean }
    • Optional stereo?: boolean

    Returns Promise<void>

endpointPromise

endpointPromise: EndpointPromiser

localPeerConnection

localPeerConnection?: RTCPeerConnection

localStream

localStream?: MediaStream

setStatus

setStatus: StringSetter