onMixedFirstVideoFrame method

FutureOr<void> onMixedFirstVideoFrame(
  1. dynamic taskId
)
override

@hidden for internal use only @detail callback @author liujingchao @brief 客户端合流视频首帧回调 @param taskID 任务 ID

Implementation

FutureOr<void> onMixedFirstVideoFrame(dynamic taskId) async {
  if ($instance == null || $instance is! IClientMixedStreamObserver) {
    return;
  }
  return ($instance as IClientMixedStreamObserver)
      .onMixedFirstVideoFrame
      ?.call(taskId.toString());
}