\hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options}{}\doxysection{io.\+agora.\+rtc2.\+Channel\+Media\+Options Class Reference}
\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options}\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}


The channel media options.  


\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a2c4745c91660ceedc9ea69bdb5701ffc}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a2c4745c91660ceedc9ea69bdb5701ffc}} 
{\bfseries Channel\+Media\+Options} (Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a5b6b1d3c8c8d80ba6b7b1acd2fefe41d}{client\+Role\+Type}})
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_abd742530ba1d4a90deb1e6ba7373f3d0}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_abd742530ba1d4a90deb1e6ba7373f3d0}} 
Boolean {\bfseries is\+Publish\+Camera\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a1c8eaf6736d63ec1a25922ba6a5a03c8}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a1c8eaf6736d63ec1a25922ba6a5a03c8}} 
Boolean {\bfseries is\+Publish\+Secondary\+Camera\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a8e9f253487dc0200cb6b9063685e4d02}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a8e9f253487dc0200cb6b9063685e4d02}} 
Boolean {\bfseries is\+Publish\+Third\+Camera\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ae705da66a315d5c8989d52f9d387d510}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ae705da66a315d5c8989d52f9d387d510}} 
Boolean {\bfseries is\+Publish\+Fourth\+Camera\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a31d2e33d1fffb7c12d9000cd30ccf14d}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a31d2e33d1fffb7c12d9000cd30ccf14d}} 
Boolean {\bfseries is\+Publish\+Screen\+Capture\+Video} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a99cfab7f3040cf2181a65adf1dad68c8}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a99cfab7f3040cf2181a65adf1dad68c8}} 
Boolean {\bfseries is\+Publish\+Screen\+Capture\+Audio} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a4bf2953879a2fd4a1fd3eceaa15b23fb}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a4bf2953879a2fd4a1fd3eceaa15b23fb}} 
Boolean {\bfseries is\+Publish\+Custom\+Audio\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a7137adfd3dc74ff9d142d46e79932a67}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a7137adfd3dc74ff9d142d46e79932a67}} 
Boolean {\bfseries is\+Publish\+Custom\+Video\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a62f72f002603e5681b31bce9c56ab65d}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a62f72f002603e5681b31bce9c56ab65d}} 
Boolean {\bfseries is\+Publish\+Encoded\+Video\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_add8d131cd6db163b96d1ea3b851019d1}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_add8d131cd6db163b96d1ea3b851019d1}} 
Boolean {\bfseries is\+Publish\+Media\+Player\+Audio\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a54a649df7572f98ba30bc2be0325a441}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a54a649df7572f98ba30bc2be0325a441}} 
Boolean {\bfseries is\+Publish\+Media\+Player\+Video\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ac77c35ef7cc164de97e6cf20976237ed}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ac77c35ef7cc164de97e6cf20976237ed}} 
Boolean {\bfseries is\+Publish\+Transcoded\+Video\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a75b00eb54e998b6d649fd06e91cd15e2}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a75b00eb54e998b6d649fd06e91cd15e2}} 
Boolean {\bfseries is\+Publish\+Mixed\+Audio\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9f04c08fda4a748c5b8a271eefcca76e}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9f04c08fda4a748c5b8a271eefcca76e}} 
Boolean {\bfseries is\+Publish\+Lip\+Sync\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_adffcaf5dbcc01ac47b72b676cde07f42}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_adffcaf5dbcc01ac47b72b676cde07f42}} 
Integer {\bfseries get\+Publish\+Media\+Player\+Id} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a62890b6bca5ac25e1dbca97ca43392bd}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a62890b6bca5ac25e1dbca97ca43392bd}} 
Boolean {\bfseries is\+Publish\+Microphone\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ac7e8ff819492ec4f969764a543a8c5dc}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ac7e8ff819492ec4f969764a543a8c5dc}} 
Boolean {\bfseries is\+Auto\+Subscribe\+Audio} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a7313d6af89305f5fde816f249c641486}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a7313d6af89305f5fde816f249c641486}} 
Boolean {\bfseries is\+Auto\+Subscribe\+Video} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a4aab9a09d38b4fb7146b14aa727de58b}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a4aab9a09d38b4fb7146b14aa727de58b}} 
Boolean {\bfseries is\+Start\+Preview} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a217ce35d0cba721c2f0713d94d39482e}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a217ce35d0cba721c2f0713d94d39482e}} 
Boolean {\bfseries is\+Enable\+Audio\+Recording\+Or\+Playout} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a1fba118b32b18fceb81486fbf0ff8cc3}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a1fba118b32b18fceb81486fbf0ff8cc3}} 
Integer {\bfseries get\+Client\+Role\+Type} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aaac9b529e5f8d4ff38af9fa1a8034c72}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aaac9b529e5f8d4ff38af9fa1a8034c72}} 
Integer {\bfseries get\+Audience\+Latency\+Level} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a456c4352ec9a75a0d055d6cfc2f0761d}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a456c4352ec9a75a0d055d6cfc2f0761d}} 
Integer {\bfseries get\+Default\+Video\+Stream\+Type} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_afd30dbda2fe50a01c0e27301059a9ca3}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_afd30dbda2fe50a01c0e27301059a9ca3}} 
Integer {\bfseries get\+Channel\+Profile} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a3f6a38b8bab2a234e65bf81375d8497e}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a3f6a38b8bab2a234e65bf81375d8497e}} 
Integer {\bfseries get\+Audio\+Delay\+Ms} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a60776cd12ebffb31418495f6a6cbc56d}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a60776cd12ebffb31418495f6a6cbc56d}} 
Integer {\bfseries get\+Media\+Player\+Audio\+Delay\+Ms} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aeee641154e0d19d645752a76f05096c8}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aeee641154e0d19d645752a76f05096c8}} 
String {\bfseries get\+Token} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ae852d53041545126da0505499048ee96}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ae852d53041545126da0505499048ee96}} 
Boolean {\bfseries is\+Enable\+Built\+In\+Media\+Encryption} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a0a04f96ecd2c866a53f2482e13fdb923}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a0a04f96ecd2c866a53f2482e13fdb923}} 
Boolean {\bfseries get\+Publish\+Rhythm\+Player\+Track} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9882dcdcfdf2397f174bfba3c0304bdf}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9882dcdcfdf2397f174bfba3c0304bdf}} 
Boolean {\bfseries get\+Is\+Audio\+Filterable} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_af9ab3cad295cc66a585a8fdfa942f34a}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_af9ab3cad295cc66a585a8fdfa942f34a}} 
Integer {\bfseries get\+Publish\+Custom\+Audio\+Track\+Id} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ac3171a91f8e7c622f82a13aa2b375114}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ac3171a91f8e7c622f82a13aa2b375114}} 
Integer {\bfseries get\+Custom\+Video\+Track\+Id} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a4727b8abbf3ad73bf784858495719ec1}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a4727b8abbf3ad73bf784858495719ec1}} 
Boolean {\bfseries is\+Interactive\+Audience} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a060ec842f00199250336b4de75abb9ba}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a060ec842f00199250336b4de75abb9ba}} 
String {\bfseries get\+Parameters} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aa0b93387c226fd6b3dc387627bcce3a9}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aa0b93387c226fd6b3dc387627bcce3a9}} 
Boolean {\bfseries is\+Enable\+Multipath} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a1b584d29b5fe7b3867db6ed49ca55f83}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a1b584d29b5fe7b3867db6ed49ca55f83}} 
Integer {\bfseries get\+Uplink\+Multipath\+Mode} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a6d5807adcf7f860ab9f4f36c204a847b}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a6d5807adcf7f860ab9f4f36c204a847b}} 
Integer {\bfseries get\+Downlink\+Multipath\+Mode} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9123817d1aeaba4fb7d4741817012764}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9123817d1aeaba4fb7d4741817012764}} 
Integer {\bfseries get\+Prefer\+Multipath\+Type} ()
\item 
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a72e37c0edf4aa3c25dfb93c004b93ca4}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a72e37c0edf4aa3c25dfb93c004b93ca4}} 
String {\bfseries to\+String} ()
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a41ff179ff533ddf9617aed1dd62ab93a}{publish\+Camera\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aca680d84e4f614bde513e6a85c75c089}{publish\+Secondary\+Camera\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a0946edc645dfe55b143f94c4f535a8c5}{publish\+Third\+Camera\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a7e25da85cca0d059b7a86cbacff96ba2}{publish\+Fourth\+Camera\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ae19e854a3cd4891e387126b90741cd73}{publish\+Microphone\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a6c7c91e961209625060ade63834061c8}{publish\+Screen\+Capture\+Video}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9e94fd9426ca128974fd1b7982c87e75}{publish\+Screen\+Capture\+Audio}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aeadc7cdcc2c9fcebbf690661fe56bc43}{publish\+Custom\+Audio\+Track}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9d5c608276abd6b60087fe39edf74b65}{publish\+Custom\+Audio\+Track\+Id}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ab88f4b7deefc2c73b11e0b67abcab188}{publish\+Custom\+Video\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_af3dbd889ad0515d74e7d1ec4438b6992}{publish\+Encoded\+Video\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aa23b4c721ec5470bb9a33f45bfe8c78b}{publish\+Media\+Player\+Audio\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ade53c9e88a7e860d8b936cc1008ae401}{publish\+Media\+Player\+Video\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_afceee28d5b4c28accde23b394a23c4c5}{publish\+Transcoded\+Video\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a48a4edf21005cc2d07e5b44619613246}{publish\+Mixed\+Audio\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a26caf37cdbd06619b04d0e559e60bd74}{publish\+Lip\+Sync\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ab06f4366169f2b680fad768567d250ba}{auto\+Subscribe\+Audio}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a5cab3265bb19a800e5638712844eda98}{auto\+Subscribe\+Video}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a4cd11f72c3731dfe1ab5a69743b5b920}{enable\+Audio\+Recording\+Or\+Playout}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aeeedae144a9e73d56130b7d3c5ec0e1a}{publish\+Media\+Player\+Id}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a5b6b1d3c8c8d80ba6b7b1acd2fefe41d}{client\+Role\+Type}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a78f9d5d60fd7cf5b9dfec88fb52b026e}{audience\+Latency\+Level}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a3aca7de5ebff6fee2a7b3ab870dbec70}{default\+Video\+Stream\+Type}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9266f98f93449e1e2f4d94c95cba22d6}{channel\+Profile}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a6cc7b55b8a4ee2429c576ba3c75732fd}{audio\+Delay\+Ms}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aacbd649aafd23e027ff8126446a5dac4}{media\+Player\+Audio\+Delay\+Ms}}
\item 
String \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a48ac3ca4702523ecaad82c18f2a2924b}{token}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_abce7daef719d5109629a2ed8d530d07d}{enable\+Built\+In\+Media\+Encryption}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ad51ac25f885e7be884c9fe6cb6607853}{publish\+Rhythm\+Player\+Track}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a0d93131a136c4f031aca465f67f4e23b}{is\+Interactive\+Audience}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a5d5a3e62f64fa3be764d17fa8b180490}{custom\+Video\+Track\+Id}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a3f35bbc9331481029f16c92c9791123e}{is\+Audio\+Filterable}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_abdc14936452219a81137a70ae11481f0}{start\+Preview}}
\item 
String \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a748e327ee18af429e344a48d339edbd3}{parameters}}
\item 
Boolean \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a4fc7ef79bbb5cc48c123ad13905991b5}{enable\+Multipath}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ac97d2946777201d3535b4868a683b642}{uplink\+Multipath\+Mode}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_af0df98b58c61f83887b38646b55ce0aa}{downlink\+Multipath\+Mode}}
\item 
Integer \mbox{\hyperlink{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ab4f08c5c8a7df7c077ac5ff673d14704}{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{classio_1_1agora_1_1rtc2_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\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a41ff179ff533ddf9617aed1dd62ab93a}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a41ff179ff533ddf9617aed1dd62ab93a}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishCameraTrack@{publishCameraTrack}}
\index{publishCameraTrack@{publishCameraTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishCameraTrack}{publishCameraTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aca680d84e4f614bde513e6a85c75c089}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aca680d84e4f614bde513e6a85c75c089}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishSecondaryCameraTrack@{publishSecondaryCameraTrack}}
\index{publishSecondaryCameraTrack@{publishSecondaryCameraTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishSecondaryCameraTrack}{publishSecondaryCameraTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+Channel\+Media\+Options.\+publish\+Secondary\+Camera\+Track}

Determines whether to publish the video of the secondary camera track.
\begin{DoxyItemize}
\item true\+: Publish the video track of the secondary camera capturer.
\item false\+: (Default) Do not publish the video track of the secondary camera capturer. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a0946edc645dfe55b143f94c4f535a8c5}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a0946edc645dfe55b143f94c4f535a8c5}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishThirdCameraTrack@{publishThirdCameraTrack}}
\index{publishThirdCameraTrack@{publishThirdCameraTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishThirdCameraTrack}{publishThirdCameraTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a7e25da85cca0d059b7a86cbacff96ba2}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a7e25da85cca0d059b7a86cbacff96ba2}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishFourthCameraTrack@{publishFourthCameraTrack}}
\index{publishFourthCameraTrack@{publishFourthCameraTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishFourthCameraTrack}{publishFourthCameraTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ae19e854a3cd4891e387126b90741cd73}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ae19e854a3cd4891e387126b90741cd73}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishMicrophoneTrack@{publishMicrophoneTrack}}
\index{publishMicrophoneTrack@{publishMicrophoneTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishMicrophoneTrack}{publishMicrophoneTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a6c7c91e961209625060ade63834061c8}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a6c7c91e961209625060ade63834061c8}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishScreenCaptureVideo@{publishScreenCaptureVideo}}
\index{publishScreenCaptureVideo@{publishScreenCaptureVideo}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishScreenCaptureVideo}{publishScreenCaptureVideo}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+Channel\+Media\+Options.\+publish\+Screen\+Capture\+Video}

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}
As of v4.\+0.\+0, the parameter name is changed from {\ttfamily publish\+Screen\+Track} to {\ttfamily publish\+Screen\+Capture\+Video}. 
\end{DoxyNote}

\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9e94fd9426ca128974fd1b7982c87e75}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9e94fd9426ca128974fd1b7982c87e75}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishScreenCaptureAudio@{publishScreenCaptureAudio}}
\index{publishScreenCaptureAudio@{publishScreenCaptureAudio}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishScreenCaptureAudio}{publishScreenCaptureAudio}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+Channel\+Media\+Options.\+publish\+Screen\+Capture\+Audio}

Whether to publish the audio captured from the screen\+:
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the audio captured from the screen.
\item {\ttfamily false}\+: Publish the audio captured from the screen. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aeadc7cdcc2c9fcebbf690661fe56bc43}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aeadc7cdcc2c9fcebbf690661fe56bc43}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishCustomAudioTrack@{publishCustomAudioTrack}}
\index{publishCustomAudioTrack@{publishCustomAudioTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishCustomAudioTrack}{publishCustomAudioTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9d5c608276abd6b60087fe39edf74b65}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9d5c608276abd6b60087fe39edf74b65}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishCustomAudioTrackId@{publishCustomAudioTrackId}}
\index{publishCustomAudioTrackId@{publishCustomAudioTrackId}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishCustomAudioTrackId}{publishCustomAudioTrackId}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ab88f4b7deefc2c73b11e0b67abcab188}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ab88f4b7deefc2c73b11e0b67abcab188}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishCustomVideoTrack@{publishCustomVideoTrack}}
\index{publishCustomVideoTrack@{publishCustomVideoTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishCustomVideoTrack}{publishCustomVideoTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_af3dbd889ad0515d74e7d1ec4438b6992}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_af3dbd889ad0515d74e7d1ec4438b6992}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishEncodedVideoTrack@{publishEncodedVideoTrack}}
\index{publishEncodedVideoTrack@{publishEncodedVideoTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishEncodedVideoTrack}{publishEncodedVideoTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aa23b4c721ec5470bb9a33f45bfe8c78b}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aa23b4c721ec5470bb9a33f45bfe8c78b}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishMediaPlayerAudioTrack@{publishMediaPlayerAudioTrack}}
\index{publishMediaPlayerAudioTrack@{publishMediaPlayerAudioTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishMediaPlayerAudioTrack}{publishMediaPlayerAudioTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ade53c9e88a7e860d8b936cc1008ae401}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ade53c9e88a7e860d8b936cc1008ae401}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishMediaPlayerVideoTrack@{publishMediaPlayerVideoTrack}}
\index{publishMediaPlayerVideoTrack@{publishMediaPlayerVideoTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishMediaPlayerVideoTrack}{publishMediaPlayerVideoTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_afceee28d5b4c28accde23b394a23c4c5}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_afceee28d5b4c28accde23b394a23c4c5}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishTranscodedVideoTrack@{publishTranscodedVideoTrack}}
\index{publishTranscodedVideoTrack@{publishTranscodedVideoTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishTranscodedVideoTrack}{publishTranscodedVideoTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+Channel\+Media\+Options.\+publish\+Transcoded\+Video\+Track}

Whether to publish the local transcoded video track.
\begin{DoxyItemize}
\item {\ttfamily true}\+: Publish the video track of local transcoded video track.
\item {\ttfamily false}\+: (Default) Do not publish the local transcoded video track. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a48a4edf21005cc2d07e5b44619613246}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a48a4edf21005cc2d07e5b44619613246}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishMixedAudioTrack@{publishMixedAudioTrack}}
\index{publishMixedAudioTrack@{publishMixedAudioTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishMixedAudioTrack}{publishMixedAudioTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a26caf37cdbd06619b04d0e559e60bd74}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a26caf37cdbd06619b04d0e559e60bd74}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishLipSyncTrack@{publishLipSyncTrack}}
\index{publishLipSyncTrack@{publishLipSyncTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishLipSyncTrack}{publishLipSyncTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ab06f4366169f2b680fad768567d250ba}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ab06f4366169f2b680fad768567d250ba}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!autoSubscribeAudio@{autoSubscribeAudio}}
\index{autoSubscribeAudio@{autoSubscribeAudio}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{autoSubscribeAudio}{autoSubscribeAudio}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a5cab3265bb19a800e5638712844eda98}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a5cab3265bb19a800e5638712844eda98}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!autoSubscribeVideo@{autoSubscribeVideo}}
\index{autoSubscribeVideo@{autoSubscribeVideo}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{autoSubscribeVideo}{autoSubscribeVideo}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a4cd11f72c3731dfe1ab5a69743b5b920}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a4cd11f72c3731dfe1ab5a69743b5b920}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!enableAudioRecordingOrPlayout@{enableAudioRecordingOrPlayout}}
\index{enableAudioRecordingOrPlayout@{enableAudioRecordingOrPlayout}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{enableAudioRecordingOrPlayout}{enableAudioRecordingOrPlayout}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aeeedae144a9e73d56130b7d3c5ec0e1a}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aeeedae144a9e73d56130b7d3c5ec0e1a}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishMediaPlayerId@{publishMediaPlayerId}}
\index{publishMediaPlayerId@{publishMediaPlayerId}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishMediaPlayerId}{publishMediaPlayerId}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+Channel\+Media\+Options.\+publish\+Media\+Player\+Id}

The ID of the media player to be published. The default value is 0. \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a5b6b1d3c8c8d80ba6b7b1acd2fefe41d}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a5b6b1d3c8c8d80ba6b7b1acd2fefe41d}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!clientRoleType@{clientRoleType}}
\index{clientRoleType@{clientRoleType}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{clientRoleType}{clientRoleType}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+Channel\+Media\+Options.\+client\+Role\+Type}

The user role\+:
\begin{DoxyItemize}
\item C\+L\+I\+E\+N\+T\+\_\+\+R\+O\+L\+E\+\_\+\+B\+R\+O\+A\+D\+C\+A\+S\+T\+ER (1)\+: Host.
\item C\+L\+I\+E\+N\+T\+\_\+\+R\+O\+L\+E\+\_\+\+A\+U\+D\+I\+E\+N\+CE (2)\+: Audience. \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}

\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a78f9d5d60fd7cf5b9dfec88fb52b026e}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a78f9d5d60fd7cf5b9dfec88fb52b026e}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!audienceLatencyLevel@{audienceLatencyLevel}}
\index{audienceLatencyLevel@{audienceLatencyLevel}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{audienceLatencyLevel}{audienceLatencyLevel}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+Channel\+Media\+Options.\+audience\+Latency\+Level}

The latency level of an audience member in interactive live streaming.
\begin{DoxyItemize}
\item A\+U\+D\+I\+E\+N\+C\+E\+\_\+\+L\+A\+T\+E\+N\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+L\+O\+W\+\_\+\+L\+A\+T\+E\+N\+CY (1)\+: Low latency.
\item A\+U\+D\+I\+E\+N\+C\+E\+\_\+\+L\+A\+T\+E\+N\+C\+Y\+\_\+\+L\+E\+V\+E\+L\+\_\+\+U\+L\+T\+R\+A\+\_\+\+L\+O\+W\+\_\+\+L\+A\+T\+E\+N\+CY (2)\+: (Default) Ultra low latency. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a3aca7de5ebff6fee2a7b3ab870dbec70}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a3aca7de5ebff6fee2a7b3ab870dbec70}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!defaultVideoStreamType@{defaultVideoStreamType}}
\index{defaultVideoStreamType@{defaultVideoStreamType}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{defaultVideoStreamType}{defaultVideoStreamType}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+Channel\+Media\+Options.\+default\+Video\+Stream\+Type}

The default video-\/stream type\+:
\begin{DoxyItemize}
\item V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+H\+I\+GH (0)\+: High-\/quality stream, that is, a high-\/resolution and high-\/bitrate video stream.
\item V\+I\+D\+E\+O\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+L\+OW (1)\+: Low-\/quality stream, that is, a low-\/resolution and low-\/bitrate video stream. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9266f98f93449e1e2f4d94c95cba22d6}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a9266f98f93449e1e2f4d94c95cba22d6}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!channelProfile@{channelProfile}}
\index{channelProfile@{channelProfile}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{channelProfile}{channelProfile}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+Channel\+Media\+Options.\+channel\+Profile}

The channel profile.
\begin{DoxyItemize}
\item C\+H\+A\+N\+N\+E\+L\+\_\+\+P\+R\+O\+F\+I\+L\+E\+\_\+\+C\+O\+M\+M\+U\+N\+I\+C\+A\+T\+I\+ON (0)\+: Communication. Agora recommends using the live streaming profile for a better audio and video experience.
\item C\+H\+A\+N\+N\+E\+L\+\_\+\+P\+R\+O\+F\+I\+L\+E\+\_\+\+L\+I\+V\+E\+\_\+\+B\+R\+O\+A\+D\+C\+A\+S\+T\+I\+NG (1)\+: (Default) Live streaming.
\item C\+H\+A\+N\+N\+E\+L\+\_\+\+P\+R\+O\+F\+I\+L\+E\+\_\+\+G\+A\+ME (2)\+: Gaming. Deprecated\+: Use C\+H\+A\+N\+N\+E\+L\+\_\+\+P\+R\+O\+F\+I\+L\+E\+\_\+\+L\+I\+V\+E\+\_\+\+B\+R\+O\+A\+D\+C\+A\+S\+T\+I\+NG instead.
\item C\+H\+A\+N\+N\+E\+L\+\_\+\+P\+R\+O\+F\+I\+L\+E\+\_\+\+C\+L\+O\+U\+D\+\_\+\+G\+A\+M\+I\+NG (3)\+: Interaction. The scenario is optimized for latency. Use this profile if the use case requires frequent interactions between users. Deprecated\+: Use C\+H\+A\+N\+N\+E\+L\+\_\+\+P\+R\+O\+F\+I\+L\+E\+\_\+\+L\+I\+V\+E\+\_\+\+B\+R\+O\+A\+D\+C\+A\+S\+T\+I\+NG instead. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a6cc7b55b8a4ee2429c576ba3c75732fd}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a6cc7b55b8a4ee2429c576ba3c75732fd}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!audioDelayMs@{audioDelayMs}}
\index{audioDelayMs@{audioDelayMs}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{audioDelayMs}{audioDelayMs}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aacbd649aafd23e027ff8126446a5dac4}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_aacbd649aafd23e027ff8126446a5dac4}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!mediaPlayerAudioDelayMs@{mediaPlayerAudioDelayMs}}
\index{mediaPlayerAudioDelayMs@{mediaPlayerAudioDelayMs}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{mediaPlayerAudioDelayMs}{mediaPlayerAudioDelayMs}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a48ac3ca4702523ecaad82c18f2a2924b}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a48ac3ca4702523ecaad82c18f2a2924b}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!token@{token}}
\index{token@{token}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{token}{token}}
{\footnotesize\ttfamily String io.\+agora.\+rtc2.\+Channel\+Media\+Options.\+token}

(Optional) The token generated on your server for authentication. \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 create(\+Rtc\+Engine\+Config config)} method for initializing the R\+TC engine, and those used by the {\ttfamily join\+Channel(\+String token, String channel\+Id, int uid, Channel\+Media\+Options options)} and {\ttfamily join\+Channel\+Ex} methods for joining the channel. 
\end{DoxyItemize}
\end{DoxyNote}
\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_abce7daef719d5109629a2ed8d530d07d}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_abce7daef719d5109629a2ed8d530d07d}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!enableBuiltInMediaEncryption@{enableBuiltInMediaEncryption}}
\index{enableBuiltInMediaEncryption@{enableBuiltInMediaEncryption}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{enableBuiltInMediaEncryption}{enableBuiltInMediaEncryption}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+Channel\+Media\+Options.\+enable\+Built\+In\+Media\+Encryption}

Enable media packet encryption. It will be ignored when calling function update\+Channel\+Media\+Options().
\begin{DoxyItemize}
\item true\+: Enable media packet encryption.
\item false\+: (Default) Do not Enable media packet encryption. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ad51ac25f885e7be884c9fe6cb6607853}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ad51ac25f885e7be884c9fe6cb6607853}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!publishRhythmPlayerTrack@{publishRhythmPlayerTrack}}
\index{publishRhythmPlayerTrack@{publishRhythmPlayerTrack}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{publishRhythmPlayerTrack}{publishRhythmPlayerTrack}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a0d93131a136c4f031aca465f67f4e23b}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a0d93131a136c4f031aca465f67f4e23b}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!isInteractiveAudience@{isInteractiveAudience}}
\index{isInteractiveAudience@{isInteractiveAudience}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{isInteractiveAudience}{isInteractiveAudience}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a5d5a3e62f64fa3be764d17fa8b180490}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a5d5a3e62f64fa3be764d17fa8b180490}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!customVideoTrackId@{customVideoTrackId}}
\index{customVideoTrackId@{customVideoTrackId}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{customVideoTrackId}{customVideoTrackId}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a3f35bbc9331481029f16c92c9791123e}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a3f35bbc9331481029f16c92c9791123e}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!isAudioFilterable@{isAudioFilterable}}
\index{isAudioFilterable@{isAudioFilterable}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{isAudioFilterable}{isAudioFilterable}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_abdc14936452219a81137a70ae11481f0}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_abdc14936452219a81137a70ae11481f0}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!startPreview@{startPreview}}
\index{startPreview@{startPreview}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{startPreview}{startPreview}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+Channel\+Media\+Options.\+start\+Preview}

Determines whether to start preview when join channel if canvas have been set.
\begin{DoxyItemize}
\item true\+: (Default) Start preview when join channel.
\item false\+: Do not start preview. 
\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a748e327ee18af429e344a48d339edbd3}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a748e327ee18af429e344a48d339edbd3}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!parameters@{parameters}}
\index{parameters@{parameters}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{parameters}{parameters}}
{\footnotesize\ttfamily String io.\+agora.\+rtc2.\+Channel\+Media\+Options.\+parameters}

Provides the technical preview functionalities or special customizations by configuring the S\+DK with J\+S\+ON options. @technical preview \mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a4fc7ef79bbb5cc48c123ad13905991b5}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_a4fc7ef79bbb5cc48c123ad13905991b5}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!enableMultipath@{enableMultipath}}
\index{enableMultipath@{enableMultipath}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{enableMultipath}{enableMultipath}}
{\footnotesize\ttfamily Boolean io.\+agora.\+rtc2.\+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. 
\end{DoxyNote}
\begin{DoxySince}{Since}
4.\+6.\+0 
\end{DoxySince}

\end{DoxyItemize}\mbox{\Hypertarget{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ac97d2946777201d3535b4868a683b642}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ac97d2946777201d3535b4868a683b642}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!uplinkMultipathMode@{uplinkMultipathMode}}
\index{uplinkMultipathMode@{uplinkMultipathMode}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{uplinkMultipathMode}{uplinkMultipathMode}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_af0df98b58c61f83887b38646b55ce0aa}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_af0df98b58c61f83887b38646b55ce0aa}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!downlinkMultipathMode@{downlinkMultipathMode}}
\index{downlinkMultipathMode@{downlinkMultipathMode}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{downlinkMultipathMode}{downlinkMultipathMode}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+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{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ab4f08c5c8a7df7c077ac5ff673d14704}\label{classio_1_1agora_1_1rtc2_1_1_channel_media_options_ab4f08c5c8a7df7c077ac5ff673d14704}} 
\index{io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}!preferMultipathType@{preferMultipathType}}
\index{preferMultipathType@{preferMultipathType}!io.agora.rtc2.ChannelMediaOptions@{io.agora.rtc2.ChannelMediaOptions}}
\doxysubsubsection{\texorpdfstring{preferMultipathType}{preferMultipathType}}
{\footnotesize\ttfamily Integer io.\+agora.\+rtc2.\+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}
