Interface PCStateMachineContext

Hierarchy

  • PCStateMachineContext

Properties

createRTCConnection: (() => void)

Type declaration

    • (): void
    • Returns void

dispatchEvent: (<K>(type: K, ...args: ArgsType<PeerConnectionEventMap[K]>) => void)

Type declaration

isDisposable: boolean
isInitiator: boolean
prepareSessionDescription: (() => void)

Type declaration

    • (): void
    • Returns void

sendAnswer: (() => Promise<void>)

Type declaration

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

sendOffer: ((iceRestart: boolean) => Promise<void>)

Type declaration

    • (iceRestart: boolean): Promise<void>
    • Parameters

      • iceRestart: boolean

      Returns Promise<void>

setRemoteDescription: ((type: RTCSdpType, sdp: string) => Promise<void>)

Type declaration

    • (type: RTCSdpType, sdp: string): Promise<void>
    • Parameters

      • type: RTCSdpType
      • sdp: string

      Returns Promise<void>

Generated using TypeDoc