\hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info}{}\doxysection{agora\+::media\+::base\+::Player\+Stream\+Info Struct Reference}
\label{structagora_1_1media_1_1base_1_1_player_stream_info}\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}


The detailed information of the media stream.  




{\ttfamily \#include $<$Agora\+Media\+Player\+Types.\+h$>$}

\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{structagora_1_1media_1_1base_1_1_player_stream_info_ad7e59fc876ca972b5836624bdbbb4d15}{stream\+Index}}
\item 
M\+E\+D\+I\+A\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+T\+Y\+PE \mbox{\hyperlink{structagora_1_1media_1_1base_1_1_player_stream_info_a2c15e959de49e6d5bdeb84e9887cf5a1}{stream\+Type}}
\item 
char \mbox{\hyperlink{structagora_1_1media_1_1base_1_1_player_stream_info_adaccfea495967cc8bcf4af8fa43ac42d}{codec\+Name}} \mbox{[}k\+Max\+Char\+Buffer\+Length\mbox{]}
\item 
char \mbox{\hyperlink{structagora_1_1media_1_1base_1_1_player_stream_info_ad29462e232270bf76370313b4b8f2057}{language}} \mbox{[}k\+Max\+Char\+Buffer\+Length\mbox{]}
\item 
int \mbox{\hyperlink{structagora_1_1media_1_1base_1_1_player_stream_info_a8beee25c3061e021f31f2b4da60db6f1}{video\+Frame\+Rate}}
\item 
int \mbox{\hyperlink{structagora_1_1media_1_1base_1_1_player_stream_info_a9ca2003e6bf8d27508809aba9cd035ca}{video\+Bit\+Rate}}
\item 
int \mbox{\hyperlink{structagora_1_1media_1_1base_1_1_player_stream_info_a24449a30ac22f2c7b4314112fdc10f11}{video\+Width}}
\item 
int \mbox{\hyperlink{structagora_1_1media_1_1base_1_1_player_stream_info_a1eeedea8ea9439cb55c019eee4f8ea5a}{video\+Height}}
\item 
int \mbox{\hyperlink{structagora_1_1media_1_1base_1_1_player_stream_info_af5c3b906e100bbe4320e4293288c052e}{video\+Rotation}}
\item 
int \mbox{\hyperlink{structagora_1_1media_1_1base_1_1_player_stream_info_ad6efc4ee0b9481ccc5829ccf734912b7}{audio\+Sample\+Rate}}
\item 
int \mbox{\hyperlink{structagora_1_1media_1_1base_1_1_player_stream_info_a034f0e89ab8cd55ac2ad94f2a8e81f38}{audio\+Channels}}
\item 
int \mbox{\hyperlink{structagora_1_1media_1_1base_1_1_player_stream_info_a47e5a2a3a0088cb33a4f35e298adf077}{audio\+Bits\+Per\+Sample}}
\item 
int64\+\_\+t \mbox{\hyperlink{structagora_1_1media_1_1base_1_1_player_stream_info_a36092f8eb0724891bbccf45f2f5ec940}{duration}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
The detailed information of the media stream. 

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info_ad7e59fc876ca972b5836624bdbbb4d15}\label{structagora_1_1media_1_1base_1_1_player_stream_info_ad7e59fc876ca972b5836624bdbbb4d15}} 
\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}!streamIndex@{streamIndex}}
\index{streamIndex@{streamIndex}!agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}
\doxysubsubsection{\texorpdfstring{streamIndex}{streamIndex}}
{\footnotesize\ttfamily int agora\+::media\+::base\+::\+Player\+Stream\+Info\+::stream\+Index}

The index of the media stream. \mbox{\Hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info_a2c15e959de49e6d5bdeb84e9887cf5a1}\label{structagora_1_1media_1_1base_1_1_player_stream_info_a2c15e959de49e6d5bdeb84e9887cf5a1}} 
\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}!streamType@{streamType}}
\index{streamType@{streamType}!agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}
\doxysubsubsection{\texorpdfstring{streamType}{streamType}}
{\footnotesize\ttfamily M\+E\+D\+I\+A\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+T\+Y\+PE agora\+::media\+::base\+::\+Player\+Stream\+Info\+::stream\+Type}

The type of the media stream. See {\ttfamily M\+E\+D\+I\+A\+\_\+\+S\+T\+R\+E\+A\+M\+\_\+\+T\+Y\+PE}. \mbox{\Hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info_adaccfea495967cc8bcf4af8fa43ac42d}\label{structagora_1_1media_1_1base_1_1_player_stream_info_adaccfea495967cc8bcf4af8fa43ac42d}} 
\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}!codecName@{codecName}}
\index{codecName@{codecName}!agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}
\doxysubsubsection{\texorpdfstring{codecName}{codecName}}
{\footnotesize\ttfamily char agora\+::media\+::base\+::\+Player\+Stream\+Info\+::codec\+Name\mbox{[}k\+Max\+Char\+Buffer\+Length\mbox{]}}

The codec of the media stream. \mbox{\Hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info_ad29462e232270bf76370313b4b8f2057}\label{structagora_1_1media_1_1base_1_1_player_stream_info_ad29462e232270bf76370313b4b8f2057}} 
\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}!language@{language}}
\index{language@{language}!agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}
\doxysubsubsection{\texorpdfstring{language}{language}}
{\footnotesize\ttfamily char agora\+::media\+::base\+::\+Player\+Stream\+Info\+::language\mbox{[}k\+Max\+Char\+Buffer\+Length\mbox{]}}

The language of the media stream. \mbox{\Hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info_a8beee25c3061e021f31f2b4da60db6f1}\label{structagora_1_1media_1_1base_1_1_player_stream_info_a8beee25c3061e021f31f2b4da60db6f1}} 
\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}!videoFrameRate@{videoFrameRate}}
\index{videoFrameRate@{videoFrameRate}!agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}
\doxysubsubsection{\texorpdfstring{videoFrameRate}{videoFrameRate}}
{\footnotesize\ttfamily int agora\+::media\+::base\+::\+Player\+Stream\+Info\+::video\+Frame\+Rate}

This parameter only takes effect for video streams, and indicates the video frame rate (fps). \mbox{\Hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info_a9ca2003e6bf8d27508809aba9cd035ca}\label{structagora_1_1media_1_1base_1_1_player_stream_info_a9ca2003e6bf8d27508809aba9cd035ca}} 
\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}!videoBitRate@{videoBitRate}}
\index{videoBitRate@{videoBitRate}!agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}
\doxysubsubsection{\texorpdfstring{videoBitRate}{videoBitRate}}
{\footnotesize\ttfamily int agora\+::media\+::base\+::\+Player\+Stream\+Info\+::video\+Bit\+Rate}

This parameter only takes effect for video streams, and indicates the video bitrate (bps). \mbox{\Hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info_a24449a30ac22f2c7b4314112fdc10f11}\label{structagora_1_1media_1_1base_1_1_player_stream_info_a24449a30ac22f2c7b4314112fdc10f11}} 
\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}!videoWidth@{videoWidth}}
\index{videoWidth@{videoWidth}!agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}
\doxysubsubsection{\texorpdfstring{videoWidth}{videoWidth}}
{\footnotesize\ttfamily int agora\+::media\+::base\+::\+Player\+Stream\+Info\+::video\+Width}

This parameter only takes effect for video streams, and indicates the video width (pixel). \mbox{\Hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info_a1eeedea8ea9439cb55c019eee4f8ea5a}\label{structagora_1_1media_1_1base_1_1_player_stream_info_a1eeedea8ea9439cb55c019eee4f8ea5a}} 
\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}!videoHeight@{videoHeight}}
\index{videoHeight@{videoHeight}!agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}
\doxysubsubsection{\texorpdfstring{videoHeight}{videoHeight}}
{\footnotesize\ttfamily int agora\+::media\+::base\+::\+Player\+Stream\+Info\+::video\+Height}

This parameter only takes effect for video streams, and indicates the video height (pixel). \mbox{\Hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info_af5c3b906e100bbe4320e4293288c052e}\label{structagora_1_1media_1_1base_1_1_player_stream_info_af5c3b906e100bbe4320e4293288c052e}} 
\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}!videoRotation@{videoRotation}}
\index{videoRotation@{videoRotation}!agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}
\doxysubsubsection{\texorpdfstring{videoRotation}{videoRotation}}
{\footnotesize\ttfamily int agora\+::media\+::base\+::\+Player\+Stream\+Info\+::video\+Rotation}

This parameter only takes effect for video streams, and indicates the video rotation angle. \mbox{\Hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info_ad6efc4ee0b9481ccc5829ccf734912b7}\label{structagora_1_1media_1_1base_1_1_player_stream_info_ad6efc4ee0b9481ccc5829ccf734912b7}} 
\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}!audioSampleRate@{audioSampleRate}}
\index{audioSampleRate@{audioSampleRate}!agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}
\doxysubsubsection{\texorpdfstring{audioSampleRate}{audioSampleRate}}
{\footnotesize\ttfamily int agora\+::media\+::base\+::\+Player\+Stream\+Info\+::audio\+Sample\+Rate}

This parameter only takes effect for audio streams, and indicates the audio sample rate (Hz). \mbox{\Hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info_a034f0e89ab8cd55ac2ad94f2a8e81f38}\label{structagora_1_1media_1_1base_1_1_player_stream_info_a034f0e89ab8cd55ac2ad94f2a8e81f38}} 
\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}!audioChannels@{audioChannels}}
\index{audioChannels@{audioChannels}!agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}
\doxysubsubsection{\texorpdfstring{audioChannels}{audioChannels}}
{\footnotesize\ttfamily int agora\+::media\+::base\+::\+Player\+Stream\+Info\+::audio\+Channels}

This parameter only takes effect for audio streams, and indicates the audio channel number. \mbox{\Hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info_a47e5a2a3a0088cb33a4f35e298adf077}\label{structagora_1_1media_1_1base_1_1_player_stream_info_a47e5a2a3a0088cb33a4f35e298adf077}} 
\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}!audioBitsPerSample@{audioBitsPerSample}}
\index{audioBitsPerSample@{audioBitsPerSample}!agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}
\doxysubsubsection{\texorpdfstring{audioBitsPerSample}{audioBitsPerSample}}
{\footnotesize\ttfamily int agora\+::media\+::base\+::\+Player\+Stream\+Info\+::audio\+Bits\+Per\+Sample}

This parameter only takes effect for audio streams, and indicates the bit number of each audio sample. \mbox{\Hypertarget{structagora_1_1media_1_1base_1_1_player_stream_info_a36092f8eb0724891bbccf45f2f5ec940}\label{structagora_1_1media_1_1base_1_1_player_stream_info_a36092f8eb0724891bbccf45f2f5ec940}} 
\index{agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}!duration@{duration}}
\index{duration@{duration}!agora::media::base::PlayerStreamInfo@{agora::media::base::PlayerStreamInfo}}
\doxysubsubsection{\texorpdfstring{duration}{duration}}
{\footnotesize\ttfamily int64\+\_\+t agora\+::media\+::base\+::\+Player\+Stream\+Info\+::duration}

The total duration (ms) of the media stream. 