\hypertarget{structagora_1_1rtc_1_1_channel_media_options}{}\doxysection{agora\+::rtc\+::Channel\+Media\+Options Struct Reference}
\label{structagora_1_1rtc_1_1_channel_media_options}\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}


The channel media options.  




{\ttfamily \#include $<$I\+Agora\+Rtc\+Engine.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a59025d29c5d265f0371d43992399fc98}\label{structagora_1_1rtc_1_1_channel_media_options_a59025d29c5d265f0371d43992399fc98}} 
void {\bfseries Set\+All} (const \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options}{Channel\+Media\+Options}} \&change)
\item 
\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a4e1c8476c083ad27e962b1edee0d3491}\label{structagora_1_1rtc_1_1_channel_media_options_a4e1c8476c083ad27e962b1edee0d3491}} 
bool {\bfseries operator==} (const \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options}{Channel\+Media\+Options}} \&o) const
\item 
\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a1c2189cdf354228d5c5c034ab06633a1}\label{structagora_1_1rtc_1_1_channel_media_options_a1c2189cdf354228d5c5c034ab06633a1}} 
\mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options}{Channel\+Media\+Options}} \& {\bfseries operator=} (const \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options}{Channel\+Media\+Options}} \&replace)
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a739bb30f5fbfc8bb582041b980b5652d}{publish\+Camera\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_af0b1a8114bfe4ab29233679758effceb}{publish\+Secondary\+Camera\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_aed0db4c66a44389b0433e1018e251adb}{publish\+Third\+Camera\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a8b9bbf3f32d25b22d2cb1b5603a00a54}{publish\+Fourth\+Camera\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a8f3461c6f6a879cb9290e96aa79bccde}{publish\+Microphone\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a824b2959cc6d9dc8f6175d6fc18db8cf}{publish\+Screen\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a41cd750b3830d4172348b2ac50bc5ebf}{publish\+Secondary\+Screen\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a028322bdf1f1094bbbffc72ab8aed5f5}{publish\+Third\+Screen\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a96bff3bc07959bc86cbe3c3a833ce94d}{publish\+Fourth\+Screen\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_aad23e5b7f4f38a6b3b402a8fdc53ee78}{publish\+Custom\+Audio\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ int $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a30f3e477c8977172bd4234875a1270a0}{publish\+Custom\+Audio\+Track\+Id}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a17ddf4b26323372e67aa5b23abfd4f4e}{publish\+Custom\+Video\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_ac6bb8589385e816419af7e6538120c32}{publish\+Encoded\+Video\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_af2d7e508c7e9a5b457e80d0073018a52}{publish\+Media\+Player\+Audio\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_ad59ff2d767d767a53b2aed59a9023548}{publish\+Media\+Player\+Video\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a62e100daa86ada187b9471be5f0229b6}{publish\+Transcoded\+Video\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_aab97623a269cfd118ccbb60df0dc2bfd}{publish\+Mixed\+Audio\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_ac1ad88e2dbccdeee42cd7468f7209e7e}{publish\+Lip\+Sync\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_af3cf29ddcbba27b5e8974aec5b2b7ea7}{auto\+Subscribe\+Audio}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_aac3f87bfced921601e24c32a061a12b4}{auto\+Subscribe\+Video}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a8cf89330e53c21c424a850f9066e3102}{enable\+Audio\+Recording\+Or\+Playout}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ int $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a58a0fab66856479d5764628ec7143578}{publish\+Media\+Player\+Id}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ C\+L\+I\+E\+N\+T\+\_\+\+R\+O\+L\+E\+\_\+\+T\+Y\+PE $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_aafe6376ad865a27212265b660d12ce2e}{client\+Role\+Type}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ A\+U\+D\+I\+E\+N\+C\+E\+\_\+\+L\+A\+T\+E\+N\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+T\+Y\+PE $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_ace64ffee7b39b200706c0af556015d18}{audience\+Latency\+Level}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+T\+Y\+PE $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_ac5e2aca49fa402e2726de9891a3034b5}{default\+Video\+Stream\+Type}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ C\+H\+A\+N\+N\+E\+L\+\_\+\+P\+R\+O\+F\+I\+L\+E\+\_\+\+T\+Y\+PE $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a79e7843c8c5e1dc0e2a1515b45a78893}{channel\+Profile}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ int $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a042b6cfec6350106f7ad7c5c89a5bc47}{audio\+Delay\+Ms}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ int $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a4cba8901b97aeb888eb2430cdf88cdaa}{media\+Player\+Audio\+Delay\+Ms}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ const char $\ast$ $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a444f736d96fc8f779fa31dc6c88f764b}{token}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a2dd361a40bc540e3527433a268fea121}{enable\+Built\+In\+Media\+Encryption}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_af6f67afdd572043933a165853ba236c3}{publish\+Rhythm\+Player\+Track}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_aee0536b68abc8b244ac0e24a744063d7}{is\+Interactive\+Audience}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ video\+\_\+track\+\_\+id\+\_\+t $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a2d1234e226b1f69b231e3dd599e52565}{custom\+Video\+Track\+Id}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_add89122f922f5a3a9075481335829e4f}{is\+Audio\+Filterable}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ const char $\ast$ $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_aaf888d7e31e09aa11578642a444f6899}{parameters}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ bool $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a0afb087e975bf2abca018067d8a967a7}{enable\+Multipath}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ Multipath\+Mode $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_ae2c36a363882c08775befa5524a20972}{uplink\+Multipath\+Mode}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ Multipath\+Mode $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_ad7bf17c0d9f849bcb96731ab6bdca918}{downlink\+Multipath\+Mode}}
\item 
\mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$ Multipath\+Type $>$ \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options_a992ae6feee4461c27c4885b36c4b362c}{prefer\+Multipath\+Type}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The channel media options. 

Agora supports publishing multiple audio streams and one video stream at the same time and in the same {\ttfamily \mbox{\hyperlink{structagora_1_1rtc_1_1_rtc_connection}{Rtc\+Connection}}}. For example, {\ttfamily publish\+Microphone\+Track}, {\ttfamily publish\+Custom\+Audio\+Track}, and {\ttfamily publish\+Media\+Player\+Audio\+Track} can be set as {\ttfamily true} at the same time, but only one of {\ttfamily publish\+Camera\+Track}, {\ttfamily publish\+Screen\+Capture\+Video}, {\ttfamily publish\+Screen\+Track}, {\ttfamily publish\+Custom\+Video\+Track}, or {\ttfamily publish\+Encoded\+Video\+Track} can be set as {\ttfamily true}.

\begin{DoxyNote}{Note}
Agora recommends that you set member parameter values yourself according to your business scenario, otherwise the S\+DK will automatically assign values to member parameters. 
\end{DoxyNote}


\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a739bb30f5fbfc8bb582041b980b5652d}\label{structagora_1_1rtc_1_1_channel_media_options_a739bb30f5fbfc8bb582041b980b5652d}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishCameraTrack@{publishCameraTrack}}
\index{publishCameraTrack@{publishCameraTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishCameraTrack}{publishCameraTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Camera\+Track}

Whether to publish the video captured by the camera\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the video captured by the camera.
\item {\ttfamily false}\+: Do not publish the video captured by the camera. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_af0b1a8114bfe4ab29233679758effceb}\label{structagora_1_1rtc_1_1_channel_media_options_af0b1a8114bfe4ab29233679758effceb}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishSecondaryCameraTrack@{publishSecondaryCameraTrack}}
\index{publishSecondaryCameraTrack@{publishSecondaryCameraTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishSecondaryCameraTrack}{publishSecondaryCameraTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Secondary\+Camera\+Track}

Whether to publish the video captured by the second camera\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the video captured by the second camera.
\item {\ttfamily false}\+: Do not publish the video captured by the second camera. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_aed0db4c66a44389b0433e1018e251adb}\label{structagora_1_1rtc_1_1_channel_media_options_aed0db4c66a44389b0433e1018e251adb}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishThirdCameraTrack@{publishThirdCameraTrack}}
\index{publishThirdCameraTrack@{publishThirdCameraTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishThirdCameraTrack}{publishThirdCameraTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Third\+Camera\+Track}

Whether to publish the video captured by the third camera\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the video captured by the third camera.
\item {\ttfamily false}\+: Do not publish the video captured by the third camera. \begin{DoxyNote}{Note}
This parameter is for Android, Windows and mac\+OS only. 
\end{DoxyNote}

\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a8b9bbf3f32d25b22d2cb1b5603a00a54}\label{structagora_1_1rtc_1_1_channel_media_options_a8b9bbf3f32d25b22d2cb1b5603a00a54}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishFourthCameraTrack@{publishFourthCameraTrack}}
\index{publishFourthCameraTrack@{publishFourthCameraTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishFourthCameraTrack}{publishFourthCameraTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Fourth\+Camera\+Track}

Whether to publish the video captured by the fourth camera\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the video captured by the fourth camera.
\item {\ttfamily false}\+: Do not publish the video captured by the fourth camera. \begin{DoxyNote}{Note}
This parameter is for Android, Windows and mac\+OS only. 
\end{DoxyNote}

\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a8f3461c6f6a879cb9290e96aa79bccde}\label{structagora_1_1rtc_1_1_channel_media_options_a8f3461c6f6a879cb9290e96aa79bccde}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishMicrophoneTrack@{publishMicrophoneTrack}}
\index{publishMicrophoneTrack@{publishMicrophoneTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishMicrophoneTrack}{publishMicrophoneTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Microphone\+Track}

Whether to publish the audio captured by the microphone\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the audio captured by the microphone.
\item {\ttfamily false}\+: Do not publish the audio captured by the microphone. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a824b2959cc6d9dc8f6175d6fc18db8cf}\label{structagora_1_1rtc_1_1_channel_media_options_a824b2959cc6d9dc8f6175d6fc18db8cf}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishScreenTrack@{publishScreenTrack}}
\index{publishScreenTrack@{publishScreenTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishScreenTrack}{publishScreenTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Screen\+Track}

Whether to publish the video captured from the screen\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the video captured from the screen.
\item {\ttfamily false}\+: Do not publish the video captured from the screen. \begin{DoxyNote}{Note}
This is for Windows and mac\+OS only. 
\end{DoxyNote}

\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a41cd750b3830d4172348b2ac50bc5ebf}\label{structagora_1_1rtc_1_1_channel_media_options_a41cd750b3830d4172348b2ac50bc5ebf}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishSecondaryScreenTrack@{publishSecondaryScreenTrack}}
\index{publishSecondaryScreenTrack@{publishSecondaryScreenTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishSecondaryScreenTrack}{publishSecondaryScreenTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Secondary\+Screen\+Track}

Whether to publish the video captured from the second screen\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the video captured from the second screen.
\item {\ttfamily false}\+: Do not publish the video captured from the second screen. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a028322bdf1f1094bbbffc72ab8aed5f5}\label{structagora_1_1rtc_1_1_channel_media_options_a028322bdf1f1094bbbffc72ab8aed5f5}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishThirdScreenTrack@{publishThirdScreenTrack}}
\index{publishThirdScreenTrack@{publishThirdScreenTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishThirdScreenTrack}{publishThirdScreenTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Third\+Screen\+Track}

Whether to publish the video captured from the third screen\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the captured video from the third screen.
\item {\ttfamily false}\+: Do not publish the video captured from the third screen. \begin{DoxyNote}{Note}
This is for Windows and mac\+OS only. 
\end{DoxyNote}

\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a96bff3bc07959bc86cbe3c3a833ce94d}\label{structagora_1_1rtc_1_1_channel_media_options_a96bff3bc07959bc86cbe3c3a833ce94d}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishFourthScreenTrack@{publishFourthScreenTrack}}
\index{publishFourthScreenTrack@{publishFourthScreenTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishFourthScreenTrack}{publishFourthScreenTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Fourth\+Screen\+Track}

Whether to publish the video captured from the fourth screen\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the captured video from the fourth screen.
\item {\ttfamily false}\+: Do not publish the video captured from the fourth screen. \begin{DoxyNote}{Note}
This is for Windows and mac\+OS only. 
\end{DoxyNote}

\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_aad23e5b7f4f38a6b3b402a8fdc53ee78}\label{structagora_1_1rtc_1_1_channel_media_options_aad23e5b7f4f38a6b3b402a8fdc53ee78}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishCustomAudioTrack@{publishCustomAudioTrack}}
\index{publishCustomAudioTrack@{publishCustomAudioTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishCustomAudioTrack}{publishCustomAudioTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Custom\+Audio\+Track}

Whether to publish the audio captured from a custom source\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the audio captured from the custom source.
\item {\ttfamily false}\+: Do not publish the captured audio from a custom source. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a30f3e477c8977172bd4234875a1270a0}\label{structagora_1_1rtc_1_1_channel_media_options_a30f3e477c8977172bd4234875a1270a0}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishCustomAudioTrackId@{publishCustomAudioTrackId}}
\index{publishCustomAudioTrackId@{publishCustomAudioTrackId}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishCustomAudioTrackId}{publishCustomAudioTrackId}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$int$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Custom\+Audio\+Track\+Id}

The ID of the custom audio track to be published. The default value is 0. You can obtain the custom audio track ID through the {\ttfamily create\+Custom\+Audio\+Track} method. \mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a17ddf4b26323372e67aa5b23abfd4f4e}\label{structagora_1_1rtc_1_1_channel_media_options_a17ddf4b26323372e67aa5b23abfd4f4e}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishCustomVideoTrack@{publishCustomVideoTrack}}
\index{publishCustomVideoTrack@{publishCustomVideoTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishCustomVideoTrack}{publishCustomVideoTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Custom\+Video\+Track}

Whether to publish the video captured from a custom source\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the video captured from the custom source.
\item {\ttfamily false}\+: Do not publish the captured video from a custom source. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_ac6bb8589385e816419af7e6538120c32}\label{structagora_1_1rtc_1_1_channel_media_options_ac6bb8589385e816419af7e6538120c32}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishEncodedVideoTrack@{publishEncodedVideoTrack}}
\index{publishEncodedVideoTrack@{publishEncodedVideoTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishEncodedVideoTrack}{publishEncodedVideoTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Encoded\+Video\+Track}

Whether to publish the encoded video\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the encoded video.
\item {\ttfamily false}\+: Do not publish the encoded video. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_af2d7e508c7e9a5b457e80d0073018a52}\label{structagora_1_1rtc_1_1_channel_media_options_af2d7e508c7e9a5b457e80d0073018a52}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishMediaPlayerAudioTrack@{publishMediaPlayerAudioTrack}}
\index{publishMediaPlayerAudioTrack@{publishMediaPlayerAudioTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishMediaPlayerAudioTrack}{publishMediaPlayerAudioTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Media\+Player\+Audio\+Track}

Whether to publish the audio from the media player\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the audio from the media player.
\item {\ttfamily false}\+: Do not publish the audio from the media player. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_ad59ff2d767d767a53b2aed59a9023548}\label{structagora_1_1rtc_1_1_channel_media_options_ad59ff2d767d767a53b2aed59a9023548}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishMediaPlayerVideoTrack@{publishMediaPlayerVideoTrack}}
\index{publishMediaPlayerVideoTrack@{publishMediaPlayerVideoTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishMediaPlayerVideoTrack}{publishMediaPlayerVideoTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Media\+Player\+Video\+Track}

Whether to publish the video from the media player\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the video from the media player.
\item {\ttfamily false}\+: Do not publish the video from the media player. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a62e100daa86ada187b9471be5f0229b6}\label{structagora_1_1rtc_1_1_channel_media_options_a62e100daa86ada187b9471be5f0229b6}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishTranscodedVideoTrack@{publishTranscodedVideoTrack}}
\index{publishTranscodedVideoTrack@{publishTranscodedVideoTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishTranscodedVideoTrack}{publishTranscodedVideoTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Transcoded\+Video\+Track}

Whether to publish the local transcoded video\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the local transcoded video.
\item {\ttfamily false}\+: Do not publish the local transcoded video. \begin{DoxyNote}{Note}
As of v4.\+2.\+0, the parameter name is corrected from {\ttfamily publish\+Trancoded\+Video\+Track} to {\ttfamily publish\+Transcoded\+Video\+Track}. 
\end{DoxyNote}

\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_aab97623a269cfd118ccbb60df0dc2bfd}\label{structagora_1_1rtc_1_1_channel_media_options_aab97623a269cfd118ccbb60df0dc2bfd}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishMixedAudioTrack@{publishMixedAudioTrack}}
\index{publishMixedAudioTrack@{publishMixedAudioTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishMixedAudioTrack}{publishMixedAudioTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Mixed\+Audio\+Track}

Whether to publish the mixed audio track\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the mixed audio track.
\item {\ttfamily false}\+: Do not publish the mixed audio track. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_ac1ad88e2dbccdeee42cd7468f7209e7e}\label{structagora_1_1rtc_1_1_channel_media_options_ac1ad88e2dbccdeee42cd7468f7209e7e}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishLipSyncTrack@{publishLipSyncTrack}}
\index{publishLipSyncTrack@{publishLipSyncTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishLipSyncTrack}{publishLipSyncTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Lip\+Sync\+Track}

Whether to publish the video track processed by the speech driven extension\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the video track processed by the speech driven extension.
\item {\ttfamily false}\+: (Default) Do not publish the video track processed by the speech driven extension. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_af3cf29ddcbba27b5e8974aec5b2b7ea7}\label{structagora_1_1rtc_1_1_channel_media_options_af3cf29ddcbba27b5e8974aec5b2b7ea7}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!autoSubscribeAudio@{autoSubscribeAudio}}
\index{autoSubscribeAudio@{autoSubscribeAudio}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{autoSubscribeAudio}{autoSubscribeAudio}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::auto\+Subscribe\+Audio}

Whether to automatically subscribe to all remote audio streams when the user joins a channel\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Subscribe to all remote audio streams.
\item {\ttfamily false}\+: Do not automatically subscribe to any remote audio streams. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_aac3f87bfced921601e24c32a061a12b4}\label{structagora_1_1rtc_1_1_channel_media_options_aac3f87bfced921601e24c32a061a12b4}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!autoSubscribeVideo@{autoSubscribeVideo}}
\index{autoSubscribeVideo@{autoSubscribeVideo}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{autoSubscribeVideo}{autoSubscribeVideo}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::auto\+Subscribe\+Video}

Whether to automatically subscribe to all remote video streams when the user joins the channel\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Subscribe to all remote video streams.
\item {\ttfamily false}\+: Do not automatically subscribe to any remote video streams. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a8cf89330e53c21c424a850f9066e3102}\label{structagora_1_1rtc_1_1_channel_media_options_a8cf89330e53c21c424a850f9066e3102}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!enableAudioRecordingOrPlayout@{enableAudioRecordingOrPlayout}}
\index{enableAudioRecordingOrPlayout@{enableAudioRecordingOrPlayout}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{enableAudioRecordingOrPlayout}{enableAudioRecordingOrPlayout}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::enable\+Audio\+Recording\+Or\+Playout}

Whether to enable audio capturing or playback\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Enable audio capturing or playback.
\item {\ttfamily false}\+: Do not enable audio capturing or playback. \begin{DoxyNote}{Note}
If you need to publish the audio streams captured by your microphone, ensure this parameter is set as {\ttfamily true}. 
\end{DoxyNote}

\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a58a0fab66856479d5764628ec7143578}\label{structagora_1_1rtc_1_1_channel_media_options_a58a0fab66856479d5764628ec7143578}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishMediaPlayerId@{publishMediaPlayerId}}
\index{publishMediaPlayerId@{publishMediaPlayerId}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishMediaPlayerId}{publishMediaPlayerId}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$int$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Media\+Player\+Id}

The ID of the media player to be published. The default value is 0. \mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_aafe6376ad865a27212265b660d12ce2e}\label{structagora_1_1rtc_1_1_channel_media_options_aafe6376ad865a27212265b660d12ce2e}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!clientRoleType@{clientRoleType}}
\index{clientRoleType@{clientRoleType}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{clientRoleType}{clientRoleType}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$C\+L\+I\+E\+N\+T\+\_\+\+R\+O\+L\+E\+\_\+\+T\+Y\+PE$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::client\+Role\+Type}

The user role. See {\ttfamily C\+L\+I\+E\+N\+T\+\_\+\+R\+O\+L\+E\+\_\+\+T\+Y\+PE}. \begin{DoxyNote}{Note}
If you set the user role as an audience member, you cannot publish audio and video streams in the channel. If you want to publish media streams in a channel during live streaming, ensure you set the user role as broadcaster. 
\end{DoxyNote}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_ace64ffee7b39b200706c0af556015d18}\label{structagora_1_1rtc_1_1_channel_media_options_ace64ffee7b39b200706c0af556015d18}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!audienceLatencyLevel@{audienceLatencyLevel}}
\index{audienceLatencyLevel@{audienceLatencyLevel}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{audienceLatencyLevel}{audienceLatencyLevel}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$A\+U\+D\+I\+E\+N\+C\+E\+\_\+\+L\+A\+T\+E\+N\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+T\+Y\+PE$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::audience\+Latency\+Level}

The latency level of an audience member in interactive live streaming. See {\ttfamily A\+U\+D\+I\+E\+N\+C\+E\+\_\+\+L\+A\+T\+E\+N\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+T\+Y\+PE}. \mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_ac5e2aca49fa402e2726de9891a3034b5}\label{structagora_1_1rtc_1_1_channel_media_options_ac5e2aca49fa402e2726de9891a3034b5}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!defaultVideoStreamType@{defaultVideoStreamType}}
\index{defaultVideoStreamType@{defaultVideoStreamType}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{defaultVideoStreamType}{defaultVideoStreamType}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+T\+Y\+PE$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::default\+Video\+Stream\+Type}

The default video-\/stream type. See {\ttfamily V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+T\+Y\+PE}. \mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a79e7843c8c5e1dc0e2a1515b45a78893}\label{structagora_1_1rtc_1_1_channel_media_options_a79e7843c8c5e1dc0e2a1515b45a78893}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!channelProfile@{channelProfile}}
\index{channelProfile@{channelProfile}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{channelProfile}{channelProfile}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$C\+H\+A\+N\+N\+E\+L\+\_\+\+P\+R\+O\+F\+I\+L\+E\+\_\+\+T\+Y\+PE$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::channel\+Profile}

The channel profile. See {\ttfamily C\+H\+A\+N\+N\+E\+L\+\_\+\+P\+R\+O\+F\+I\+L\+E\+\_\+\+T\+Y\+PE}. \mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a042b6cfec6350106f7ad7c5c89a5bc47}\label{structagora_1_1rtc_1_1_channel_media_options_a042b6cfec6350106f7ad7c5c89a5bc47}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!audioDelayMs@{audioDelayMs}}
\index{audioDelayMs@{audioDelayMs}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{audioDelayMs}{audioDelayMs}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$int$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::audio\+Delay\+Ms}

Delay (in milliseconds) for sending audio frames. You can use this parameter to set the delay of the audio frames that need to be sent, to ensure audio and video synchronization. To switch off the delay, set the value to 0. \mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a4cba8901b97aeb888eb2430cdf88cdaa}\label{structagora_1_1rtc_1_1_channel_media_options_a4cba8901b97aeb888eb2430cdf88cdaa}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!mediaPlayerAudioDelayMs@{mediaPlayerAudioDelayMs}}
\index{mediaPlayerAudioDelayMs@{mediaPlayerAudioDelayMs}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{mediaPlayerAudioDelayMs}{mediaPlayerAudioDelayMs}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$int$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::media\+Player\+Audio\+Delay\+Ms}

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. \mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a444f736d96fc8f779fa31dc6c88f764b}\label{structagora_1_1rtc_1_1_channel_media_options_a444f736d96fc8f779fa31dc6c88f764b}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!token@{token}}
\index{token@{token}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{token}{token}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$const char$\ast$$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::token}

(\mbox{\hyperlink{classagora_1_1_optional}{Optional}}) The token generated on your server for authentication. See . \begin{DoxyNote}{Note}

\begin{DoxyItemize}
\item This parameter takes effect only when calling {\ttfamily update\+Channel\+Media\+Options} or {\ttfamily update\+Channel\+Media\+Options\+Ex}.
\item Ensure that the App ID, channel name, and user name used for creating the token are the same as those used by the {\ttfamily initialize} method for initializing the R\+TC engine, and those used by the {\ttfamily join\+Channel(const char$\ast$ token, const char$\ast$ channel\+Id, uid\+\_\+t uid, const \mbox{\hyperlink{structagora_1_1rtc_1_1_channel_media_options}{Channel\+Media\+Options}}\& options)} and {\ttfamily join\+Channel\+Ex} methods for joining the channel. 
\end{DoxyItemize}
\end{DoxyNote}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a2dd361a40bc540e3527433a268fea121}\label{structagora_1_1rtc_1_1_channel_media_options_a2dd361a40bc540e3527433a268fea121}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!enableBuiltInMediaEncryption@{enableBuiltInMediaEncryption}}
\index{enableBuiltInMediaEncryption@{enableBuiltInMediaEncryption}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{enableBuiltInMediaEncryption}{enableBuiltInMediaEncryption}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::enable\+Built\+In\+Media\+Encryption}

Whether to enable media packet encryption\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Yes.
\item {\ttfamily false}\+: (Default) No.
\end{DoxyItemize}

\begin{DoxyNote}{Note}
This parameter is ignored when calling {\ttfamily update\+Channel\+Media\+Options}. 
\end{DoxyNote}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_af6f67afdd572043933a165853ba236c3}\label{structagora_1_1rtc_1_1_channel_media_options_af6f67afdd572043933a165853ba236c3}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!publishRhythmPlayerTrack@{publishRhythmPlayerTrack}}
\index{publishRhythmPlayerTrack@{publishRhythmPlayerTrack}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishRhythmPlayerTrack}{publishRhythmPlayerTrack}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::publish\+Rhythm\+Player\+Track}

Whether to publish the sound of a metronome to remote users\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish processed audio frames. Both the local user and remote users can hear the metronome.
\item {\ttfamily false}\+: Do not publish the sound of the metronome. Only the local user can hear the metronome. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_aee0536b68abc8b244ac0e24a744063d7}\label{structagora_1_1rtc_1_1_channel_media_options_aee0536b68abc8b244ac0e24a744063d7}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!isInteractiveAudience@{isInteractiveAudience}}
\index{isInteractiveAudience@{isInteractiveAudience}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{isInteractiveAudience}{isInteractiveAudience}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::is\+Interactive\+Audience}

Whether to enable interactive mode\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Enable interactive mode. Once this mode is enabled and the user role is set as audience, the user can receive remote video streams with low latency.
\item {\ttfamily false}\+:Do not enable interactive mode. If this mode is disabled, the user receives the remote video streams in default settings. \begin{DoxyNote}{Note}

\end{DoxyNote}

\item This parameter only applies to co-\/streaming scenarios. The cohosts need to call the {\ttfamily join\+Channel\+Ex} method to join the other host\textquotesingle{}s channel as an audience member, and set {\ttfamily is\+Interactive\+Audience} to {\ttfamily true}.
\item This parameter takes effect only when the user role is {\ttfamily C\+L\+I\+E\+N\+T\+\_\+\+R\+O\+L\+E\+\_\+\+A\+U\+D\+I\+E\+N\+CE}. 
\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a2d1234e226b1f69b231e3dd599e52565}\label{structagora_1_1rtc_1_1_channel_media_options_a2d1234e226b1f69b231e3dd599e52565}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!customVideoTrackId@{customVideoTrackId}}
\index{customVideoTrackId@{customVideoTrackId}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{customVideoTrackId}{customVideoTrackId}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$video\+\_\+track\+\_\+id\+\_\+t$>$ agora\+::rtc\+::\+Channel\+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. \mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_add89122f922f5a3a9075481335829e4f}\label{structagora_1_1rtc_1_1_channel_media_options_add89122f922f5a3a9075481335829e4f}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!isAudioFilterable@{isAudioFilterable}}
\index{isAudioFilterable@{isAudioFilterable}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{isAudioFilterable}{isAudioFilterable}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::is\+Audio\+Filterable}

Whether the audio stream being published is filtered according to the volume algorithm\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: The audio stream is filtered. If the audio stream filter is not enabled, this setting does not takes effect.
\item {\ttfamily false}\+: The audio stream is not filtered. \begin{DoxyNote}{Note}
If you need to enable this function, contact {\ttfamily support@agora.\+io}. 
\end{DoxyNote}

\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_aaf888d7e31e09aa11578642a444f6899}\label{structagora_1_1rtc_1_1_channel_media_options_aaf888d7e31e09aa11578642a444f6899}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!parameters@{parameters}}
\index{parameters@{parameters}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{parameters}{parameters}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$const char$\ast$$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::parameters}

Provides the technical preview functionalities or special customizations by configuring the S\+DK with J\+S\+ON options. Pointer to the set parameters in a J\+S\+ON string. @technical preview \mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a0afb087e975bf2abca018067d8a967a7}\label{structagora_1_1rtc_1_1_channel_media_options_a0afb087e975bf2abca018067d8a967a7}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!enableMultipath@{enableMultipath}}
\index{enableMultipath@{enableMultipath}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{enableMultipath}{enableMultipath}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$bool$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::enable\+Multipath}

Whether to enable multiple transmisssion paths\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Enable multiple transmisssion path.
\item {\ttfamily false}\+: Dsiable multiple transmisssion path. \begin{DoxyNote}{Note}
Permissions and system requirements\+: Android\+: Android 7.\+0 or higher (A\+PI level 24 or higher), and the A\+C\+C\+E\+S\+S\+\_\+\+N\+E\+T\+W\+O\+R\+K\+\_\+\+S\+T\+A\+TE and C\+H\+A\+N\+G\+E\+\_\+\+N\+E\+T\+W\+O\+R\+K\+\_\+\+S\+T\+A\+TE permissions are required. i\+OS\+: i\+OS 12.\+0 or later. mac\+OS\+: 10.\+14 or later. Windows\+: Windows Vista or higher. 
\end{DoxyNote}
\begin{DoxySince}{Since}
4.\+6.\+0 
\end{DoxySince}

\end{DoxyItemize}\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_ae2c36a363882c08775befa5524a20972}\label{structagora_1_1rtc_1_1_channel_media_options_ae2c36a363882c08775befa5524a20972}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!uplinkMultipathMode@{uplinkMultipathMode}}
\index{uplinkMultipathMode@{uplinkMultipathMode}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{uplinkMultipathMode}{uplinkMultipathMode}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$Multipath\+Mode$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::uplink\+Multipath\+Mode}

Uplink transmission mode. See {\ttfamily Multipath\+Mode}. \begin{DoxyNote}{Note}
When using this parameter, make sure that {\ttfamily enable\+Multipath} is set to {\ttfamily true}. 
\end{DoxyNote}
\begin{DoxySince}{Since}
4.\+6.\+0 
\end{DoxySince}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_ad7bf17c0d9f849bcb96731ab6bdca918}\label{structagora_1_1rtc_1_1_channel_media_options_ad7bf17c0d9f849bcb96731ab6bdca918}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!downlinkMultipathMode@{downlinkMultipathMode}}
\index{downlinkMultipathMode@{downlinkMultipathMode}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{downlinkMultipathMode}{downlinkMultipathMode}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$Multipath\+Mode$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::downlink\+Multipath\+Mode}

Downlink transmission mode. See {\ttfamily Multipath\+Mode}. \begin{DoxyNote}{Note}
When using this parameter, make sure that {\ttfamily enable\+Multipath} is set to {\ttfamily true}. 
\end{DoxyNote}
\begin{DoxySince}{Since}
4.\+6.\+0 
\end{DoxySince}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_channel_media_options_a992ae6feee4461c27c4885b36c4b362c}\label{structagora_1_1rtc_1_1_channel_media_options_a992ae6feee4461c27c4885b36c4b362c}} 
\index{agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}!preferMultipathType@{preferMultipathType}}
\index{preferMultipathType@{preferMultipathType}!agora::rtc::ChannelMediaOptions@{agora::rtc::ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{preferMultipathType}{preferMultipathType}}
{\footnotesize\ttfamily \mbox{\hyperlink{classagora_1_1_optional}{Optional}}$<$Multipath\+Type$>$ agora\+::rtc\+::\+Channel\+Media\+Options\+::prefer\+Multipath\+Type}

Preferred type of transmission path. See {\ttfamily Multipath\+Type}. \begin{DoxyNote}{Note}
When using this parameter, make sure that {\ttfamily enable\+Multipath} is set to {\ttfamily true}. 
\end{DoxyNote}
\begin{DoxySince}{Since}
4.\+6.\+0 
\end{DoxySince}
