OptionalcredentialsOptionaldialSet timeout in milliseconds for dialing. Default is defined by DIAL_TIMEOUT. A value of 0 disables the timeout.
OptionaldialSet timeout in milliseconds for dialing. Default is defined by DIAL_TIMEOUT. A value of 0 disables the timeout.
OptionaldisableOptionalextraOptionalforceWhen true, strips TURN servers from the ICE configuration so only host and server-reflexive candidates are used. Useful for testing direct connectivity without relay fallback.
OptionalforceWhen true, sets ICE transport policy to relay-only so only TURN candidates are used. Useful for testing relay connectivity through a TURN server.
OptionaliceOptionalnoOptionalpriorityOptionalreconnectOptionalreconnectOptionalreconnectOptionalserviceOptionalshouldCalled when a non-retryable error is encountered during reconnection. Return true to treat the error as retryable. Does not override reconnectMaxAttempts — retries are still bounded by that limit.
OptionalsignalingWhen true, the connection to the signaling server is made over plain HTTP
(no TLS). Use this when connecting to a robot running with no_tls: true.
OptionalturnOverrides the port of the matched TURN URI.
OptionalturnOverrides the scheme of the matched TURN URI ("turn" or "turns").
OptionalturnOverrides the transport of the matched TURN URI ("tcp" or "udp").
OptionalturnWhen set, filters the signaling server's TURN list to only the server whose
parsed URI matches (compared by scheme, host, port, and transport —
defaulting transport to UDP if unspecified). Example:
"turn:turn.viam.com:443"
Options required to dial a robot via WebRTC.