WebRtcConfig

open class WebRtcConfig(source)

Configuration for the WebRtc client.

Provides settings for the WebRtc engine, including the dispatcher to use for coroutines, the media track factory, and default connection configuration.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Default configuration for the WebRtcPeerConnection which is used if no extra config is specified when creating the connection.

Link copied to clipboard
var dispatcher: CoroutineDispatcher?

Dispatcher that will be used for coroutines in the background (e.g., emit events). Defaults to Dispatchers.IO if available, or Dispatchers.Default.

Link copied to clipboard

Media track factory that will be used to create media tracks. The specific engine chooses the default implementation.