Agora RTC Objective-C API Reference  Refactor
Data Fields
DirectCdnStreamingMediaOptions Struct Reference

Data Fields

Optional< bool > publishCameraTrack
 
Optional< bool > publishMicrophoneTrack
 
Optional< bool > publishCustomAudioTrack
 
Optional< bool > publishCustomVideoTrack
 
Optional< bool > publishMediaPlayerAudioTrack
 
Optional< int > publishMediaPlayerId
 

Detailed Description

The channel media options.

Constructor & Destructor Documentation

◆ DirectCdnStreamingMediaOptions()

◆ ~DirectCdnStreamingMediaOptions()

Member Function Documentation

◆ SetAll()

void SetAll ( const DirectCdnStreamingMediaOptions change)
inline

◆ operator==()

bool operator== ( const DirectCdnStreamingMediaOptions o) const
inline

◆ operator=()

DirectCdnStreamingMediaOptions& operator= ( const DirectCdnStreamingMediaOptions replace)
inline

◆ SetFrom()

static void SetFrom ( Optional< T > *  s,
const Optional< T > &  o 
)
inlinestatic

◆ ReplaceBy()

static void ReplaceBy ( Optional< T > *  s,
const Optional< T > &  o 
)
inlinestatic

Field Documentation

◆ publishCameraTrack

Optional<bool> publishCameraTrack

Determines whether to publish the video of the camera track.

  • true: Publish the video track of the camera capturer.
  • false: (Default) Do not publish the video track of the camera capturer.

◆ publishMicrophoneTrack

Optional<bool> publishMicrophoneTrack

Determines whether to publish the recorded audio.

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

◆ publishCustomAudioTrack

Optional<bool> publishCustomAudioTrack

Determines whether to publish the audio of the custom audio track.

  • true: Publish the audio of the custom audio track.
  • false: (Default) Do not publish the audio of the custom audio track.

◆ publishCustomVideoTrack

Optional<bool> publishCustomVideoTrack

Determines whether to publish the video of the custom video track.

  • true: Publish the video of the custom video track.
  • false: (Default) Do not publish the video of the custom video track.

◆ publishMediaPlayerAudioTrack

Optional<bool> publishMediaPlayerAudioTrack

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

Optional<int> publishMediaPlayerId

Determines which media player source should be published.

  • DEFAULT_PLAYER_ID(0) is default.