VoiceClientOptions

data class VoiceClientOptions(val enableMic: Boolean = true, val enableCam: Boolean = false, val services: List<ServiceRegistration> = emptyList(), val config: List<ServiceConfig> = emptyList(), val customHeaders: List<Pair<String, String>> = emptyList())

Configuration options when instantiating a VoiceClient.

Constructors

Link copied to clipboard
constructor(enableMic: Boolean = true, enableCam: Boolean = false, services: List<ServiceRegistration> = emptyList(), config: List<ServiceConfig> = emptyList(), customHeaders: List<Pair<String, String>> = emptyList())

Properties

Link copied to clipboard

Further configuration options for the backend.

Link copied to clipboard

Custom HTTP headers to be sent with the POST request to baseUrl.

Link copied to clipboard
val enableCam: Boolean = false

Enable user cam input.

Link copied to clipboard
val enableMic: Boolean = true

Enable the user mic input.

Link copied to clipboard

A list of services to use on the backend.