# PlayerStreamInfo (/zh-CN/api-reference/rtc/cpp-all-platforms/class-playerstreaminfo) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```cpp struct PlayerStreamInfo { int streamIndex; MEDIA_STREAM_TYPE streamType; char codecName[kMaxCharBufferLength]; char language[kMaxCharBufferLength]; int videoFrameRate; int videoBitRate; int videoWidth; int videoHeight; int videoRotation; int audioSampleRate; int audioChannels; int audioBitsPerSample; int64_t duration; }; ``` ## 属性 [#属性] 媒体流的索引。 媒体流的类型。详见 [MEDIA_STREAM_TYPE](/zh-CN/api-reference/rtc/cpp-all-platforms/enum-mediastreamtype)。 媒体流的编解码器名称。 媒体流的语言。 仅对视频流生效,表示视频帧率(fps)。 仅对视频流生效,表示视频码率(bps)。 仅对视频流生效,表示视频宽度(像素)。 仅对视频流生效,表示视频高度(像素)。 仅对视频流生效,表示视频旋转角度。 仅对音频流生效,表示音频采样率(Hz)。 仅对音频流生效,表示音频声道数。 仅对音频流生效,表示每个音频采样的位数。 媒体流的总时长(毫秒)。