updateLocalTranscoderConfiguration abstract method

Future<void> updateLocalTranscoderConfiguration(
  1. LocalTranscoderConfiguration config
)

Updates 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 type of local video source used in mixing, such as adding a second camera or screen capture video, call this method after startCameraCapture or startScreenCaptureBySourceType.

  • config The configuration for 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. See Error Codes for details and resolution suggestions.

Implementation

Future<void> updateLocalTranscoderConfiguration(
    LocalTranscoderConfiguration config);