Interface DialWebRTCConf

Options required to dial a robot via WebRTC.

interface DialWebRTCConf {
    credentials?: Credential | AccessToken;
    dialTimeout?: number;
    disableSessions?: boolean;
    host: string;
    iceServers?: ICEServer[];
    noReconnect?: boolean;
    priority?: number;
    reconnectAbortSignal?: { abort: boolean };
    reconnectMaxAttempts?: number;
    reconnectMaxWait?: number;
    serviceHost?: string;
    signalingAddress: string;
}

Properties

credentials?: Credential | AccessToken
dialTimeout?: number

Set timeout in milliseconds for dialing. Default is defined by DIAL_TIMEOUT. A value of 0 disables the timeout.

disableSessions?: boolean
host: string
iceServers?: ICEServer[]
noReconnect?: boolean
priority?: number
reconnectAbortSignal?: { abort: boolean }
reconnectMaxAttempts?: number
10.
reconnectMaxWait?: number
Number.POSITIVE_INFINITY
serviceHost?: string
signalingAddress: string