VlcMediaStats class
Runtime statistics for the current VLC media session.
Values are best-effort and depend on the media, stream type, VLC backend,
and playback state. When VLC cannot provide statistics, isAvailable is
false and all counters are zero.
Constructors
- VlcMediaStats({bool isAvailable = false, int readBytes = 0, double inputBitrate = 0, int demuxReadBytes = 0, double demuxBitrate = 0, int demuxCorrupted = 0, int demuxDiscontinuity = 0, int decodedVideo = 0, int decodedAudio = 0, int displayedPictures = 0, int lostPictures = 0, int playedAudioBuffers = 0, int lostAudioBuffers = 0, int sentPackets = 0, int sentBytes = 0, double sendBitrate = 0})
-
Creates media statistics.
const
-
VlcMediaStats.fromMap(Map<
Object?, Object?> map) -
Creates media statistics from a native platform map.
factory
Properties
- decodedAudio → int
-
Decoded audio blocks in the current session.
final
- decodedVideo → int
-
Decoded video blocks in the current session.
final
- demuxBitrate → double
-
Current demux bitrate.
final
- demuxCorrupted → int
-
Corrupted demux packets observed in the current session.
final
- demuxDiscontinuity → int
-
Demux discontinuities observed in the current session.
final
- demuxReadBytes → int
-
Bytes read by the current demux module.
final
- displayedPictures → int
-
Displayed pictures in the current session.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- inputBitrate → double
-
Current input bitrate.
final
- isAvailable → bool
-
Whether VLC reported that media statistics are available.
final
- lostAudioBuffers → int
-
Lost audio buffers in the current session.
final
- lostPictures → int
-
Lost pictures in the current session.
final
- playedAudioBuffers → int
-
Played audio buffers in the current session.
final
- readBytes → int
-
Bytes read by the current input module.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendBitrate → double
-
Current stream-output send bitrate.
final
- sentBytes → int
-
Sent stream-output bytes in the current session.
final
- sentPackets → int
-
Sent stream-output packets in the current session.
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.
override