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
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ