|
Media Player Kit v1.3.0 API Reference for Windows
|
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 |
| int64_t | duration |
The whole detailed information of the media stream.
| int agora::media::base::MediaStreamInfo::streamIndex |
The index of the media stream.
| MEDIA_STREAM_TYPE agora::media::base::MediaStreamInfo::streamType |
The type of the media stream. See MEDIA_STREAM_TYPE
| char agora::media::base::MediaStreamInfo::codecName[kMaxCharBufferLength] |
The codec of the media stream.
| char agora::media::base::MediaStreamInfo::language[kMaxCharBufferLength] |
The language of the media stream.
| int agora::media::base::MediaStreamInfo::videoFrameRate |
For a video stream, gets the frame rate (fps).
| int agora::media::base::MediaStreamInfo::videoBitRate |
For a video stream, gets the bitrate (bps).
| int agora::media::base::MediaStreamInfo::videoWidth |
For a video stream, gets the width (pixel) of the video.
| int agora::media::base::MediaStreamInfo::videoHeight |
For a video stream, gets the height (pixel) of the video.
| int agora::media::base::MediaStreamInfo::videoRotation |
For a video stream, gets the rotation angle of the video.
| int agora::media::base::MediaStreamInfo::audioSampleRate |
For an audio stream, gets the sample rate (Hz).
| int agora::media::base::MediaStreamInfo::audioChannels |
For an audio stream, gets the channel number.
| int64_t agora::media::base::MediaStreamInfo::duration |
The total duration (second) of the media stream.