[FFmpeg-devel] [PATCH] RTSP-MS 12/15: ASF payload support

Ronald S. Bultje rsbultje
Tue Jan 6 06:15:41 CET 2009


RTSP-MS servers send out ASF payloads, basically ASF packets. The RTSP
packet header identifies these by the RTSP stream ID (starting at 0),
whereas internally, these are matched to their ASF stream ID (which
starts at 1). These two are incompatible, and therefore every RTSP
stream has a stream:<ASF stream ID> property in the SDP to match the
two against each other. This patch adds support for the ASF payload
and parses that stream to match ASF streams against RTSP streams.

In this case, we use that to copy the ASF stream data (from the
previously parsed ASF header) back into the RTSP AVStream object. This
is probably ugly, but I don't think it's possible to work around it,
or at the very least I wouldn't know how to. Let me know if anyone has
thoughts on this...

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rtsp-ms-dynamic-asf-payload.patch
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090106/c6241311/attachment.asc>

More information about the ffmpeg-devel mailing list