Browse - Computer Tips - How can I get the .sdp (Session Description Protocol) file for an RTSP stream?
Q. How can I get the .sdp (Session Description Protocol) file for an RTSP stream?
A. A .sdp file is a small text file with <variable>=<value> pairs
that describes a stream.
You can send a DESCRIBE command to an RTSP URL to get the contents
of a .sdp file. As this bash script does:
echo DESCRIBE rtsp://192.168.1.90/11 RTSP/1.0
echo CSeq: 2
) | nc 192.168.1.90 554 > mycam.sdp
Replace the IP-address and URL with what you want.
554 is the RTSP so don't change that.