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

Data Fields

unsigned int streamCount
 
TranscodingVideoStreamVideoInputStreams
 
VideoEncoderConfiguration videoOutputConfiguration
 
bool syncWithPrimaryCamera
 

Detailed Description

The configuration of the video mixing on the local client.

Constructor & Destructor Documentation

◆ LocalTranscoderConfiguration()

Field Documentation

◆ streamCount

unsigned int streamCount

The number of the video streams for the video mixing on the local client.

◆ VideoInputStreams

TranscodingVideoStream* VideoInputStreams

The video streams for the video mixing on the local client. See TranscodingVideoStream.

◆ videoOutputConfiguration

VideoEncoderConfiguration videoOutputConfiguration

The encoding configuration of the mixed video stream after the video mixing on the local client. See VideoEncoderConfiguration.

◆ syncWithPrimaryCamera

bool syncWithPrimaryCamera

Whether to use the timestamp when the primary camera captures the video frame as the timestamp of the mixed video frame.

  • true: (Default) Use the timestamp of the captured video frame as the timestamp of the mixed video frame.
  • false: Do not use the timestamp of the captured video frame as the timestamp of the mixed video frame. Instead, use the timestamp when the mixed video frame is constructed.