<div dir="ltr"><div>Hello,</div><div><br></div><div>I have a server-client model in C where I encode a frame as H.264 with libx264 on the server and stream it over a UDP socket to the client, where it gets received and decoded with libx264 (using libav for encode+decode).</div><div><br></div><div>I see libav has RTP features implemented. I would like to stream RTP instead of raw UDP to help reduce out-of-order packets. I could not find example code online on how to use these fonctions. Do I use them to "wrap" the AVPacket? Some guidance and example code for streaming an AVPacket as RTP over a UDP socket in C would be very appreciated. </div><div><br></div><div>Cheers,</div><div><br></div><div>Philippe<br></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>