Skip to content

Instantly share code, notes, and snippets.

@curtishall
Created February 11, 2013 19:10
Show Gist options
  • Save curtishall/4756751 to your computer and use it in GitHub Desktop.
Save curtishall/4756751 to your computer and use it in GitHub Desktop.
echo -en "DESCRIBE /live/1 RTSP/1.0\r\nCSeq: 0\r\nUser-Agent: Bluecherry Server\r\nAccept: application/sdp\r\nAuthorization: Basic YWRtaW46Ymx1ZWNoZXJyeQ==\r\n\r\n" | nc 172.16.1.132 7002
----------------------------
Server online:
RTSP/1.0 200 OK
CSeq: 0
Content-Length: 255
Content-Type: application/sdp
v=0
o=- 0 0 IN IP4 127.0.0.1
s=No Name
t=0 0
a=tool:libavformat 53.20.0
m=video 0 RTP/AVP 96
b=AS:200
a=rtpmap:96 MP4V-ES/90000
--------------------
IP camera offline (disconnected or disabled):
RTSP/1.0 404 Not found
CSeq: 0
Content-Length: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment