RemoteVideoStats class
Inheritance
Object
PackClass
RemoteVideoStats
Constructors
RemoteVideoStats ({required int width , required int height , required float videoLossRate , required float receivedKBitrate , required int decoderOutputFrameRate , required int rendererOutputFrameRate , required int stallCount , required int stallDuration , required int e2eDelay , required bool isScreen , required int statsInterval , required int rtt , required int frozenRate , required VideoCodecType codecType , required int videoIndex , required int jitter , required VideoSuperResolutionMode superResolutionMode , required int capToRenderDelay , required int avSyncDiffMs , required int codecElapsePerFrame , int ? receivedFrameRate , dynamic android_internalStats , bool ? $disableInit })
RemoteVideoStats.fromMap (Map <String , dynamic > map )
factory
Properties
$instance
→ dynamic
no setter inherited
avSyncDiffMs
↔ int
@brief Audio/video synchronization diff in ms.
getter/setter pair
capToRenderDelay
↔ int
@brief End-to-end latency at the user experience level. The delay from the start of capturing at the sending end to the completion of rendering at the receiving end, in units of ms.
getter/setter pair
codecElapsePerFrame
↔ int
@brief Average time spent on video decoding in ms.
getter/setter pair
codecType
↔ VideoCodecType
@brief For the encoding type of the video, please refer to VideoCodecType{@link #VideoCodecType-2}.
getter/setter pair
decoderOutputFrameRate
↔ int
@brief The decoder outputs the frame rate. Video decoder output frame rate within the reference period, in fps.
getter/setter pair
e2eDelay
↔ int
@brief User experience-level end-to-end delay, in milliseconds, from the time when the sender captures the encoding to the time when the receiver decodes the rendering
getter/setter pair
frozenRate
↔ int
@brief The cumulative duration of the video card of the remote user accounts for the percentage (%) of the total effective duration of the video after entering the room. The effective duration of the video refers to the duration of the video other than stopping sending the video stream and disabling the video module after the remote user enters the room to publish the video stream.
getter/setter pair
hashCode
→ int
The hash code for this object.
no setter inherited
height
↔ int
@brief Remote Video Stream Height
getter/setter pair
isScreen
↔ bool
@brief Whether the media stream belongs to the user is a screen stream. You can know whether the current statistics come from mainstream or screen stream.
getter/setter pair
jitter
↔ int
@brief Video downlink network jitter in ms.
getter/setter pair
receivedFrameRate
↔ int ?
@platform ios
@brief Remote video receiving frame rate.
getter/setter pair
receivedKBitrate
↔ float
@brief Receiving bit rate. Video reception rate within the reference period, in kbps.
getter/setter pair
rendererOutputFrameRate
↔ int
@brief Render frame rate. The video rendering frame rate in the reference period, in fps.
getter/setter pair
rtt
↔ int
@brief Round-trip time in ms.
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
stallCount
↔ int
@brief Number of cards. Number of cards in the reference period.
getter/setter pair
stallDuration
↔ int
@brief Catton duration. The total duration of the video card in the reference period. Unit ms.
getter/setter pair
statsInterval
↔ int
@brief Statistical interval, the interval of this reference period, in ms.
This field is used to set the reference period for the callback, currently set to 2s.
getter/setter pair
superResolutionMode
↔ VideoSuperResolutionMode
@hidden for internal use only
@brief Super-resolution mode. See VideoSuperResolutionMode{@link #VideoSuperResolutionMode}.
getter/setter pair
videoIndex
↔ int
@brief For subscripts for streams with multiple resolutions.
getter/setter pair
videoLossRate
↔ float
@brief Video packet loss rate. The video downlink packet loss rate in the reference period. The value range is 0,1.
getter/setter pair
width
↔ int
@brief Remote Video Stream Width
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