• Martin Storsjö's avatar
    rtsp: Allow requesting of filtering of source packets · a92c30d7
    Martin Storsjö authored
    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
    a92c30d7
rtsp.h 18.6 KB