#include <AgoraMediaPlayerTypes.h>
◆ PlayerStreamInfo()
| agora::media::base::PlayerStreamInfo::PlayerStreamInfo |
( |
| ) |
|
|
inline |
◆ streamIndex
| int agora::media::base::PlayerStreamInfo::streamIndex |
The index of the media stream.
◆ streamType
◆ codecName
The codec of the media stream.
◆ language
The language of the media stream.
◆ videoFrameRate
| int agora::media::base::PlayerStreamInfo::videoFrameRate |
This parameter only takes effect for video streams, and indicates the video frame rate (fps).
◆ videoBitRate
| int agora::media::base::PlayerStreamInfo::videoBitRate |
This parameter only takes effect for video streams, and indicates the video bitrate (bps).
◆ videoWidth
| int agora::media::base::PlayerStreamInfo::videoWidth |
This parameter only takes effect for video streams, and indicates the video width (pixel).
◆ videoHeight
| int agora::media::base::PlayerStreamInfo::videoHeight |
This parameter only takes effect for video streams, and indicates the video height (pixel).
◆ videoRotation
| int agora::media::base::PlayerStreamInfo::videoRotation |
This parameter only takes effect for video streams, and indicates the video rotation angle.
◆ audioSampleRate
| int agora::media::base::PlayerStreamInfo::audioSampleRate |
This parameter only takes effect for audio streams, and indicates the audio sample rate (Hz).
◆ audioChannels
| int agora::media::base::PlayerStreamInfo::audioChannels |
This parameter only takes effect for audio streams, and indicates the audio channel number.
◆ audioBitsPerSample
| int agora::media::base::PlayerStreamInfo::audioBitsPerSample |
This parameter only takes effect for audio streams, and indicates the bit number of each audio sample.
◆ duration
| int64_t agora::media::base::PlayerStreamInfo::duration |
The total duration (ms) of the media stream.