Skip to content

WebRTCTransportOptions

E extends EditEnvelope

readonly announceInterval: number


readonly connectionTimeout: number


readonly credentials: object

readonly optional turn?: (peer, signal) => Promise<readonly RTCIceServer[]>

string

AbortSignal

Promise<readonly RTCIceServer[]>


readonly crypto: RoomCrypto


readonly iceServers: readonly RTCIceServer[]


readonly onError: (error, peer?, direction?) => void

unknown

string

"send" | "receive"

void


readonly optional onPeerLeft?: (peer) => void

string

void


readonly optional onRecovery?: (peer?, direction?) => void

string

"send" | "receive"

void


readonly router: TransportRouter<E>


readonly signaling: SignalingClient


readonly transportPolicy: RTCIceTransportPolicy