Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The UI Library allows you to modify the Audio Video mode of a Call for a local user.
In this article, you learn how to enable Audio only mode, which disables local and remote video capabilities.
Prerequisites
- Application utilizing the ACS Calling UI SDK or
- Completion of the quickstart for getting started with the ACS UI Library composites.
Set up the features
// Create a Call Composite Local Options
val options = CallCompositeLocalOptions()
// Set the Audio Video Mode to Audio Only
options.setAudioVideoMode(CallCompositeAudioVideoMode.AUDIO_ONLY)
// Set the Audio Mode when creating the Local Options
let localOptions = LocalOptions(..., audioVideoMode: .audioOnly)