logo
On this page

How to provide only audio permission when publishing streams on the Web platform?

2022-11-16
Products / Plugins:Video Call / Audio Call / Live streaming
Platform / Framework:Web

Use the interface configuration: zg.createStream({camera:{audio:true,video:false}}). This way, the stream will only have audio, and the browser will only request microphone permission.

Previous

How to monitor who is speaking in the room with Express SDK?

Next

When mixing two streams, if one of them disconnects, will the stream mixing automatically stop?