IClientMixedStreamObserver class
- Inheritance
-
- Object
- NativeClass
- NativeObserverClass
- IClientMixedStreamObserver
- Implementers
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(MixedStreamTaskInfo info, MixedStreamType type, MixedStreamTaskEvent event, MixedStreamTaskErrorCode error)
→ FutureOr<void>
-
@hidden for internal use only
@detail callback
@author liujingchao
@brief Used for reporting events during pushing streams to CDNs.
@param eventType Stream mixing and pushing status, see ByteRTCStreamMixingEvent{@link #ByteRTCStreamMixingEvent}.
@param taskId Task ID
@param error Errors occurring during the pushing process. See MixedStreamTaskErrorCode{@link #MixedStreamTaskErrorCode}.
@param mixType Stream mixing and pushing type. See MixedStreamType{@link #MixedStreamType}.
-
onMixedAudioFrame(String taskId, ArrayBuffer audioFrame, long timeStampMs)
→ FutureOr<void>
-
@hidden for internal use only
@detail callback
@author liujingchao
@brief Callback with audio data in PCM after intelligent stream mixing
@param taskId Task ID
@param audioFrame Audio data frame in PCM
@param frameNum The total sampling number in PCM
@param timeStampMs The timeStamp in ms
@note You will receive the callback every 10 milliseconds. Each callback carries data collected in the last 10 milliseconds.
-
onMixedDataFrame(String taskId, ArrayBuffer dataFrame, long time)
→ FutureOr<void>
-
@hidden for internal use only
@detail callback
@author liujingchao
@brief This callback carries SEI data
@param taskId Task ID
@param dataFrame SEI data
@param time Time information
-
onMixedFirstAudioFrame(String taskId)
→ FutureOr<void>
-
@hidden for internal use only
-
onMixedFirstVideoFrame(String taskId)
→ FutureOr<void>
-
@hidden for internal use only
-
onMixedVideoFrame(String taskId, IVideoFrame videoFrame)
→ FutureOr<void>
-
@hidden for internal use only
@detail callback
@author liujingchao
@brief Callback with video data after intelligent stream mixing
@param taskId Task ID
@param VideoFrame Video data frame, see IVideoFrame{@link #IVideoFrame}
@note
- The interval between callbacks is the same with that between video frames.
-
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