Builder
A builder for WebRtcMediaConnectionFactory.
The created instance of WebRtcMediaConnectionFactory will use DefaultVideoDecoderFactory, DefaultVideoEncoderFactory and either Camera2Enumerator if the OS supports it or Camera1Enumerator otherwise if corresponding methods were not used during before calling build.
Parameters
context
an instance of application context
Functions
Link copied to clipboard
Sets an AudioDeviceModule.
Link copied to clipboard
Builds WebRtcMediaConnectionFactory.
Link copied to clipboard
Sets a CameraEnumerator.
Link copied to clipboard
Sets an EglBase.
Link copied to clipboard
fun videoDecoderFactory(videoDecoderFactory: VideoDecoderFactory): WebRtcMediaConnectionFactory.Builder
Sets a VideoDecoderFactory.
Link copied to clipboard
fun videoEncoderFactory(videoEncoderFactory: VideoEncoderFactory): WebRtcMediaConnectionFactory.Builder
Sets a VideoEncoderFactory.