Agora Java API Reference for Android
Classes | Public Attributes | List of all members
io.agora.rtc2.LocalTranscoderConfiguration Class Reference

The configuration of the video mixing on the local client. More...

Classes

class  TranscodingVideoStream
 The video streams for local video mixing. More...
 

Public Attributes

ArrayList< TranscodingVideoStreamtranscodingVideoStreams
 
boolean syncWithPrimaryCamera
 
VideoEncoderConfiguration videoOutputConfiguration
 

Detailed Description

The configuration of the video mixing on the local client.

Member Data Documentation

◆ transcodingVideoStreams

ArrayList<TranscodingVideoStream> io.agora.rtc2.LocalTranscoderConfiguration.transcodingVideoStreams

The video streams for local video mixing. See TranscodingVideoStream.

◆ syncWithPrimaryCamera

boolean io.agora.rtc2.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.

◆ videoOutputConfiguration

VideoEncoderConfiguration io.agora.rtc2.LocalTranscoderConfiguration.videoOutputConfiguration

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