android_IClientMixedStreamObserver class
Properties
-
$instance
↔ dynamic
-
getter/setter pairinherited
-
$resource
→ NativeResource
-
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
ready
→ Future<void>
-
Whether the instance is initialized
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
destroy()
→ void
-
inherited
-
emit(String name, List args)
→ dynamic
-
inherited
-
nativeCall<T>(String method, [List? args, NativeMethodMeta? meta])
→ Future<T>
-
Call instance method
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onClientMixedStreamEvent(dynamic info, dynamic type, dynamic event, dynamic error)
→ FutureOr<void>
-
@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}
override
-
onMixedAudioFrame(dynamic taskId, dynamic audioFrame, dynamic timeStampMs)
→ FutureOr<void>
-
@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 毫秒数据量。
override
-
onMixedDataFrame(dynamic taskId, dynamic dataFrame, dynamic time)
→ FutureOr<void>
-
@hidden for internal use only
@detail callback
@author liujingchao
@brief 端云一体合流视频 SEI 数据回调
@param taskId 转推直播任务 ID
@param dataFrame SEI 数据
@param time 时间信息
override
-
onMixedFirstAudioFrame(dynamic taskId)
→ FutureOr<void>
-
@hidden for internal use only
override
-
onMixedFirstVideoFrame(dynamic taskId)
→ FutureOr<void>
-
@hidden for internal use only
override
-
onMixedVideoFrame(dynamic taskId, dynamic videoFrame)
→ FutureOr<void>
-
@hidden for internal use only
@detail callback
@author liujingchao
@brief 端云一体合流视频 YUV 回调
@param taskId 转推直播任务 ID
@param videoFrame YUV 合流视频数据帧,参看 IVideoFrame{@link #IVideoFrame}
@note
- 收到该回调的周期与视频的帧间隔一致。
override
-
registerEvent(String name, dynamic method)
→ void
-
inherited
-
sendInstanceGet<T>(String property)
→ Future<T>
-
Get instance property
inherited
-
sendInstancePropertiesGet(dynamic nativeClass)
→ Future<Map<String, dynamic>>
-
Get instance properties
inherited
-
sendInstanceSet(String property, dynamic value)
→ Future<void>
-
Set instance property
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateInstance(dynamic instance)
→ void
-
inherited
-
updateResource(NativeResource resource)
→ void
-
inherited