RTCEncodedVideoFrame class

Inheritance
  • Object
  • PackClass
  • RTCEncodedVideoFrame

Constructors

RTCEncodedVideoFrame({required int timestampUs, required int timestampDtsUs, required int width, required int height, VideoCodecType? codecType, VideoPictureType? pictureType, VideoRotation? rotation, NSData? data, ByteBuffer? buffer, VideoCodecType? videoCodecType, VideoPictureType? videoPictureType, VideoRotation? videoRotation, bool? $disableInit})
RTCEncodedVideoFrame.fromMap(Map<String, dynamic> map)
factory

Properties

$instance → dynamic
no setterinherited
buffer ByteBuffer?
@platform android @brief The pointer to the video frame
The buffer must be Direct. And the buffer size is its capacity.
getter/setter pair
codecType VideoCodecType?
@platform ios @brief Video encoding type. See ByteRTCVideoCodecType{@link #ByteRTCVideoCodecType}
getter/setter pair
data NSData?
@platform ios @brief The pointer to the video frame
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int
@brief Height of the video in px
getter/setter pair
pictureType VideoPictureType?
@platform ios @brief Encoded type of video frame. See ByteRTCVideoPictureType{@link #ByteRTCVideoPictureType}
getter/setter pair
rotation VideoRotation?
@platform ios @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
timestampDtsUs int
@brief Video encoding timestamp in microseconds
getter/setter pair
timestampUs int
@brief Video capture timestamp in microseconds
getter/setter pair
videoCodecType VideoCodecType?
@platform android @brief Video encoding type. See VideoCodecType{@link #VideoCodecType-2}
getter/setter pair
videoPictureType VideoPictureType?
@platform android @brief Video compression picture type. See VideoPictureType{@link #VideoPictureType}
getter/setter pair
videoRotation VideoRotation?
@platform android @brief Video frame rotation angle, the default value is 0 degrees. See VideoRotation{@link #VideoRotation}
getter/setter pair
width int
@brief Width of the video in px
getter/setter pair

Methods

$createInstance(List args) → dynamic
Factory method for creating instances
override
$destroy() → void
inherited
$init(List args) → void
inherited
findOverrideIndices(List args, List<List<int>> indicesList) List<int>
查找重载参数下标列表 @desc android 构造函数存在重载 此方法通过实际传入参数与构造函数参数列表集合的比对,来获取当前实际的需要使用的参数列表
inherited
fn2AndroidClass(Function callback, dynamic nativeClass(), String methodName) → dynamic
与 ts runtime 中的 fn2AndroidClass 功能一致 将 Dart 函数转换为 Android 回调类实例供 Android 侧使用
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited
transformToPlatformConstructorArgs(List args, List<int> indices, Map<String, dynamic> typeMap, Map<String, dynamic> enumMap, Map<String, dynamic> classMap, String platformVar) List
实例化参数处理 将 pack 过后的 enum / class 转成 android / ios 平台侧的 enum / class
inherited
updateInstance(dynamic instance) → void
inherited

Operators

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

Static Methods

deepPackedMapValues(Map<String, dynamic> map) → dynamic
mapMemberToConstructorParams(Map json) Map<String, dynamic>