2016年10月4日 星期二

Sample Real Time Streaming Protocol

OPTIONS rtsp://192.168.9.154:554/stream2 RTSP/1.0\r\n
CSeq: 1\r\n
User-Agent: Lavf57.21.101\r\n
\r\n

RTSP/1.0 200 OK\r\n
CSeq: 1\r\n
Date: Tue, Oct 04 2016 03:48:31 GMT\r\n
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER\r\n
\r\n

DESCRIBE rtsp://192.168.9.154:554/stream2 RTSP/1.0\r\n
Accept: application/sdp\r\n
CSeq: 2\r\n
User-Agent: Lavf57.21.101\r\n
\r\n

RTSP/1.0 200 OK\r\n
CSeq: 2\r\n
Date: Tue, Oct 04 2016 03:48:31 GMT\r\n
Content-Base: rtsp://192.168.9.154/stream2/\r\n
Content-type: application/sdp
Content-length: 525
\r\n

Session Description Protocol
Session Description Protocol Version (v): 0
Owner/Creator, Session Id (o): - 1475552620719822 1 IN IP4 192.168.9.154
Session Name (s): IP camera Live streaming
Session Information (i): stream2
Time Description, active time (t): 0 0
Session Attribute (a): tool:LIVE555 Streaming Media v2012.01.26
Session Attribute (a): type:broadcast
Session Attribute (a): control:*
Session Attribute (a): range:npt=0-
Session Attribute (a): x-qt-text-nam:IP camera Live streaming
Session Attribute (a): x-qt-text-inf:stream2
Media Description, name and address (m): video 0 RTP/AVP 96
Connection Information (c): IN IP4 192.168.9.154
Bandwidth Information (b): AS:1500
Media Attribute (a): x-bufferdelay:0.15000
Media Attribute (a): rtpmap:96 H264/90000
Media Attribute (a): fmtp:96 packetization-mode=1;profile-level-id=640020;sprop-parameter-sets=Z2QAIKw0zAUAef8BbgICAoAAAfQAABOIdDADLQADLQXeXGhgBloABloLvLhQ,aO48MA==
Media Attribute (a): control:track1

Request: SETUP rtsp://192.168.9.154/stream2/track1 RTSP/1.0\r\n
Transport: RTP/AVP/UDP;unicast;client_port=23606-23607
CSeq: 3\r\n
User-Agent: Lavf57.21.101\r\n
\r\n

RTSP/1.0 200 OK\r\n
CSeq: 3\r\n
Date: Tue, Oct 04 2016 03:48:31 GMT\r\n
Transport: RTP/AVP;unicast;destination=192.168.9.99;source=192.168.9.154;client_port=23606-23607;server_port=6970-6971
Session: 21015C4A;timeout=60
\r\n

PLAY rtsp://192.168.9.154/stream2/ RTSP/1.0\r\n
Range: npt=0.000-\r\n
CSeq: 4\r\n
User-Agent: Lavf57.21.101\r\n
Session: 21015C4A
\r\n

RTSP/1.0 200 OK\r\n
CSeq: 4\r\n
Date: Tue, Oct 04 2016 03:48:31 GMT\r\n
Range: npt=0.000-\r\n
Session: 21015C4A
RTP-Info: url=rtsp://192.168.9.154/stream2/track1;seq=57586;rtptime=924475415\r\n
\r\n

沒有留言:

張貼留言