AndroidWebRtcEngineConfig

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var context: Context?

Android application context needed to create media tracks.

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.

Link copied to clipboard
var rtcFactory: PeerConnectionFactory?

In Android WebRtc implementation PeerConnectionFactory is coupled with the MediaTrackFactory, so if you provide a custom MediaTrackFactory, you should specify PeerConnectionFactory to initialize a PeerConnection.