\hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options}{}\doxysection{io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Media\+Options Class Reference}
\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options}\index{io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}}


The media setting options for the host.  


\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a0376124c0dc3aff1003afc759d58e735}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a0376124c0dc3aff1003afc759d58e735}} 
Boolean {\bfseries is\+Publish\+Camera\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_affe71d7699de84676fc407c183acf360}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_affe71d7699de84676fc407c183acf360}} 
Boolean {\bfseries is\+Publish\+Microphone\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a4dba8bc535efa22ace2e82a1283ab392}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a4dba8bc535efa22ace2e82a1283ab392}} 
Boolean {\bfseries is\+Publish\+Custom\+Audio\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_af9073a4a59c020cb651b7b1fc5244346}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_af9073a4a59c020cb651b7b1fc5244346}} 
Boolean {\bfseries is\+Publish\+Custom\+Video\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a610561bd996dc91978b230c98631c96f}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a610561bd996dc91978b230c98631c96f}} 
Boolean {\bfseries is\+Publish\+Media\+Player\+Audio\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_ae0f7fd3b8d5215e32b2414d860717574}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_ae0f7fd3b8d5215e32b2414d860717574}} 
Integer {\bfseries get\+Publish\+Media\+Player\+Id} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a20d033e3394c9f4c896b39f88e46d33b}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a20d033e3394c9f4c896b39f88e46d33b}} 
Integer {\bfseries get\+Custom\+Video\+Track\+Id} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a7dd45a1c252ae43441e8c674a64fead9}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a7dd45a1c252ae43441e8c674a64fead9}} 
String {\bfseries to\+String} ()
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a70889e6fbcfe38c23b20d037a9e52fef}{publish\+Camera\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_adab5589c8805c4f040835e3ae1ebf79b}{publish\+Microphone\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a65d026201ebce0fc6c2f27ba01b35703}{publish\+Custom\+Audio\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_ad0eb51f2cea767b1a7c9e417ca3b5686}{publish\+Custom\+Video\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a7569ca037aa1d845301072bab3a565fe}{publish\+Media\+Player\+Audio\+Track}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_ac3f173999add1038cb17142e40119ec6}{publish\+Media\+Player\+Id}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a774caa634eaa95886110b61eca366e2e}{custom\+Video\+Track\+Id}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The media setting options for the host. 

\begin{DoxyRefDesc}{Deprecated}
\item[\mbox{\hyperlink{deprecated__deprecated000011}{Deprecated}}]v4.\+6.\+0. \end{DoxyRefDesc}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a70889e6fbcfe38c23b20d037a9e52fef}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a70889e6fbcfe38c23b20d037a9e52fef}} 
\index{io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}!publishCameraTrack@{publishCameraTrack}}
\index{publishCameraTrack@{publishCameraTrack}!io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishCameraTrack}{publishCameraTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Media\+Options.\+publish\+Camera\+Track}

Sets whether to publish the video captured by the camera\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the video captured by the camera.
\item {\ttfamily false}\+: (Default) Do not publish the video captured by the camera. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_adab5589c8805c4f040835e3ae1ebf79b}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_adab5589c8805c4f040835e3ae1ebf79b}} 
\index{io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}!publishMicrophoneTrack@{publishMicrophoneTrack}}
\index{publishMicrophoneTrack@{publishMicrophoneTrack}!io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishMicrophoneTrack}{publishMicrophoneTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Media\+Options.\+publish\+Microphone\+Track}

Sets whether to publish the audio captured by the microphone\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the audio captured by the microphone.
\item {\ttfamily false}\+: (Default) Do not publish the audio captured by the microphone. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a65d026201ebce0fc6c2f27ba01b35703}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a65d026201ebce0fc6c2f27ba01b35703}} 
\index{io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}!publishCustomAudioTrack@{publishCustomAudioTrack}}
\index{publishCustomAudioTrack@{publishCustomAudioTrack}!io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishCustomAudioTrack}{publishCustomAudioTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Media\+Options.\+publish\+Custom\+Audio\+Track}

Sets whether to publish the captured audio from a custom source\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the captured audio from a custom source.
\item {\ttfamily false}\+: (Default) Do not publish the captured audio from the custom source. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_ad0eb51f2cea767b1a7c9e417ca3b5686}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_ad0eb51f2cea767b1a7c9e417ca3b5686}} 
\index{io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}!publishCustomVideoTrack@{publishCustomVideoTrack}}
\index{publishCustomVideoTrack@{publishCustomVideoTrack}!io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishCustomVideoTrack}{publishCustomVideoTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Media\+Options.\+publish\+Custom\+Video\+Track}

Sets whether to publish the captured video from a custom source\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the captured video from a custom source.
\item {\ttfamily false}\+: (Default) Do not publish the captured video from the custom source. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a7569ca037aa1d845301072bab3a565fe}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a7569ca037aa1d845301072bab3a565fe}} 
\index{io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}!publishMediaPlayerAudioTrack@{publishMediaPlayerAudioTrack}}
\index{publishMediaPlayerAudioTrack@{publishMediaPlayerAudioTrack}!io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishMediaPlayerAudioTrack}{publishMediaPlayerAudioTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Media\+Options.\+publish\+Media\+Player\+Audio\+Track}

Determines whether to publish the audio track of media player source.
\begin{DoxyItemize}
\item true\+: Publish the audio track of media player source.
\item false\+: (Default) Do not publish the audio track of media player source. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_ac3f173999add1038cb17142e40119ec6}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_ac3f173999add1038cb17142e40119ec6}} 
\index{io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}!publishMediaPlayerId@{publishMediaPlayerId}}
\index{publishMediaPlayerId@{publishMediaPlayerId}!io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishMediaPlayerId}{publishMediaPlayerId}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Media\+Options.\+publish\+Media\+Player\+Id}

Determines which media player source should be published. This parameter get from function get\+Media\+Player\+Id() of Agora\+Media\+Player. \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a774caa634eaa95886110b61eca366e2e}\label{classio_1_1agora_1_1rtc2_1_1_direct_cdn_streaming_media_options_a774caa634eaa95886110b61eca366e2e}} 
\index{io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}!customVideoTrackId@{customVideoTrackId}}
\index{customVideoTrackId@{customVideoTrackId}!io.agora.rtc2.DirectCdnStreamingMediaOptions@{io.agora.rtc2.DirectCdnStreamingMediaOptions}}
\doxysubsubsection{\texorpdfstring{customVideoTrackId}{customVideoTrackId}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+Direct\+Cdn\+Streaming\+Media\+Options.\+custom\+Video\+Track\+Id}

The video track ID returned by calling the {\ttfamily create\+Custom\+Video\+Track} method. The default value is 0. 