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

Ronald S. Bultje rsbultje
Mon Mar 22 15:54:40 CET 2010


Hi,

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. :-).

Ronald



More information about the ffmpeg-devel mailing list