ByteRTCClientMixedStreamDelegate class
- Inheritance
-
- Object
- NativeClass
- NativeObserverClass
- ByteRTCClientMixedStreamDelegate
- 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$withTaskInfo$withMixedType$withErrorCode(ByteRTCMixedStreamTaskEvent event, ByteRTCMixedStreamTaskInfo info, ByteRTCMixedStreamType type, ByteRTCMixedStreamTaskErrorCode errorCode)
→ FutureOr<void>
-
@hidden for internal use only
-
onMixedAudioFrame$withTimestamp$withTaskId(ByteRTCAudioFrame audioFrame, int64_t timeStamp, NSString taskId)
→ FutureOr<void>
-
@hidden for internal use only
@detail callback
@author liujingchao
@brief Callback with audio data in PCM after intelligent stream mixing.
@param audioFrame Audio data frame in PCM. See ByteRTCAudioFrame{@link #ByteRTCAudioFrame}.
@param timeStamp The timeStamp in ms.
@param taskId Task ID.
@note You will receive the callback every 10 milliseconds. Each callback carries data collected in the last 10 milliseconds.
-
onMixedDataFrame$withTaskId(ByteRTCFrameExtendedData dataFrame, NSString taskId)
→ FutureOr<void>
-
@hidden for internal use only
@detail callback
@author liujingchao
@brief This callback carries SEI data
@param dataFrame SEI Data. See ByteRTCFrameExtendedData{@link #ByteRTCFrameExtendedData}
@param taskId Task ID.
-
onMixedFirstAudioFrame(NSString taskId)
→ FutureOr<void>
-
@hidden for internal use only
@detail callback
@author liujingchao
@brief Used for reporting events during pushing a single stream to CDN.
@param taskID Task ID
-
onMixedFirstVideoFrame(NSString taskId)
→ FutureOr<void>
-
@hidden for internal use only
@detail callback
@author liujingchao
@brief Used for reporting events during pushing a single stream to CDN.
@param taskID Task ID
-
onMixedVideoFrame$withTaskId(id<ByteRTCVideoFrame> videoFrame, NSString taskId)
→ FutureOr<void>
-
@hidden for internal use only
@detail callback
@author liujingchao
@brief Callback with video data in YUV after intelligent stream mixing.
@param videoFrame Video data frame in YUV, see ByteRTCVideoFrame{@link #ByteRTCVideoFrame}.
@param taskId Task ID.
@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