IClientMixedStreamObserver class

@hidden for internal use only @detail callback @brief 转推直播观察者。

Constructors

IClientMixedStreamObserver({FutureOr<void> onClientMixedStreamEvent(MixedStreamTaskInfo info, MixedStreamType type, MixedStreamTaskEvent event)?, FutureOr<void> onMixedAudioFrame(String taskId, Uint8List audioFrame, int timeStampMs)?, FutureOr<void> onMixedVideoFrame(String taskId, IVideoFrame videoFrame)?, FutureOr<void> onMixedDataFrame(String taskId, Uint8List dataFrame)?, FutureOr<void> onMixedFirstAudioFrame(String taskId)?, FutureOr<void> onMixedFirstVideoFrame(String taskId)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onClientMixedStreamEvent FutureOr<void> Function(MixedStreamTaskInfo info, MixedStreamType type, MixedStreamTaskEvent event)?
@hidden for internal use only @detail callback @author liujingchao @brief 转推直播状态回调 @param eventType 转推直播任务状态, 参看 ByteRTCStreamMixingEvent{@link #ByteRTCStreamMixingEvent} @param taskId 转推直播任务 ID @param error 转推直播错误码,参看 MixedStreamTaskErrorCode{@link #MixedStreamTaskErrorCode} @param mixType 转推直播类型,参看 MixedStreamType{@link #MixedStreamType}
getter/setter pair
onMixedAudioFrame FutureOr<void> Function(String taskId, Uint8List audioFrame, int timeStampMs)?
@hidden for internal use only @detail callback @author liujingchao @brief 端云一体合流音频 PCM 回调 @param taskId 转推直播任务 ID @param audioFrame PCM 编码的合流音频数据帧 @param frameNum PCM 编码的音频数据帧数 @param timeStampMs 时间戳,单位毫秒 @note 收到该回调的周期为每 10 毫秒一次,并且每次的音频数据量为 10 毫秒数据量。
getter/setter pair
onMixedDataFrame FutureOr<void> Function(String taskId, Uint8List dataFrame)?
@hidden for internal use only @detail callback @author liujingchao @brief 端云一体合流视频 SEI 数据回调 @param taskId 转推直播任务 ID @param dataFrame SEI 数据 @param time 时间信息
getter/setter pair
onMixedFirstAudioFrame FutureOr<void> Function(String taskId)?
@hidden for internal use only
getter/setter pair
onMixedFirstVideoFrame FutureOr<void> Function(String taskId)?
@hidden for internal use only
getter/setter pair
onMixedVideoFrame FutureOr<void> Function(String taskId, IVideoFrame videoFrame)?
@hidden for internal use only @detail callback @author liujingchao @brief 端云一体合流视频 YUV 回调 @param taskId 转推直播任务 ID @param videoFrame YUV 合流视频数据帧,参看 IVideoFrame{@link #IVideoFrame} @note - 收到该回调的周期与视频的帧间隔一致。
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited