[FFmpeg-devel] [PATCH] RTSP-MS 4/15: blocksize detection

Ronald S. Bultje rsbultje
Tue Jan 6 05:57:24 CET 2009


Hi,

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.

Ronald
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtsp-ms-blocksize.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090105/d351397d/attachment.txt>



More information about the ffmpeg-devel mailing list