[FFmpeg-devel] [PATCH] Support RTP/TCP in the RTSP muxer

Martin Storsjö martin
Mon Mar 22 16:08:39 CET 2010


On Mon, 22 Mar 2010, Ronald S. Bultje wrote:

> On Mon, Mar 22, 2010 at 10:48 AM, Martin Storsj? <martin at martin.st> wrote:
> > No - av_write_frame() invokes the RTP muxer, doing the RTP packetization
> > (merging/splitting frames to packets, adding RTP headers), outputting
> > packets to its ByteIOContext whenever it has a packet to send. If the
> > ByteIOContext happens to be a dyn_packet_buf, we need to flush the
> > buffered packets and send them out over TCP, otherwise they've already
> > been sent out, if the ByteIOContext was an UDP protocol.
> 
> OK, then patch OK. Maybe add a comment saying this for next time I
> look at the code. :-).

Ok, applied with a comment. Thanks!

// Martin



More information about the ffmpeg-devel mailing list