AudioIntent

data class AudioIntent(val requiresCapture: Boolean = true, val requiresPlayback: Boolean = true, val preferredDevice: AudioDevice? = null, val enableProximityEarpiece: Boolean = true, val muteDuringExternalAudio: Boolean = true, val duckDuringExternalAudio: Boolean = true)

Host policy for how the SDK should activate and react to shared audio.

Constructors

Link copied to clipboard
constructor(requiresCapture: Boolean = true, requiresPlayback: Boolean = true, preferredDevice: AudioDevice? = null, enableProximityEarpiece: Boolean = true, muteDuringExternalAudio: Boolean = true, duckDuringExternalAudio: Boolean = true)

Properties

Link copied to clipboard

Whether external audio should lower remote playback volume.

Link copied to clipboard

Whether the SDK may use proximity-based earpiece routing.

Link copied to clipboard

Whether external audio should mute the local WebRTC mic.

Link copied to clipboard

Initial preferred audio route, if known.

Link copied to clipboard

Whether the call needs microphone capture. This is a policy hint for custom coordinators; it does not disable SDK WebRTC track creation.

Link copied to clipboard

Whether the call needs remote audio playback. This is a policy hint for custom coordinators; it does not disable SDK WebRTC track creation.