Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::rtc::LocalTranscoderConfiguration Struct Reference

`#include <AgoraBase.h>`

## Public Member Functions
| LocalTranscoderConfiguration ()

## Public Attributes
unsigned int | streamCount
TranscodingVideoStream * | videoInputStreams
VideoEncoderConfiguration | videoOutputConfiguration
bool | syncWithPrimaryCamera

## Constructor & Destructor Documentation

## ◆ LocalTranscoderConfiguration()

agora::rtc::LocalTranscoderConfiguration::LocalTranscoderConfiguration | ( |  | ) |
| inline

## Member Data Documentation

## ◆ streamCount

unsigned int agora::rtc::LocalTranscoderConfiguration::streamCount

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

## ◆ videoInputStreams

TranscodingVideoStream* agora::rtc::LocalTranscoderConfiguration::videoInputStreams

The video streams for local video mixing. See `TranscodingVideoStream`.

## ◆ videoOutputConfiguration

VideoEncoderConfiguration agora::rtc::LocalTranscoderConfiguration::videoOutputConfiguration

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

## ◆ syncWithPrimaryCamera

bool agora::rtc::LocalTranscoderConfiguration::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.