Agora Java API Reference for Android

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

Media stream type. 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

Media stream type.

## Member Data Documentation

## ◆ STREAM_TYPE_UNKNOWN

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

Unknown stream type

## ◆ STREAM_TYPE_VIDEO

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

Video stream

## ◆ STREAM_TYPE_AUDIO

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

Audio stream

## ◆ STREAM_TYPE_SUBTITLE

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

Subtitle stream