Agora RTC Objective-C API Reference
Refactor
|
The channel media options.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Optional<bool> publishCameraTrack |
Determines whether to publish the video of the camera track.
Optional<bool> publishSecondaryCameraTrack |
Determines whether to publish the video of the secondary camera track.
Optional<bool> publishAudioTrack |
Determines whether to publish the recorded audio.
Optional<bool> publishScreenTrack |
Determines whether to publish the video of the screen track.
Optional<bool> publishSecondaryScreenTrack |
Determines whether to publish the video of the secondary screen track.
Optional<bool> publishCustomAudioTrack |
Determines whether to publish the audio of the custom audio track.
Optional<int> publishCustomAudioSourceId |
Determines the source id of the custom audio, default is 0.
Optional<bool> publishCustomAudioTrackEnableAec |
Determines whether to enable AEC when publish custom audio track.
Optional<bool> publishDirectCustomAudioTrack |
Determines whether to publish direct custom audio track.
Optional<bool> publishCustomAudioTrackAec |
Determines whether to publish AEC custom audio track.
Optional<bool> publishCustomVideoTrack |
Determines whether to publish the video of the custom video track.
Optional<bool> publishEncodedVideoTrack |
Determines whether to publish the video of the encoded video track.
Optional<bool> publishMediaPlayerAudioTrack |
Determines whether to publish the audio track of media player source.
Optional<bool> publishMediaPlayerVideoTrack |
Determines whether to publish the video track of media player source.
Optional<bool> publishTrancodedVideoTrack |
Determines whether to publish the local transcoded video track.
Optional<bool> autoSubscribeAudio |
Determines whether to subscribe to all audio streams automatically. It can replace calling setDefaultMuteAllRemoteAudioStreams before joining a channel.
Optional<bool> autoSubscribeVideo |
Determines whether to subscribe to all video streams automatically. It can replace calling setDefaultMuteAllRemoteVideoStreams before joining a channel.
Optional<bool> startPreview |
Determines whether to start preview when join channel if canvas have been set.
Optional<bool> enableAudioRecordingOrPlayout |
Determines whether to enable audio recording or playout.
Optional<int> publishMediaPlayerId |
Determines which media player source should be published.
Optional<CLIENT_ROLE_TYPE> clientRoleType |
The client role type: CLIENT_ROLE_TYPE.
Optional<AUDIENCE_LATENCY_LEVEL_TYPE> audienceLatencyLevel |
The audience latency level type. See AUDIENCE_LATENCY_LEVEL_TYPE
Optional<VIDEO_STREAM_TYPE> defaultVideoStreamType |
The default video stream type: VIDEO_STREAM_TYPE.
Optional<CHANNEL_PROFILE_TYPE> channelProfile |
The channel profile: CHANNEL_PROFILE_TYPE.
Optional<int> audioDelayMs |
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.
Optional<int> mediaPlayerAudioDelayMs |
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.
Optional<const char*> token |
The token
Optional<bool> enableBuiltInMediaEncryption |
Enable media packet encryption. This parameter is ignored when calling function updateChannelMediaOptions()
Optional<bool> publishRhythmPlayerTrack |
Determines whether to publish the sound of the rhythm player to remote users.
AudioOptionsExternal audioOptionsExternal |