startLocalVideoTranscoder abstract method

Future<void> startLocalVideoTranscoder(
  1. LocalTranscoderConfiguration config
)

Starts the local video mixing.

After calling this method, you can merge multiple video streams into one video stream locally. For example, you can merge the video streams captured by the camera, screen sharing, media player, remote video, video files, images, etc. into one video stream, and then publish the mixed video stream to the channel.

  • config Configuration of the local video mixing, see LocalTranscoderConfiguration. The maximum resolution of each video stream participating in the local video mixing is 4096 × 2160. If this limit is exceeded, video mixing does not take effect. The maximum resolution of the mixed video stream is 4096 × 2160.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> startLocalVideoTranscoder(LocalTranscoderConfiguration config);