I\'m looking for some universal way to dump rtsp stream. I want to figure out, that some rtsp stream is working well and server is sending some watchable video.
How about using libpcap to create a tcpdump/Wireshark-like tool? By removing the headers generate by the layers below the application layer (i.e. TCP/UDP/IP/...), you will have access to the RTSP stream. The stream can then be dumped to a file on disc. I have to admit that I am not that familiar with RTP/RTSP, so maybe you have to remove those headers as well and just write the payload to file (for a media player to play it back).