Agora Java API Reference for Android

Static Public Member Functions | Public Attributes | List of all members
io.agora.mediaplayer.Constants.MediaStreamType Enum Reference

The type of the media stream. More...

## Static Public Member Functions
static int | getValue (MediaStreamType type)

## Public Attributes
| STREAM_TYPE_UNKNOWN =(0)
| STREAM_TYPE_VIDEO =(1)
| STREAM_TYPE_AUDIO =(2)
| STREAM_TYPE_SUBTITLE =(3)

## Detailed Description

The type of the media stream.

## Member Data Documentation

## ◆ STREAM_TYPE_UNKNOWN

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

0: The type is unknown.

## ◆ STREAM_TYPE_VIDEO

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

1: The video stream.

## ◆ STREAM_TYPE_AUDIO

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

2: The audio stream.

## ◆ STREAM_TYPE_SUBTITLE

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

3: The subtitle stream.