Agora RTC Objective-C API Reference  Refactor
Properties
AgoraLocalTranscoderConfiguration Class Reference

Inherits <NSObject>.

Properties

NSArray< AgoraTranscodingVideoStream * > *_Nullable videoInputStreams
 
AgoraVideoEncoderConfiguration *_Nonnull videoOutputConfiguration
 
BOOL syncWithPrimaryCamera
 

Detailed Description

The definition of AgoraLocalTranscoderConfiguration.

Property Documentation

◆ videoInputStreams

- (NSArray<AgoraTranscodingVideoStream *>* _Nullable) videoInputStreams
readwritenonatomiccopy

The video stream layout configuration in the transcoder.

◆ videoOutputConfiguration

- (AgoraVideoEncoderConfiguration* _Nonnull) videoOutputConfiguration
readwritenonatomicstrong

The video encoder configuration of transcoded video.

◆ syncWithPrimaryCamera

- (BOOL) syncWithPrimaryCamera
readwritenonatomicassign

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. use the timestamp when the mixed video frame is constructed Instead.