Agora RTC Objective-C API Reference  Refactor
Data Fields
TranscodingVideoStream Struct Reference

Data Fields

agora::media::MEDIA_SOURCE_TYPE sourceType
 
uid_t remoteUserUid
 
const char * imageUrl
 
int x
 
int y
 
int width
 
int height
 
int zOrder
 
double alpha
 
bool mirror
 

Detailed Description

The definition of the LocalTranscodingVideoStream struct.

Constructor & Destructor Documentation

◆ TranscodingVideoStream()

Field Documentation

◆ sourceType

Source type of video stream.

◆ remoteUserUid

uid_t remoteUserUid

Remote user uid if sourceType is VIDEO_SOURCE_REMOTE.

◆ imageUrl

const char* imageUrl

RTC image if sourceType is VIDEO_SOURCE_RTC_IMAGE.

◆ x

int x

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

◆ y

int y

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

◆ width

int width

The width of the video frame.

◆ height

int height

The height of the video frame.

◆ zOrder

int zOrder

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

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

◆ alpha

double alpha

The transparency of the video frame.

◆ mirror

bool mirror

mirror of the source video frame (only valid for camera streams)