|
Agora Java API Reference for Android
|
The information of the media stream object. 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 information of the media stream object.
| 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 |
The frame rate (fps) if the stream is video.
| int agora::media::base::PlayerStreamInfo::videoBitRate |
The video bitrate (bps) if the stream is video.
| int agora::media::base::PlayerStreamInfo::videoWidth |
The video width (pixel) if the stream is video.
| int agora::media::base::PlayerStreamInfo::videoHeight |
The video height (pixel) if the stream is video.
| int agora::media::base::PlayerStreamInfo::videoRotation |
The rotation angle if the steam is video.
| int agora::media::base::PlayerStreamInfo::audioSampleRate |
The sample rate if the stream is audio.
| int agora::media::base::PlayerStreamInfo::audioChannels |
The number of audio channels if the stream is audio.
| int agora::media::base::PlayerStreamInfo::audioBitsPerSample |
The number of bits per sample if the stream is audio.
| int64_t agora::media::base::PlayerStreamInfo::duration |
The total duration (millisecond) of the media stream.
1.8.18