Media Player Kit v1.3.0 API Reference for Android
io.agora.mediaplayer.Constants.MediaStreamType Enum Reference

Static Public Member Functions

static int getValue (MediaStreamType type)

Public Attributes


Private Member Functions

 MediaStreamType (int v)

Private Attributes

int value

Detailed Description

MediaStreamType, reporting the type of the media stream.

Member Data Documentation


io.agora.mediaplayer.Constants.MediaStreamType.STREAM_TYPE_UNKNOWN =(0)

0: The type is unknown.


io.agora.mediaplayer.Constants.MediaStreamType.STREAM_TYPE_VIDEO =(1)

1: The video stream.


io.agora.mediaplayer.Constants.MediaStreamType.STREAM_TYPE_AUDIO =(2)

2: The audio stream.


io.agora.mediaplayer.Constants.MediaStreamType.STREAM_TYPE_SUBTITLE =(3)

3: The subtitle stream.