LocalVideoStats class
Inheritance
Object
NativeClass
LocalVideoStats
Properties
$resource
→ NativeResource
no setter inherited
codecType
↔ FutureOr <int ? >
@brief For the encoding type of the video, please refer to VideoCodecType{@link #VideoCodecType-2}.
getter/setter pair
encodedBitrate
↔ FutureOr <int ? >
@brief Video encoding bitrate in Kbps of the video stream with the highest resolution within the reference period.
getter/setter pair
encodedFrameCount
↔ FutureOr <int ? >
@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 <int ? >
@brief Video encoding height in px of the video stream with the highest resolution within the reference period
getter/setter pair
encodedFrameWidth
↔ FutureOr <int ? >
@brief Video encoding width in px of the video stream with the highest resolution within the reference period
getter/setter pair
encoderOutputFrameRate
↔ FutureOr <int ? >
@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 setter inherited
inputFrameRate
↔ FutureOr <int ? >
@brief Sampling frame rate in fps of video capture during this reference period
getter/setter pair
isScreen
↔ FutureOr <boolean ? >
@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 <int ? >
@brief Video uplink network jitter in ms.
getter/setter pair
ready
→ Future <void >
Whether the instance is initialized
no setter inherited
rendererOutputFrameRate
↔ FutureOr <int ? >
@brief Local-rendering frame rate in fps during this reference period
getter/setter pair
rtt
↔ FutureOr <int ? >
@brief Round-trip time in ms.
getter/setter pair
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
sentFrameRate
↔ FutureOr <int ? >
@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 <int ? >
@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 <int ? >
@hidden for internal use
@brief The current state of the video noise reduction mode of local video (0: off/1: on).
getter/setter pair
videoLossRate
↔ FutureOr <float ? >
@brief Video packet loss rate. The video uplink packet loss rate in this reference period ranges from 0,1.
getter/setter pair