JavaScript video editor, encoder, switcher - version 5.1.1

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