VideoStreamerConfigurationHelper

class VideoStreamerConfigurationHelper(videoHelper: VideoCameraStreamerConfigurationHelper)

Constructors

Link copied to clipboard
fun VideoStreamerConfigurationHelper(videoHelper: VideoCameraStreamerConfigurationHelper)

Functions

Link copied to clipboard
fun getBackCamerasList(context: Context): List<String>

Get back cameras list

Link copied to clipboard
fun getCamerasList(context: Context): List<String>

Get cameras list

Link copied to clipboard
fun getCameraSupportedResolutions(context: Context): List<Size>

Get camera supported resolutions that are also supported by the encoder.

Link copied to clipboard
fun getFrontCamerasList(context: Context): List<String>

Get front cameras list

Link copied to clipboard
fun getSupportedBitrates(): Range<Int>

Get supported bitrate range.

Link copied to clipboard
fun getSupportedFrameRates(context: Context, cameraId: String): List<Range<Int>>

Get camera supported frame rate that are also supported by the encoder.

Link copied to clipboard
fun getSupportedResolutions(): Pair<Range<Int>, Range<Int>>

Get encoder supported resolutions range.