ByteRTCClientMixedStreamDelegate class

Inheritance
  • Object
  • NativeClass
  • NativeObserverClass
  • ByteRTCClientMixedStreamDelegate
Implementers

Constructors

ByteRTCClientMixedStreamDelegate([NativeClassOptions? options])

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 端云一体合流音频 PCM 回调 @param audioFrame PCM 编码的合流音频数据帧,参看 ByteRTCAudioFrame{@link #ByteRTCAudioFrame}。 @param timeStamp 时间戳,单位毫秒。 @param taskId 转推直播任务 ID。 @note 收到该回调的周期为每 10 毫秒一次,并且每次的音频数据量为 10 毫秒数据量。
onMixedDataFrame$withTaskId(ByteRTCFrameExtendedData dataFrame, NSString taskId) FutureOr<void>
@hidden for internal use only @detail callback @author liujingchao @brief 端云一体合流视频 SEI 数据 @param dataFrame SEI 数据,详见 ByteRTCFrameExtendedData {@link #ByteRTCFrameExtendedData}。 @param taskId 转推直播任务 ID。
onMixedFirstAudioFrame(NSString taskId) FutureOr<void>
@hidden for internal use only @detail callback @author liujingchao @brief 客户端合流音频首帧回调 @param taskID 任务 ID
onMixedFirstVideoFrame(NSString taskId) FutureOr<void>
@hidden for internal use only @detail callback @author liujingchao @brief 客户端合流视频首帧回调 @param taskID 任务 ID
onMixedVideoFrame$withTaskId(id<ByteRTCVideoFrame> videoFrame, NSString taskId) FutureOr<void>
@hidden for internal use only @detail callback @author liujingchao @brief 端云一体合流视频 YUV 回调 @param videoFrame YUV 合流视频数据帧,参看 ByteRTCVideoFrame{@link #ByteRTCVideoFrame}。 @param taskId 转推直播任务 ID。 @note 收到该回调的周期取决于视频的帧率。
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

Operators

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