command-line RTSP request tool 0.1
you need RTSP::Lite module.
rtsp-request [OPTION]... -m method-name URL [optional-request-header]...
- -m
- method-name (OPTIONS, DESCRIBE, SETUP, PLAY, ...)
- -c
- display response code and message
- -b
- display received response body
- -p
- display received response headers
- -v
- display separators
- -d
- display network read and write (debug)
- -h
- display help
- @
- optional-request-header
- cf. "User-Agent=rtsp-request"
- @
- return-code
- 0: if response code is 200 (OK)
-1: others
./rtsp-request -b -m DESCRIBE rtsp://192.168.0.1/realqt.mov
v=0
o=- 1023412951 1023412951 IN IP4 192.168.0.1
s=<No title>
i=<No author> <No copyright>
c=IN IP4 0.0.0.0
...