[Libav-user] Measure sent bytes to network

Gyula Hatalyák hatalyak.gyula at artklikk.hu
Mon Dec 2 17:29:14 CET 2013


How do I measure sent bytes to network by avformat?
I am streaming out in flv (rtmp) format to a remote host.
I use av_interleaved_write_frame to write packets to flv format.
As I know av_interleaved_write_frame returns immediately.
So I don't know how much data have been actually sent to network by the
underlying levels in avformat.
Any best practice?

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131202/1a292349/attachment.html>

More information about the Libav-user mailing list