\hypertarget{structagora_1_1rtc_1_1_sender_options}{}\doxysection{agora\+::rtc\+::Sender\+Options Struct Reference}
\label{structagora_1_1rtc_1_1_sender_options}\index{agora::rtc::SenderOptions@{agora::rtc::SenderOptions}}


{\ttfamily \#include $<$Agora\+Base.\+h$>$}

\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
T\+Cc\+Mode \mbox{\hyperlink{structagora_1_1rtc_1_1_sender_options_ab74359144eb2ccbcfe8ddec463f433aa}{cc\+Mode}}
\item 
V\+I\+D\+E\+O\+\_\+\+C\+O\+D\+E\+C\+\_\+\+T\+Y\+PE \mbox{\hyperlink{structagora_1_1rtc_1_1_sender_options_a9251cf9e7d8a0b03dbbdc8d57596cb9b}{codec\+Type}}
\item 
int \mbox{\hyperlink{structagora_1_1rtc_1_1_sender_options_ac27280c3ce449e488f98154660337a25}{target\+Bitrate}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The configuration for creating a local video track with an encoded image sender. 

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{structagora_1_1rtc_1_1_sender_options_ab74359144eb2ccbcfe8ddec463f433aa}\label{structagora_1_1rtc_1_1_sender_options_ab74359144eb2ccbcfe8ddec463f433aa}} 
\index{agora::rtc::SenderOptions@{agora::rtc::SenderOptions}!ccMode@{ccMode}}
\index{ccMode@{ccMode}!agora::rtc::SenderOptions@{agora::rtc::SenderOptions}}
\doxysubsubsection{\texorpdfstring{ccMode}{ccMode}}
{\footnotesize\ttfamily T\+Cc\+Mode agora\+::rtc\+::\+Sender\+Options\+::cc\+Mode}

Whether to enable CC mode. See \#\+T\+Cc\+Mode. \mbox{\Hypertarget{structagora_1_1rtc_1_1_sender_options_a9251cf9e7d8a0b03dbbdc8d57596cb9b}\label{structagora_1_1rtc_1_1_sender_options_a9251cf9e7d8a0b03dbbdc8d57596cb9b}} 
\index{agora::rtc::SenderOptions@{agora::rtc::SenderOptions}!codecType@{codecType}}
\index{codecType@{codecType}!agora::rtc::SenderOptions@{agora::rtc::SenderOptions}}
\doxysubsubsection{\texorpdfstring{codecType}{codecType}}
{\footnotesize\ttfamily V\+I\+D\+E\+O\+\_\+\+C\+O\+D\+E\+C\+\_\+\+T\+Y\+PE agora\+::rtc\+::\+Sender\+Options\+::codec\+Type}

The codec type used for the encoded images\+: V\+I\+D\+E\+O\+\_\+\+C\+O\+D\+E\+C\+\_\+\+T\+Y\+PE. \mbox{\Hypertarget{structagora_1_1rtc_1_1_sender_options_ac27280c3ce449e488f98154660337a25}\label{structagora_1_1rtc_1_1_sender_options_ac27280c3ce449e488f98154660337a25}} 
\index{agora::rtc::SenderOptions@{agora::rtc::SenderOptions}!targetBitrate@{targetBitrate}}
\index{targetBitrate@{targetBitrate}!agora::rtc::SenderOptions@{agora::rtc::SenderOptions}}
\doxysubsubsection{\texorpdfstring{targetBitrate}{targetBitrate}}
{\footnotesize\ttfamily int agora\+::rtc\+::\+Sender\+Options\+::target\+Bitrate}

Target bitrate (Kbps) for video encoding.

Choose one of the following options\+:


\begin{DoxyItemize}
\item S\+T\+A\+N\+D\+A\+R\+D\+\_\+\+B\+I\+T\+R\+A\+TE\+: (Recommended) Standard bitrate.
\begin{DoxyItemize}
\item Communication profile\+: The encoding bitrate equals the base bitrate.
\item Live-\/broadcast profile\+: The encoding bitrate is twice the base bitrate.
\end{DoxyItemize}
\item C\+O\+M\+P\+A\+T\+I\+B\+L\+E\+\_\+\+B\+I\+T\+R\+A\+TE\+: Compatible bitrate. The bitrate stays the same regardless of the profile.
\end{DoxyItemize}

The Communication profile prioritizes smoothness, while the Live Broadcast profile prioritizes video quality (requiring a higher bitrate). Agora recommends setting the bitrate mode as S\+T\+A\+N\+D\+A\+R\+D\+\_\+\+B\+I\+T\+R\+A\+TE or simply to address this difference.

The following table lists the recommended video encoder configurations, where the base bitrate applies to the communication profile. Set your bitrate based on this table. If the bitrate you set is beyond the proper range, the S\+DK automatically sets it to within the range.

$\vert$ Resolution $\vert$ Frame Rate (fps) $\vert$ Base Bitrate (Kbps, for Communication) $\vert$ Live Bitrate (Kbps, for Live Broadcast)$\vert$ $\vert$-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/---$\vert$-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/---$\vert$-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/---$\vert$-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/-\/---$\vert$ $\vert$ 160 {$\times$} 120 $\vert$ 15 $\vert$ 65 $\vert$ 130 $\vert$ $\vert$ 120 {$\times$} 120 $\vert$ 15 $\vert$ 50 $\vert$ 100 $\vert$ $\vert$ 320 {$\times$} 180 $\vert$ 15 $\vert$ 140 $\vert$ 280 $\vert$ $\vert$ 180 {$\times$} 180 $\vert$ 15 $\vert$ 100 $\vert$ 200 $\vert$ $\vert$ 240 {$\times$} 180 $\vert$ 15 $\vert$ 120 $\vert$ 240 $\vert$ $\vert$ 320 {$\times$} 240 $\vert$ 15 $\vert$ 200 $\vert$ 400 $\vert$ $\vert$ 240 {$\times$} 240 $\vert$ 15 $\vert$ 140 $\vert$ 280 $\vert$ $\vert$ 424 {$\times$} 240 $\vert$ 15 $\vert$ 220 $\vert$ 440 $\vert$ $\vert$ 640 {$\times$} 360 $\vert$ 15 $\vert$ 400 $\vert$ 800 $\vert$ $\vert$ 360 {$\times$} 360 $\vert$ 15 $\vert$ 260 $\vert$ 520 $\vert$ $\vert$ 640 {$\times$} 360 $\vert$ 30 $\vert$ 600 $\vert$ 1200 $\vert$ $\vert$ 360 {$\times$} 360 $\vert$ 30 $\vert$ 400 $\vert$ 800 $\vert$ $\vert$ 480 {$\times$} 360 $\vert$ 15 $\vert$ 320 $\vert$ 640 $\vert$ $\vert$ 480 {$\times$} 360 $\vert$ 30 $\vert$ 490 $\vert$ 980 $\vert$ $\vert$ 640 {$\times$} 480 $\vert$ 15 $\vert$ 500 $\vert$ 1000 $\vert$ $\vert$ 480 {$\times$} 480 $\vert$ 15 $\vert$ 400 $\vert$ 800 $\vert$ $\vert$ 640 {$\times$} 480 $\vert$ 30 $\vert$ 750 $\vert$ 1500 $\vert$ $\vert$ 480 {$\times$} 480 $\vert$ 30 $\vert$ 600 $\vert$ 1200 $\vert$ $\vert$ 848 {$\times$} 480 $\vert$ 15 $\vert$ 610 $\vert$ 1220 $\vert$ $\vert$ 848 {$\times$} 480 $\vert$ 30 $\vert$ 930 $\vert$ 1860 $\vert$ $\vert$ 640 {$\times$} 480 $\vert$ 10 $\vert$ 400 $\vert$ 800 $\vert$ $\vert$ 1280 {$\times$} 720 $\vert$ 15 $\vert$ 1130 $\vert$ 2260 $\vert$ $\vert$ 1280 {$\times$} 720 $\vert$ 30 $\vert$ 1710 $\vert$ 3420 $\vert$ $\vert$ 960 {$\times$} 720 $\vert$ 15 $\vert$ 910 $\vert$ 1820 $\vert$ $\vert$ 960 {$\times$} 720 $\vert$ 30 $\vert$ 1380 $\vert$ 2760 $\vert$ $\vert$ 1920 {$\times$} 1080 $\vert$ 15 $\vert$ 2080 $\vert$ 4160 $\vert$ $\vert$ 1920 {$\times$} 1080 $\vert$ 30 $\vert$ 3150 $\vert$ 6300 $\vert$ $\vert$ 1920 {$\times$} 1080 $\vert$ 60 $\vert$ 4780 $\vert$ 6500 $\vert$ $\vert$ 2560 {$\times$} 1440 $\vert$ 30 $\vert$ 4850 $\vert$ 6500 $\vert$ $\vert$ 2560 {$\times$} 1440 $\vert$ 60 $\vert$ 6500 $\vert$ 6500 $\vert$ $\vert$ 3840 {$\times$} 2160 $\vert$ 30 $\vert$ 6500 $\vert$ 6500 $\vert$ $\vert$ 3840 {$\times$} 2160 $\vert$ 60 $\vert$ 6500 $\vert$ 6500 $\vert$ 