PreCallVideoConfig

class PreCallVideoConfig(val cameraId: String? = null, val encoderConfig: CustomCameraTrackConfig? = null, val facingMode: FacingMode? = null, val multiStream: Boolean? = null, val bitrateMode: BitrateMode? = null, val maxLayer: EncodingLayer? = null)

How the test opens the camera. Every field is optional; null is unset.

Constructors

Link copied to clipboard
constructor(cameraId: String? = null, encoderConfig: CustomCameraTrackConfig? = null, facingMode: FacingMode? = null, multiStream: Boolean? = null, bitrateMode: BitrateMode? = null, maxLayer: EncodingLayer? = null)

Properties

Link copied to clipboard

how the encoder trades quality against bandwidth; see BitrateMode.

Link copied to clipboard
val cameraId: String? = null

a VideoSDK.getCameras() device id; unset picks by facingMode.

Link copied to clipboard

the capture size and frame rate.

Link copied to clipboard
val facingMode: FacingMode? = null

front or back lens when no cameraId is given. Unset means front.

Link copied to clipboard
val maxLayer: EncodingLayer? = null

how many simulcast layers to publish; only meaningful with multiStream.

Link copied to clipboard
val multiStream: Boolean? = null

publish simulcast layers. Unset means true.