|
Agora Java API Reference for Android
|
The detailed information of the media stream. More...
#include <AgoraMediaPlayerTypes.h>
Public Attributes | |
| 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 |
The detailed information of the media stream.
| int agora::media::base::PlayerStreamInfo::streamIndex |
The index of the media stream.
| MEDIA_STREAM_TYPE agora::media::base::PlayerStreamInfo::streamType |
The type of the media stream. See MEDIA_STREAM_TYPE.
| char agora::media::base::PlayerStreamInfo::codecName[kMaxCharBufferLength] |
The codec of the media stream.
| char agora::media::base::PlayerStreamInfo::language[kMaxCharBufferLength] |
The language of the media stream.
| int agora::media::base::PlayerStreamInfo::videoFrameRate |
This parameter only takes effect for video streams, and indicates the video frame rate (fps).
| int agora::media::base::PlayerStreamInfo::videoBitRate |
This parameter only takes effect for video streams, and indicates the video bitrate (bps).
| int agora::media::base::PlayerStreamInfo::videoWidth |
This parameter only takes effect for video streams, and indicates the video width (pixel).
| int agora::media::base::PlayerStreamInfo::videoHeight |
This parameter only takes effect for video streams, and indicates the video height (pixel).
| int agora::media::base::PlayerStreamInfo::videoRotation |
This parameter only takes effect for video streams, and indicates the video rotation angle.
| int agora::media::base::PlayerStreamInfo::audioSampleRate |
This parameter only takes effect for audio streams, and indicates the audio sample rate (Hz).
| int agora::media::base::PlayerStreamInfo::audioChannels |
This parameter only takes effect for audio streams, and indicates the audio channel number.
| int agora::media::base::PlayerStreamInfo::audioBitsPerSample |
This parameter only takes effect for audio streams, and indicates the bit number of each audio sample.
| int64_t agora::media::base::PlayerStreamInfo::duration |
The total duration (ms) of the media stream.
1.8.18