Agora Java API Reference for Android

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

## Static Public Member Functions
static int | getValue (AbrSubscriptionLayer type)
static AbrSubscriptionLayer | fromInt (int v)

## Public Attributes
| HIGH =(0)
| LOW =(1)
| LAYER1 =(2)
| LAYER2 =(3)
| LAYER3 =(4)
| LAYER4 =(5)
| LAYER5 =(6)
| LAYER6 =(7)

## Detailed Description

ABR subscription layer. This enumeration can be used to set the value of the abr_subscription_layer query parameter in the rte URL. It can also be used in the PlayerConfig.setAbrSubscriptionLayer setting interface.

Since
  v4.4.0

## Member Data Documentation

## ◆ HIGH

io.agora.rte.Constants.AbrSubscriptionLayer.HIGH =(0)

0: High-quality video stream, this layer has the highest resolution and bitrate.

## ◆ LOW

io.agora.rte.Constants.AbrSubscriptionLayer.LOW =(1)

1: Low-quality video stream, this layer has the lowest resolution and bitrate.

## ◆ LAYER1

io.agora.rte.Constants.AbrSubscriptionLayer.LAYER1 =(2)

2: Layer1 video stream, this layer has lower resolution and bitrate than that of the high-quality video stream.

## ◆ LAYER2

io.agora.rte.Constants.AbrSubscriptionLayer.LAYER2 =(3)

3: Layer2 video stream, this layer has lower resolution and bitrate than layer1.

## ◆ LAYER3

io.agora.rte.Constants.AbrSubscriptionLayer.LAYER3 =(4)

4: Layer3 video stream, this layer has lower resolution and bitrate than layer2.

## ◆ LAYER4

io.agora.rte.Constants.AbrSubscriptionLayer.LAYER4 =(5)

5: Layer4 video stream, this layer has lower resolution and bitrate than layer3.

## ◆ LAYER5

io.agora.rte.Constants.AbrSubscriptionLayer.LAYER5 =(6)

6: Layer5 video stream, this layer has lower resolution and bitrate than layer4.

## ◆ LAYER6

io.agora.rte.Constants.AbrSubscriptionLayer.LAYER6 =(7)

7: Layer6 video stream, this layer has lower resolution and bitrate than layer5.