Agora Java API Reference for Android

Public Member Functions | List of all members
io.agora.mediaplayer.data.MediaStreamInfo Class Reference

The detailed information of the media stream. More...

## Public Member Functions
| MediaStreamInfo (int streamIndex, int mediaStreamType, String codecName, String language, int videoFrameRate, int videoBitRate, int videoWidth, int videoHeight, int videoRotation, int audioSampleRate, int audioChannels, long duration)
int | getStreamIndex ()
int | getMediaStreamType ()
String | getCodecName ()
String | getLanguage ()
int | getVideoFrameRate ()
int | getVideoWidth ()
int | getVideoHeight ()
int | getAudioSampleRate ()
int | getAudioChannels ()
int | getAudioBytesPerSample ()
long | getDuration ()
int | getVideoBitRate ()
void | setStreamIndex (int streamIndex)
void | setMediaStreamType (int mediaStreamType)
void | setCodecName (String codecName)
void | setLanguage (String language)
void | setVideoFrameRate (int videoFrameRate)
void | setVideoBitRate (int videoBitRate)
void | setVideoWidth (int videoWidth)
void | setVideoHeight (int videoHeight)
void | setAudioSampleRate (int audioSampleRate)
void | setAudioChannels (int audioChannels)
void | setAudioBytesPerSample (int audioBytesPerSample)
void | setDuration (long duration)
int | getVideoRotation ()
void | setVideoRotation (int videoRotation)
String | toString ()

## Detailed Description

The detailed information of the media stream.