Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
The channel media options.
|
readwritenonatomicstrong |
Determines whether to publish the video of the camera track.
YES
: (Default) Publish the video track of the camera capturer.NO
: Do not publish the video track of the camera capturer.
|
readwritenonatomicstrong |
Determines whether to publish the video of the screen track.
YES
: Publish the video track of the screen capturer.NO
: (Default) Do not publish the video track of the screen capturer.
|
readwritenonatomicstrong |
Determines whether to publish the audio of the custom audio track.
YES
: Publish the audio of the custom audio track.NO
: (Default) Do not publish the audio of the custom audio track.
|
readwritenonatomicstrong |
Determines whether to enable AEC when publish custom audio track.
YES
: Enable AEC.NO
: (Default) Do not enable AEC.
|
readwritenonatomicstrong |
Determines whether to publish AEC custom audio track.
YES
: Publish AEC track.NO
: (Default) Do not publish AEC track.
|
readwritenonatomicstrong |
Determines whether to publish direct custom audio track.
|
readwritenonatomicstrong |
Determines whether to publish the video of the custom video track.
YES
: Publish the video of the custom video track.NO
: (Default) Do not publish the video of the custom video track.
|
readwritenonatomicstrong |
Determines whether to publish the video of the encoded video track.
YES
: Publish the video of the encoded video track.NO
: (Default) Do not publish the video of the encoded video track.
|
readwritenonatomicstrong |
Determines whether to publish the audio track of media player.
YES
: Publish the audio track of media player.NO
: (Default) Do not publish the audio track of media player.
|
readwritenonatomicstrong |
Determines whether to publish the video track of media player source.
|
readwritenonatomicstrong |
Determines which media player source should be published.
|
readwritenonatomicstrong |
Determines the source id of the custom audio, default is 0.
|
readwritenonatomicstrong |
Determines whether to publish the sampled audio.
YES
: (Default) Publish the sampled audio.NO
: Do not publish the sampled audio.
|
readwritenonatomicstrong |
Determines whether to subscribe to all audio streams automatically. This property replaces calling setDefaultMuteAllRemoteAudioStreams before joining a channel.
YES
: (Default) Subscribe to all audio streams automatically.NO
: Do not subscribe to any audio stream automatically.
|
readwritenonatomicstrong |
Determines whether to subscribe to all video streams automatically. This property replaces calling setDefaultMuteAllRemoteVideoStreams before joining a channel.
YES
: Subscribe to all video streams automatically.NO
: (default) Do not subscribe to any video stream automatically.
|
readwritenonatomicstrong |
Determines whether to start preview when join channel if canvas have been set.
|
readwritenonatomicstrong |
Determines whether to subscribe to PCM audio data only. Note that it only takes effect when join channel, otherwise not when update channel media option.
YES
: Subscribe to PCM audio data only, which means that the remote audio stream is not be played by the built-in playback device automatically. You can use this mode to pull PCM data and handle playback.NO
: (default) Do not subscribe to PCM audio only, which means that the remote audio stream is played automatically.
|
readwritenonatomicstrong |
The client role type: AgoraClientRole.
|
readwritenonatomicstrong |
The audience latency level type: AgoraAudienceLatencyLevelType.
|
readwritenonatomicstrong |
The default video stream type: AgoraVideoStreamType.
|
readwritenonatomicstrong |
The channel profile: AgoraChannelProfile.
|
readwritenonatomicstrong |
The delay in ms for sending audio frames. This is used for explicit control of A/V sync. To switch off the delay, set the value to zero.
|
readwritenonatomicstrong |
The delay in ms for sending media player audio frames. This is used for explicit control of A/V sync. To switch off the delay, set the value to zero.
|
readwritenonatomiccopy |
The token to be renewed
|
readwritenonatomicstrong |
Enable media packet encryption. This parameter is ignored when calling function updateChannelMediaOptions()
|
readwritenonatomicstrong |
Determines whether to publish the sound of the rhythm player to remote users.