[FFmpeg-devel] [PATCH] RTSP-MS 4/15: blocksize detection
Ronald S. Bultje
Tue Jan 6 05:57:24 CET 2009
attached patch parses the "Blocksize" field in the RTSP reply header
in response to each SETUP request (one per m= line in the SDP). This
is the maximum amount of data contained in a single RTP packet
transmitted by the server, and can be larger than
RTP_MAX_PACKET_LENGTH (it's one of those things where it's not 100%
RTP-compliant). I'm parsing it, taking the max Blocksize value and
then the max between this "max. blocksize value" and
RTP_MAX_PACKET_LENGTH to determine the buffer size for reading
individual RTP packets.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel