LiveKitOverrides

data class LiveKitOverrides(okHttpClient: OkHttpClient?, videoEncoderFactory: VideoEncoderFactory?, videoDecoderFactory: VideoDecoderFactory?, audioOptions: AudioOptions?, eglBase: EglBase?, peerConnectionFactoryOptions: PeerConnectionFactory.Options?)

Overrides to replace LiveKit internally used components with custom implementations.

Constructors

LiveKitOverrides
Link copied to clipboard
fun LiveKitOverrides(okHttpClient: OkHttpClient? = null, videoEncoderFactory: VideoEncoderFactory? = null, videoDecoderFactory: VideoDecoderFactory? = null, audioOptions: AudioOptions? = null, eglBase: EglBase? = null, peerConnectionFactoryOptions: PeerConnectionFactory.Options? = null)

Properties

audioOptions
Link copied to clipboard
val audioOptions: AudioOptions? = null
Override various audio options used by the library.
eglBase
Link copied to clipboard
val eglBase: EglBase? = null
Override the EglBase used by the library.
okHttpClient
Link copied to clipboard
val okHttpClient: OkHttpClient? = null
Override the OkHttpClient used by the library.
peerConnectionFactoryOptions
Link copied to clipboard
val peerConnectionFactoryOptions: PeerConnectionFactory.Options? = null
Override the options passed into the PeerConnectionFactory when building it.
videoDecoderFactory
Link copied to clipboard
val videoDecoderFactory: VideoDecoderFactory? = null
Override the VideoDecoderFactory used by the library.
videoEncoderFactory
Link copied to clipboard
val videoEncoderFactory: VideoEncoderFactory? = null
Override the VideoEncoderFactory used by the library.

Sources

SDK source
Link copied to clipboard