LocalAudioStats class

Inheritance
  • Object
  • PackClass
  • LocalAudioStats

Constructors

LocalAudioStats({required float audioLossRate, required int recordSampleRate, required int statsInterval, required int rtt, required int numChannels, required int sentSampleRate, required int jitter, required int audioDeviceLoopDelay, required double encodeFrameRate, float? sentKBitrate, dynamic android_internalStats, bool? $disableInit})
LocalAudioStats.fromMap(Map<String, dynamic> map)
factory

Properties

$instance → dynamic
no setterinherited
audioDeviceLoopDelay int
@brief Audio device record and playout delay in ms.
getter/setter pair
audioLossRate float
@brief Audio packet loss rate. The audio uplink packet loss rate in this reference period. The value range is 0,1.
getter/setter pair
encodeFrameRate double
@brief Audio encode frame rate.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
jitter int
@brief Audio uplink network jitter in ms.
getter/setter pair
numChannels int
@brief Number of audio channels.
getter/setter pair
recordSampleRate int
@brief Acquisition sampling rate. Audio sampling rate information collected in the reference period, in units of Hz.
getter/setter pair
rtt int
@brief Round-trip time. The unit is ms.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendKBitrate float?
@platform android @brief Send rate. The audio transmission rate in the reference period is kbps.
getter/setter pair
sentKBitrate float?
@platform ios @brief The bit rate of transmission. The audio transmission rate in the reference period is kbps.
getter/setter pair
sentSampleRate int
@brief Audio transmission sampling rate. Audio transmission sampling rate information in the reference period, in Hz.
getter/setter pair
statsInterval int
@brief Statistical interval. The interval of this reference period is in ms.
This field is used to set the reference period for the callback. The default setting is 2s.
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>