Agora Java API Reference for Android
|
Public Attributes | |
boolean | autoSubscribeAudio = true |
boolean | autoSubscribeVideo = true |
boolean | publishLocalAudio = true |
boolean | publishLocalVideo = true |
The channel media options.
boolean io.agora.rtc.models.ChannelMediaOptions.autoSubscribeAudio = true |
Determines whether to automatically subscribe to all remote audio streams when the user joins a channel:
This member variable serves a similar function to the muteAllRemoteAudioStreams
method. After joining the channel, you can call the muteAllRemoteAudioStreams
method to set whether to subscribe to all remote audio streams in the channel.
boolean io.agora.rtc.models.ChannelMediaOptions.autoSubscribeVideo = true |
Determines whether to automatically subscribe to all remote video streams when the user joins a channel:
This member variable serves a similar function to the muteAllRemoteVideoStreams
method. After joining the channel, you can call the muteAllRemoteVideoStreams
method to set whether to subscribe to all remote video streams in the channel.
boolean io.agora.rtc.models.ChannelMediaOptions.publishLocalAudio = true |
Determines whether to publish the local audio stream when the user joins a channel
This member serves a similar function to the muteLocalAudioStream
method. After the user joins the channel, you can call the muteLocalAudioStream
method to set whether to publish the local audio stream in the channel.
boolean io.agora.rtc.models.ChannelMediaOptions.publishLocalVideo = true |
Determines whether to publish the local video stream when the user joins a channel:
This member serves a similar function to the muteLocalVideoStream
method. After the user joins the channel, you can call the muteLocalVideoStream
method to set whether to publish the local video stream in the channel.