Media Player Kit v1.3.0 API Reference for Android
io.agora.mediaplayer.data.MediaStreamInfo Class Reference

Private Attributes

int streamIndex
 
int mediaStreamType
 
String codecName
 
String language
 
int videoFrameRate
 
int videoBitRate
 
int videoWidth
 
int videoHeight
 
int videoRotation
 
int audioSampleRate
 
int audioChannels
 
long duration
 

Detailed Description

The MediaStreamInfo class, reporting the whole detailed information of the media stream.

Member Data Documentation

◆ streamIndex

int io.agora.mediaplayer.data.MediaStreamInfo.streamIndex
private

The index of the media stream.

◆ mediaStreamType

int io.agora.mediaplayer.data.MediaStreamInfo.mediaStreamType
private

The type of the media stream. See MediaStreamType for details.

◆ codecName

String io.agora.mediaplayer.data.MediaStreamInfo.codecName
private

The codec of the media stream.

◆ language

String io.agora.mediaplayer.data.MediaStreamInfo.language
private

The language of the media stream.

◆ videoFrameRate

int io.agora.mediaplayer.data.MediaStreamInfo.videoFrameRate
private

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

◆ videoBitRate

int io.agora.mediaplayer.data.MediaStreamInfo.videoBitRate
private

For video stream, gets the bitrate (bps).

◆ videoWidth

int io.agora.mediaplayer.data.MediaStreamInfo.videoWidth
private

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

◆ videoHeight

int io.agora.mediaplayer.data.MediaStreamInfo.videoHeight
private

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

◆ videoRotation

int io.agora.mediaplayer.data.MediaStreamInfo.videoRotation
private

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

◆ audioSampleRate

int io.agora.mediaplayer.data.MediaStreamInfo.audioSampleRate
private

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

◆ audioChannels

int io.agora.mediaplayer.data.MediaStreamInfo.audioChannels
private

For the audio stream, gets the channel number.

◆ duration

long io.agora.mediaplayer.data.MediaStreamInfo.duration
private

The total duration (s) of the media stream.