Agora Java API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.Constants.VideoStreamType Enum Reference

The type of video streams. More...

Public Member Functions

int getValue ()
 

Public Attributes

 VIDEO_STREAM_HIGH =(0)
 
 VIDEO_STREAM_LOW =(1)
 
 VIDEO_STREAM_LAYER_1 =(4)
 
 VIDEO_STREAM_LAYER_2 =(5)
 
 VIDEO_STREAM_LAYER_3 =(6)
 
 VIDEO_STREAM_LAYER_4 =(7)
 
 VIDEO_STREAM_LAYER_5 =(8)
 
 VIDEO_STREAM_LAYER_6 =(9)
 

Detailed Description

The type of video streams.

Member Data Documentation

◆ VIDEO_STREAM_HIGH

io.agora.rtc2.Constants.VideoStreamType.VIDEO_STREAM_HIGH =(0)

0: High-quality video stream, that is, a video stream with the highest resolution and bitrate.

◆ VIDEO_STREAM_LOW

io.agora.rtc2.Constants.VideoStreamType.VIDEO_STREAM_LOW =(1)

1: Low-quality video stream, that is, a video stream with the lowest resolution and bitrate.

◆ VIDEO_STREAM_LAYER_1

io.agora.rtc2.Constants.VideoStreamType.VIDEO_STREAM_LAYER_1 =(4)
  1. Video stream layer 1. The resolution of this quality level is only lower than that of VIDEO_STREAM_HIGH.

◆ VIDEO_STREAM_LAYER_2

io.agora.rtc2.Constants.VideoStreamType.VIDEO_STREAM_LAYER_2 =(5)

5: Video stream layer 2. The resolution of this quality level is only lower than that of VIDEO_STREAM_LAYER_1.

◆ VIDEO_STREAM_LAYER_3

io.agora.rtc2.Constants.VideoStreamType.VIDEO_STREAM_LAYER_3 =(6)

6: Video stream layer 3. The resolution of this quality level is only lower than that of VIDEO_STREAM_LAYER_2.

◆ VIDEO_STREAM_LAYER_4

io.agora.rtc2.Constants.VideoStreamType.VIDEO_STREAM_LAYER_4 =(7)

7: Video stream layer 4. The resolution of this quality level is only lower than that of VIDEO_STREAM_LAYER_3.

◆ VIDEO_STREAM_LAYER_5

io.agora.rtc2.Constants.VideoStreamType.VIDEO_STREAM_LAYER_5 =(8)

8: Video stream layer 5. The resolution of this quality level is only lower than that of VIDEO_STREAM_LAYER_4.

◆ VIDEO_STREAM_LAYER_6

io.agora.rtc2.Constants.VideoStreamType.VIDEO_STREAM_LAYER_6 =(9)

9: Video stream layer 6. The resolution of this quality level is only lower than that of VIDEO_STREAM_LAYER_5.