|
Voice SDK v3.7.1 API Reference for All Platforms (C++)
|
Public Member Functions | |
| ChannelMediaOptions () | |
Public Attributes | |
| bool | autoSubscribeAudio |
| bool | autoSubscribeVideo |
| bool | publishLocalAudio |
| bool | publishLocalVideo |
The channel media options.
|
inline |
| bool agora::rtc::ChannelMediaOptions::autoSubscribeAudio |
Determines whether to automatically subscribe to all remote audio streams when the user joins a 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.
| bool agora::rtc::ChannelMediaOptions::autoSubscribeVideo |
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 video streams in the channel.
| bool agora::rtc::ChannelMediaOptions::publishLocalAudio |
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.
| bool agora::rtc::ChannelMediaOptions::publishLocalVideo |
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.