ByteRTCVideoFrameData class

Inheritance
  • Object
  • NativeClass
  • ByteRTCVideoFrameData

Constructors

ByteRTCVideoFrameData([NativeClassOptions? options])

Properties

$resource → NativeResource
no setterinherited
bufferType FutureOr<ByteRTCVideoBufferType?>
@brief Video frame buffer type, see ByteRTCVideoBufferType{@link #ByteRTCVideoBufferType}. Required.
getter/setter pair
cameraId FutureOr<ByteRTCCameraID?>
@brief Camera position info of the video frame, see ByteRTCCameraID{@link #ByteRTCCameraID}
getter/setter pair
contentType FutureOr<ByteRTCVideoContentType?>
@brief Video content type, see ByteRTCVideoContentType{@link #ByteRTCVideoContentType}.
getter/setter pair
cvpixelbuffer FutureOr
@brief Data of CVPixelBufferRef type. Required, when format is kPixelFormatCVPixelBuffer
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height FutureOr<int?>
@brief Video frame height. Required.
getter/setter pair
numberOfPlanes FutureOr<int?>
@brief The number of video frame planes. Required, when bufferType is ByteRTCVideoBufferTypeRawMemory and ByteRTCVideoBufferTypeGLTexture.
getter/setter pair
pixelFormat FutureOr<ByteRTCVideoPixelFormat?>
@brief Video frame pixel format, see ByteRTCVideoPixelFormat{@link #ByteRTCVideoPixelFormat}. Required, when bufferType is ByteRTCVideoBufferTypeRawMemory and ByteRTCVideoBufferTypeGLTexture.
getter/setter pair
planeDataArray FutureOr
@brief Array of video frame planes. Required, when bufferType is ByteRTCVideoBufferTypeRawMemory and ByteRTCVideoBufferTypeGLTexture.
getter/setter pair
planeStrideArray FutureOr<int?>
@brief Array of stride. Stride is the length of memory between two lines of image data in video frame plane in bytes. Required, when bufferType is ByteRTCVideoBufferTypeRawMemory and ByteRTCVideoBufferTypeGLTexture.
getter/setter pair
ready Future<void>
Whether the instance is initialized
no setterinherited
roiData FutureOr<NSData?>
@brief ROI(Region of Interest) Data in a video frame
getter/setter pair
rotation FutureOr<ByteRTCVideoRotation?>
@brief Video frame rotation angle, see ByteRTCVideoRotation{@link #ByteRTCVideoRotation}.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seiData FutureOr<NSData?>
@brief SEI data
getter/setter pair
timestamp FutureOr<int?>
@brief The timestamp of the current video frame. Required.
getter/setter pair
width FutureOr<int?>
@brief Video frame width. Required.
getter/setter pair

Methods

destroy() → void
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
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
updateResource(NativeResource resource) → void
inherited

Operators

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

Static Properties

codegen_$namespace → dynamic
no setter