Audio-only session

Is it possible to call initPublisher for audio only so that the camera light on a laptop remains off?

thanks.

Hi @jeffma,

For sure, you only have to set videosource property to false or null.
Please, check the PublisherProperties documentation

thanks for the quick response. Another question: for audio-only stream, does the subscriber still use the “video” tag to listen to it?

You could use audio tag instead for audio only media streams.