AgoraRtcChannelMediaOptions Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | AgoraObjects.h |
autoSubscribeAudio
Determines whether to subscribe to audio streams when the user joins the channel:
@property (nonatomic, assign) BOOL autoSubscribeAudioDiscussion
- true: (Default) Subscribe.
- false: Do not subscribe.
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.
Declared In
AgoraObjects.h
autoSubscribeVideo
Determines whether to subscribe to video streams when the user joins the channel:
@property (nonatomic, assign) BOOL autoSubscribeVideoDiscussion
- true: (Default) Subscribe.
- false: Do not subscribe.
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.
Declared In
AgoraObjects.h
