Postby maozezhong » 30 Jul 2018 03:24
@Jean-Baptiste Kempf Hello, thanks for your reply, as far as I know, I can get MediaStats when playing a streamed video, like:
MediaStats
read_bytes: 7901716
input_bitrate: 2.51318240166*
demux_read_bytes: 7843817
demux_bitrate: 2.56340408325*
demux_corrupted: 0
demux_discontinuity: 2
decoded_video: 192
decoded_audio: 291
displayed_pictures: 65
lost_pictures: 0
played_abuffers: 145
lost_abuffers: 0
sent_packets: 0
sent_bytes: 0
send_bitrate: 0.0
So is it possible to get the buffer size through some calculation depends on these parameters?