Agora Java API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.rte.user.AgoraRteTranscodingUser Class Reference

Public Member Functions

int getHeight ()
 
int getzOrder ()
 
int getY ()
 
int getX ()
 
int getWidth ()
 
double getAlpha ()
 
int getAudioChannel ()
 
long getUid ()
 

Public Attributes

long uid
 
int x
 
int y
 
int width
 
int height
 
int zOrder
 
double alpha
 
int audioChannel
 

Member Data Documentation

◆ uid

long io.agora.rte.user.AgoraRteTranscodingUser.uid

User ID of the CDN live streaming.

◆ x

int io.agora.rte.user.AgoraRteTranscodingUser.x

The horizontal position of the top left corner of the video frame.

◆ y

int io.agora.rte.user.AgoraRteTranscodingUser.y

The vertical position of the top left corner of the video frame.

◆ width

int io.agora.rte.user.AgoraRteTranscodingUser.width

The width of the video frame.

◆ height

int io.agora.rte.user.AgoraRteTranscodingUser.height

The height of the video frame.

◆ zOrder

int io.agora.rte.user.AgoraRteTranscodingUser.zOrder

The layer of the video frame that ranges from 1 to 100:

  • 1: (Default) The lowest layer.
  • 100: The highest layer.

◆ alpha

double io.agora.rte.user.AgoraRteTranscodingUser.alpha

The transparency of the video frame.

◆ audioChannel

int io.agora.rte.user.AgoraRteTranscodingUser.audioChannel

The audio channel of the sound that ranges from 0 to 5. Special players are needed if it is not set as 0.

  • 0: (default) Supports dual channels at most, depending on the upstream of the broadcaster.
  • 1: The audio stream of the broadcaster is in the FL audio channel. If the upstream of the broadcaster uses dual sound channel, only the left sound channel is used for streaming.
  • 2: The audio stream of the broadcaster is in the FC audio channel. If the upstream of the broadcaster uses dual sound channel, only the left sound channel is used for streaming.
  • 3: The audio stream of the broadcaster is in the FR audio channel. If the upstream of the broadcaster uses dual sound channel, only the left sound channel is used for streaming.
  • 4: The audio stream of the broadcaster is in the BL audio channel. If the upstream of the broadcaster uses dual sound channel, only the left sound channel is used for streaming.
  • 5: The audio stream of the broadcaster is in the BR audio channel. If the upstream of the broadcaster uses dual sound channel, only the left sound channel is used for streaming.