Public Attributes | |
boolean | autoSubscribeAudio = true |
boolean | autoSubscribeVideo = true |
The channel media options.
boolean io.agora.rtc.models.ChannelMediaOptions.autoSubscribeAudio = true |
Determines whether to subscribe to audio streams when the user joins the channel:
This member serves a similar function to the muteAllRemoteAudioStreams method. After joining the channel, you can call the muteAllRemoteAudioStreams method to set whether to subscribe to audio streams in the channel.
boolean io.agora.rtc.models.ChannelMediaOptions.autoSubscribeVideo = true |
Determines whether to subscribe to video streams when the user joins the channel:
This member serves a similar function to the muteAllRemoteVideoStreams method. After joining the channel, you can call the muteAllRemoteVideoStreams method to set whether to subscribe to audio streams in the channel.