ILocalEncodedVideoFrameObserver class

@detail callback @brief 本地视频帧监测器
注意:回调函数是在 SDK 内部线程(非 UI 线程)同步抛出来的,请不要做耗时操作或直接操作 UI,否则可能导致 app 崩溃。

Constructors

ILocalEncodedVideoFrameObserver({FutureOr<void> onLocalEncodedVideoFrame(dynamic videoSource)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
onLocalEncodedVideoFrame FutureOr<void> Function(dynamic videoSource)?
@detail callback @brief 调用 registerLocalEncodedVideoFrameObserver{@link #RTCEngine#registerLocalEncodedVideoFrameObserver} 后,SDK 每次使用内部采集,采集到一帧视频帧,或收到一帧外部视频帧时,都会回调该事件。 @param videoSource 预留参数 @param encodedVideoFrame 本地视频帧信息,参看 RTCEncodedVideoFrame{@link #RTCEncodedVideoFrame} @note encodedVideoFrame 只在回调函数作用域内有效,不要存储该参数并在其它函数内访问该参数的内存数据
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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