Agora RTC Objective-C API Reference  Refactor
Properties
AgoraDirectCdnStreamingMediaOptions Class Reference

Inherits <NSObject>.

Properties

AgoraRtcBoolOptional *_Nullable publishCameraTrack
 
AgoraRtcBoolOptional *_Nullable publishCustomAudioTrack
 
AgoraRtcBoolOptional *_Nullable publishCustomVideoTrack
 
AgoraRtcBoolOptional *_Nullable publishMicrophoneTrack
 
AgoraRtcBoolOptional *_Nullable publishMediaPlayerAudioTrack
 
AgoraRtcBoolOptional *_Nullable publishMediaPlayerId
 

Detailed Description

The cdn streaming media options.

Property Documentation

◆ publishCameraTrack

- (AgoraRtcBoolOptional* _Nullable) publishCameraTrack
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.

◆ publishCustomAudioTrack

- (AgoraRtcBoolOptional* _Nullable) publishCustomAudioTrack
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.

◆ publishCustomVideoTrack

- (AgoraRtcBoolOptional* _Nullable) publishCustomVideoTrack
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.

◆ publishMicrophoneTrack

- (AgoraRtcBoolOptional* _Nullable) publishMicrophoneTrack
readwritenonatomicstrong

Determines whether to publish the recorded audio.

  • true: Publish the recorded audio.
  • false: (Default) Do not publish the recorded audio.

◆ publishMediaPlayerAudioTrack

- (AgoraRtcBoolOptional* _Nullable) publishMediaPlayerAudioTrack
readwritenonatomicstrong

Determines whether to publish the audio track of media player source.

  • true: Publish the audio track of media player source.
  • false: (default) Do not publish the audio track of media player source.

◆ publishMediaPlayerId

- (AgoraRtcBoolOptional* _Nullable) publishMediaPlayerId
readwritenonatomicstrong

Determines which media player source should be published.

  • DEFAULT_PLAYER_ID(0) is default.