CameraVideoTrackFactory

Functions

Link copied to clipboard

Creates a CameraVideoTrack for the best available camera.

Creates a CameraVideoTrack for specific deviceName.

Link copied to clipboard
abstract fun getDeviceNames(): List<String>

Returns all available device names.

Link copied to clipboard
abstract fun getQualityProfiles(deviceName: String): List<QualityProfile>

Returns a list of supported quality profiles for a specific camera.

Link copied to clipboard
abstract fun isBackFacing(deviceName: String): Boolean

Checks whether the provided device name belongs to a back-facing camera.

Link copied to clipboard
abstract fun isFrontFacing(deviceName: String): Boolean

Checks whether the provided device name belongs to a front-facing camera.