ByteRTCLocalVideoStats class

Inheritance
  • Object
  • NativeClass
  • ByteRTCLocalVideoStats

Constructors

ByteRTCLocalVideoStats([NativeClassOptions? options])

Properties

$resource → NativeResource
no setterinherited
codecType FutureOr<ByteRTCVideoCodecType?>
@brief Encoding type. See ByteRTCVideoCodecType{@link #ByteRTCVideoCodecType} type.
getter/setter pair
encodedBitrate FutureOr<NSInteger?>
@brief Video encoding bitrate in Kbps of the video stream with the highest resolution within the reference period.
getter/setter pair
encodedFrameCount FutureOr<NSInteger?>
@brief The total number of the video stream with the highest resolution within the reference period sent in the reference period.
getter/setter pair
encodedFrameHeight FutureOr<NSInteger?>
@brief Video encoding height in px of the video stream with the highest resolution within the reference period
getter/setter pair
encodedFrameWidth FutureOr<NSInteger?>
@brief Video encoding width in px of the video stream with the highest resolution within the reference period
getter/setter pair
encoderOutputFrameRate FutureOr<NSInteger?>
@brief Encoder-output frame rate in fps of the video stream with the highest resolution within the reference period
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
inputFrameRate FutureOr<NSInteger?>
@brief Sampling frame rate in fps of video capture during this reference period
getter/setter pair
isScreen FutureOr<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 FutureOr<NSInteger?>
@brief Video uplink network jitter in ms.
getter/setter pair
ready Future<void>
Whether the instance is initialized
no setterinherited
rendererOutputFrameRate FutureOr<NSInteger?>
@brief Local-rendering frame rate in fps during this reference period
getter/setter pair
rtt FutureOr<NSInteger?>
@brief Round-trip time. The unit is ms.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sentFrameRate FutureOr<NSInteger?>
@brief TX frame rate in fps of the video stream with the highest resolution within the reference period
getter/setter pair
sentKBitrate FutureOr<float?>
@brief TX bitrate in Kbps of the video stream with the highest resolution within the reference period
getter/setter pair
statsInterval FutureOr<NSInteger?>
@brief Reference period in ms.
This field is used to set the reference period for the callback, which is 2 s by default.
getter/setter pair
videoDenoiseMode FutureOr<ByteRTCVideoDenoiseMode?>
@hidden(macOS) @brief Video noise reduction mode. Refer to ByteRTCVideoDenoiseMode{@link #ByteRTCVideoDenoiseMode} for more details.
getter/setter pair
videoLossRate FutureOr<float?>
@brief Video packet loss rate. The video uplink packet loss rate in the reference period, the value range is 0,1.
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