[Libav-user] Sending AVpacket data over socket

Philippe Noël philippe_noel at college.harvard.edu
Mon Dec 9 19:18:26 EET 2019


Hi,

What is the most efficient/fastest way to send AVpacket frame data (stored
in data) through a socket?

I understand that since it is a byte array, I think I would need to
memcpy + serialize it, to avoid the 0x00 error. Is there a faster way/way
to send the byte array directly? I'm interested in the lowest possible
latency at all cost and I worry serializing will be too slow.

Thanks for your help!

Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20191209/d11b4dab/attachment.html>


More information about the Libav-user mailing list