WebRtcConnectionConfig

Configuration for WebRtc connections.

Provides settings for ICE servers, policies, and other parameters needed for WebRtc connections.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Specifies how to handle negotiation of candidates when the remote peer is not compatible with the SDP BUNDLE standard. Defaults to WebRtc.BundlePolicy.BALANCED.

Link copied to clipboard

Replay for the shared flow of data channels events in the connection. Defaults to 10.

Link copied to clipboard
var exceptionHandler: CoroutineExceptionHandler?

Custom coroutine exception handler that will be used to catch background exceptions (e.g., during a statistics collection, emitting events). If no handler is provided DefaultExceptionHandler is used.

Link copied to clipboard

The size of the prefetched ICE candidate pool. In some cases, this could speed up the connection establishment process. Defaults to 0 (meaning no candidate prefetching will occur).

Link copied to clipboard

Replay for the shared flow of ICE candidates. Defaults to 20.

Link copied to clipboard
Link copied to clipboard

Specifies the ICE transport policy to use when gathering ICE candidates. Defaults to WebRtc.IceTransportPolicy.ALL.

Link copied to clipboard

Replay for the shared flow of operations on remote tracks (additions, removals). Defaults to 10.

Link copied to clipboard

A string which specifies the RTCP mux policy to use when gathering ICE candidates to support non-multiplexed RTCP. Defaults to WebRtc.RtcpMuxPolicy.REQUIRE.

Link copied to clipboard

Refresh rate of WebRtc.Stats. null means there will be no statistics collected. You can provide a custom exceptionHandler to handle exceptions during a statistics collection. Defaults to null.