Represents various statistics related to media processing.

Static methods

@:unreflectivestaticfromMediaStats(media_stats:Struct<LibVLC_Media_Stats_T>):Stats

Constructs a Stats object from raw LibVLC media statistics.

Parameters:

media_stats

The LibVLC media statistics.

Returns:

A Stats object populated with the provided media statistics.

Constructor

new()

Creates a new instance of Stats with default values.

Variables

f_demux_bitrate:Single

Bitrate of the demuxer in bits per second.

f_input_bitrate:Single

Bitrate of the input in bits per second.

f_send_bitrate:Single

Bitrate of the stream output in bits per second.

i_decoded_audio:Int

Number of audio frames decoded.

i_decoded_video:Int

Number of video frames decoded.

i_demux_corrupted:Int

Number of corrupted packets encountered by the demuxer.

i_demux_discontinuity:Int

Number of discontinuities encountered by the demuxer.

i_demux_read_bytes:Int

Number of bytes read by the demuxer.

i_displayed_pictures:Int

Number of pictures displayed.

i_lost_abuffers:Int

Number of audio buffers lost.

i_lost_pictures:Int

Number of pictures lost.

i_played_abuffers:Int

Number of audio buffers played.

i_read_bytes:Int

Number of bytes read from the input.

i_sent_bytes:Int

Number of bytes sent by the stream output.

i_sent_packets:Int

Number of packets sent by the stream output.

Methods

@:keeptoString():String

Returns a string representation of the Stats object.

Returns:

A string containing all the properties of the Stats object.