ByteRTCVideoSinkProtocol class
- Inheritance
-
- Object
- NativeClass
- NativeObserverClass
- ByteRTCVideoSinkProtocol
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
-
registerEvent(String name, dynamic method)
→ void
-
inherited
-
renderPixelBuffer$rotation$cameraId$extendedData(dynamic pixelBuffer, ByteRTCVideoRotation rotation, ByteRTCCameraID cameraId, NSData extendedData)
→ FutureOr<void>
-
@detail callback
@brief 输出视频的 PixelBuffer
@param pixelBuffer 视频的 PixelBuffer
@param rotation 视频旋转角度,{@link #ByteRTCVideoRotation}
@param cameraId 视频的相机 Id, {@link #ByteRTCCameraID}
@param extendedData 视频帧附加的数据,视频解码后获得的附加数据
@note 通过该方法获取视频的 PixelBuffer
-
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
-
shouldDispose()
→ FutureOr<void>
-
@detail callback
@brief 释放渲染器
@note 渲染器即将被废弃的时候会回调这个方法
-
shouldStart()
→ FutureOr<void>
-
@detail callback
@brief 启动渲染器
@note 在开启渲染功能的时候会回调这个方法
-
shouldStop()
→ FutureOr<void>
-
@detail callback
@brief 停止渲染器
@note 在停止渲染功能的时候会回调这个方法
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateInstance(dynamic instance)
→ void
-
inherited
-
updateResource(NativeResource resource)
→ void
-
inherited