addLocalRecorderStreamLayoutForTask abstract method

Future<int> addLocalRecorderStreamLayoutForTask(
  1. NERtcLocalRecordingLayoutConfig config,
  2. int uid,
  3. int streamType,
  4. int streamLayer,
  5. String taskId,
)

添加指定用户的指定流的录制流布局 @since V5.6.40 config 录制配置 uid 用户 ID streamType 流类型 streamLayer 流的录制混流层级 taskId 录制任务 ID @return

  • 0: 方法调用成功
  • 其他: 调用失败

Implementation

Future<int> addLocalRecorderStreamLayoutForTask(
    NERtcLocalRecordingLayoutConfig config,
    int uid,
    int streamType,
    int streamLayer,
    String taskId);