Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SafePeerConnection

Index

Constructors

constructor

  • new SafePeerConnection(configuration?: RTCConfiguration, localStream?: null | MediaStream, base?: {}): SafePeerConnection

Properties

Private disconnectionChannel

disconnectionChannel: RTCDataChannel

Private iceCandidates

iceCandidates: RTCIceCandidate[] = ...

Private onCloseCallback

onCloseCallback: CloseCallback

Private onReadyCallback

onReadyCallback: ReadyCallback

Private remoteStream

remoteStream: undefined | MediaStream

Readonly super

super: RTCPeerConnection

Accessors

onclose

  • set onclose(callback: CloseCallback): void

onready

  • set onready(callback: ReadyCallback): void

Methods

addIceCandidate

  • addIceCandidate(candidate: RTCIceCandidate): Promise<void>

close

  • close(): void

Private isRemoteStreamReady

  • isRemoteStreamReady(): boolean

Private setIceConnectionStatusCallback

  • setIceConnectionStatusCallback(): void

Private setOnDisconnectionCloseCallback

  • setOnDisconnectionCloseCallback(): void

Private setOnTrackAddCallback

  • setOnTrackAddCallback(): void

setRemoteDescription

  • setRemoteDescription(description: RTCSessionDescriptionInit): Promise<void>

Generated using TypeDoc