configure

@RequiresPermission(value = "android.permission.RECORD_AUDIO")
abstract fun configure(audioConfig: AudioConfig)

Configures only audio settings.

Parameters

audioConfig

Audio configuration to set

See also

Throws

if configuration can not be applied.


abstract fun configure(videoConfig: VideoConfig)

Configures only video settings.

Parameters

videoConfig

Video configuration to set

See also

Throws

if configuration can not be applied.


@RequiresPermission(value = "android.permission.RECORD_AUDIO")
abstract fun configure(audioConfig: AudioConfig, videoConfig: VideoConfig)

Configures both video and audio settings.

Parameters

audioConfig

Audio configuration to set

videoConfig

Video configuration to set

See also

Throws

if configuration can not be applied.