HMSHLSPlayerStats class

100ms HMSHLSPlayerStats

HMSHLSPlayerStats is a data class, confirming to the HLSPlayerStats

Whenever the player stats are attached, we get an object of HMSHLSPlayerStats in onHLSEventUpdate callback. Refer for more info HMSHLSPlayerStats

Constructors

HMSHLSPlayerStats({required double bandWidthEstimate, required int totalBytesLoaded, required double bufferedDuration, required double distanceFromLive, required double averageBitrate, required int droppedFrameCount, required double videoHeight, required double videoWidth})
HMSHLSPlayerStats.fromMap(Map map)
factory

Properties

averageBitrate double
bitrate of the current layer being played
final
bandWidthEstimate double
The current bandwidth, as estimated by the player
final
bufferedDuration double
An estimate of the total buffered duration from the current position
final
distanceFromLive double
Distance of current playing position from live edge
final
droppedFrameCount int
The number of dropped frames since the last call to this method
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalBytesLoaded int
The total bytes downloaded within the given poll duration
final
videoHeight double
The height of the video
final
videoWidth double
The width of the video
final

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