Media Player Kit v1.3.0 API Reference for Windows
Public Attributes | List of all members
agora::media::base::MediaStreamInfo Struct Reference

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
 

Detailed Description

The whole detailed information of the media stream.

Member Data Documentation

◆ streamIndex

int agora::media::base::MediaStreamInfo::streamIndex

The index of the media stream.

◆ streamType

MEDIA_STREAM_TYPE agora::media::base::MediaStreamInfo::streamType

The type of the media stream. See MEDIA_STREAM_TYPE

◆ codecName

char agora::media::base::MediaStreamInfo::codecName[kMaxCharBufferLength]

The codec of the media stream.

◆ language

char agora::media::base::MediaStreamInfo::language[kMaxCharBufferLength]

The language of the media stream.

◆ videoFrameRate

int agora::media::base::MediaStreamInfo::videoFrameRate

For a video stream, gets the frame rate (fps).

◆ videoBitRate

int agora::media::base::MediaStreamInfo::videoBitRate

For a video stream, gets the bitrate (bps).

◆ videoWidth

int agora::media::base::MediaStreamInfo::videoWidth

For a video stream, gets the width (pixel) of the video.

◆ videoHeight

int agora::media::base::MediaStreamInfo::videoHeight

For a video stream, gets the height (pixel) of the video.

◆ videoRotation

int agora::media::base::MediaStreamInfo::videoRotation

For a video stream, gets the rotation angle of the video.

◆ audioSampleRate

int agora::media::base::MediaStreamInfo::audioSampleRate

For an audio stream, gets the sample rate (Hz).

◆ audioChannels

int agora::media::base::MediaStreamInfo::audioChannels

For an audio stream, gets the channel number.

◆ duration

int64_t agora::media::base::MediaStreamInfo::duration

The total duration (second) of the media stream.