updateLocalTranscoderConfiguration abstract method

Future<void> updateLocalTranscoderConfiguration(
  1. LocalTranscoderConfiguration config
)

更新本地合图配置。

调用 startLocalVideoTranscoder 后,如果你希望更新本地合图配置,请调用该方法。 如果你想要更新用于合图的的本地采集视频源类型,比如:增加第二路摄像头或者屏幕采集的视频,需要在 startCameraCapture 或 startScreenCaptureBySourceType 之后调用该方法。

  • config 本地合图的配置,详见 LocalTranscoderConfiguration 。

Returns 方法成功调用时,无返回值;方法调用失败时,会抛出 AgoraRtcException 异常,你需要捕获异常并进行处理。详见错误码了解详情和解决建议。

Implementation

Future<void> updateLocalTranscoderConfiguration(
    LocalTranscoderConfiguration config);