]> git.sesse.net Git - ffmpeg/commit
rtsp: Allow requesting of filtering of source packets
authorMartin Storsjö <martin@martin.st>
Thu, 6 Jan 2011 15:22:58 +0000 (15:22 +0000)
committerMartin Storsjö <martin@martin.st>
Thu, 6 Jan 2011 15:22:58 +0000 (15:22 +0000)
commita92c30d76ef3bc58be47acb8f32a2fd0bfe403e3
treedac66e093e6b393ee38faff0a89b264a67458edc
parent21a569f3022e968d74bfde4d1bfff8dab5edd41c
rtsp: Allow requesting of filtering of source packets

If filtered, only packets from the right source address and port
are received.

To test, play back e.g. some mpeg4 video RTSP stream (where the
video stream is the first stream in the presentation) over UDP.
While receiving this stream, send another stream to the same port:
ffmpeg -re -i <whatever> -vcodec mpeg4 -an -f rtp
rtp://127.0.0.1:5000?localport=1234
Normally, the RTSP playback reports lots of errors at this point.

If the RTSP stream has the ?filter_src option enabled, these
interferring packets are ignored.

Originally committed as revision 26246 to svn://svn.ffmpeg.org/ffmpeg/trunk
doc/protocols.texi
libavformat/rtsp.c
libavformat/rtsp.h