Enable audio only mode in the ACS UI library
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)
Next steps
Palaute
https://aka.ms/ContentUserFeedback.
Tulossa pian: Vuoden 2024 aikana poistamme asteittain GitHub Issuesin käytöstä sisällön palautemekanismina ja korvaamme sen uudella palautejärjestelmällä. Lisätietoja on täällä:Lähetä ja näytä palaute kohteelle