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