updateLocalTranscoderConfiguration abstract method

Future<void> updateLocalTranscoderConfiguration(
  1. LocalTranscoderConfiguration config
)

Updates the local video mixing configuration.

After calling startLocalVideoTranscoder, call this method if you want to update the local video mixing configuration. If you want to update the video source type used for local video mixing, such as adding a second camera or screen to capture video, you need to call this method after startCameraCapture or startScreenCaptureBySourceType.

  • config Configuration of the local video mixing, see LocalTranscoderConfiguration.

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> updateLocalTranscoderConfiguration(
    LocalTranscoderConfiguration config);