2012年10月6日 星期六
RTSP -- QuickTime HTTP log
使用 QuickTime 與 sixties.mov 連接
使用的URL 為 rtsp://quicktime.tc.columbia.edu:554/users/lrf10/movies/sixties.mov
QuickTime 設定使用 HTTP 進行連接
==============================
GET /users/lrf10/movies/sixties.mov HTTP/1.0
User-Agent: QuickTime/7.7.1 (qtver=7.7.1;os=Windows NT 6.1)
x-sessioncookie: 76ii3yNZAABRIw0ABIAAAA
Accept: application/x-rtsp-tunnelled
Pragma: no-cache
Cache-Control: no-cache
==============================
HTTP/1.0 200 OK
Server: QTSS/5.0.3.3 (Build/452.22.4; Platform/MacOSX; Release/Panther; Update/Security; )
Connection: close
Date: Thu, 19 Aug 1982 18:30:00 GMT
Cache-Control: no-store
Pragma: no-cache
Content-Type: application/x-rtsp-tunnelled
==============================
// 建立 Tunnel
POST /users/lrf10/movies/sixties.mov HTTP/1.0
User-Agent: QuickTime/7.7.1 (qtver=7.7.1;os=Windows NT 6.1)
x-sessioncookie: 76ii3yNZAABRIw0ABIAAAA
Content-Type: application/x-rtsp-tunnelled
Pragma: no-cache
Cache-Control: no-cache
Content-Length: 32767
Expires: Sun, 9 Jan 1972 00:00:00 GMT
// HTTP Tunnel Data start
REVTQ1JJQkUgcnRzcDovL3F1aWNrdGltZS50Yy5jb2x1bWJpYS5lZHU6NTU0L3VzZXJzL2xyZjEwL21vdmllcy9zaXh0aWVzLm1vdiBSVFNQLzEuMA0KQ1NlcTogMQ0KQWNjZXB0OiBhcHBsaWNhdGlvbi9zZHANCkJhbmR3aWR0aDogNTEyMDAwDQpBY2NlcHQtTGFuZ3VhZ2U6IGVuLUdCDQpVc2VyLUFnZW50OiBRdWlja1RpbWUvNy43LjEgKHF0dmVyPTcuNy4xO29zPVdpbmRvd3MgTlQgNi4xKQ0KDQo=
// HTTP Tunnel Data end
// The decode data of base64 data
DESCRIBE rtsp://quicktime.tc.columbia.edu:554/users/lrf10/movies/sixties.mov RTSP/1.0
CSeq: 1
Accept: application/sdp
Bandwidth: 512000
Accept-Language: en-GB
User-Agent: QuickTime/7.7.1 (qtver=7.7.1;os=Windows NT 6.1)
==============================
RTSP/1.0 200 OK
Server: QTSS/5.0.3.3 (Build/452.22.4; Platform/MacOSX; Release/Panther; Update/Security; )
Cseq: 1
Last-Modified: Tue, 03 Feb 2004 20:06:42 GMT
Cache-Control: must-revalidate
Content-length: 389
Date: Sat, 06 Oct 2012 12:42:12 GMT
Expires: Sat, 06 Oct 2012 12:42:12 GMT
Content-Type: application/sdp
x-Accept-Retransmit: our-retransmit
x-Accept-Dynamic-Rate: 1
Content-Base: rtsp://quicktime.tc.columbia.edu:554/users/lrf10/movies/sixties.mov/
v=0
o=StreamingServer 3558516131 1075838802000 IN IP4 160.39.80.23
s=/users/lrf10/movies/sixties.mov
u=http:///
e=admin@
c=IN IP4 0.0.0.0
b=AS:698
t=0 0
a=control:*
a=range:npt=0- 31.12000
m=audio 0 RTP/AVP 96
b=AS:35
a=rtpmap:96 X-QDM/22050/2
a=control:trackID=3
a=x-bufferdelay:4.41
m=video 0 RTP/AVP 97
b=AS:662
a=rtpmap:97 X-SorensonVideo/90000
a=control:trackID=4
// 不清楚此處用途?? 推測可能是用來計算 round trip time
OPTIONS * RTSP/1.0
Content-Type: application/x-random-data
Content-Length: 1400
// 略
==============================
// HTTP Tunnel Data start
U0VUVVAgcnRzcDovL3F1aWNrdGltZS50Yy5jb2x1bWJpYS5lZHU6NTU0L3VzZXJzL2xyZjEwL21vdmllcy9zaXh0aWVzLm1vdi90cmFja0lEPTMgUlRTUC8xLjANCkNTZXE6IDINClRyYW5zcG9ydDogUlRQL0FWUC9UQ1A7dW5pY2FzdA0KeC1keW5hbWljLXJhdGU6IDENCngtdHJhbnNwb3J0LW9wdGlvbnM6IGxhdGUtdG9sZXJhbmNlPTIuMTAwMDAwDQpVc2VyLUFnZW50OiBRdWlja1RpbWUvNy43LjEgKHF0dmVyPTcuNy4xO29zPVdpbmRvd3MgTlQgNi4xKQ0KQWNjZXB0LUxhbmd1YWdlOiBlbi1HQg0KDQo=
// HTTP Tunnel Data end
// The decode data of base64 data
SETUP rtsp://quicktime.tc.columbia.edu:554/users/lrf10/movies/sixties.mov/trackID=3 RTSP/1.0
CSeq: 2
Transport: RTP/AVP/TCP;unicast
x-dynamic-rate: 1
x-transport-options: late-tolerance=2.100000
User-Agent: QuickTime/7.7.1 (qtver=7.7.1;os=Windows NT 6.1)
Accept-Language: en-GB
==============================
RTSP/1.0 200 OK
Server: QTSS/5.0.3.3 (Build/452.22.4; Platform/MacOSX; Release/Panther; Update/Security; )
Cseq: 2
Last-Modified: Tue, 03 Feb 2004 20:06:42 GMT
Cache-Control: must-revalidate
Session: 7677338089959122059
Date: Sat, 06 Oct 2012 12:42:12 GMT
Expires: Sat, 06 Oct 2012 12:42:12 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=2F4F9C8F
x-Transport-Options: late-tolerance=2.100000
x-Dynamic-Rate: 1;rtt=836
==============================
// HTTP Tunnel Data start
U0VUVVAgcnRzcDovL3F1aWNrdGltZS50Yy5jb2x1bWJpYS5lZHU6NTU0L3VzZXJzL2xyZjEwL21vdmllcy9zaXh0aWVzLm1vdi90cmFja0lEPTQgUlRTUC8xLjANCkNTZXE6IDMNClRyYW5zcG9ydDogUlRQL0FWUC9UQ1A7dW5pY2FzdA0KeC1keW5hbWljLXJhdGU6IDENCngtdHJhbnNwb3J0LW9wdGlvbnM6IGxhdGUtdG9sZXJhbmNlPTIuMTAwMDAwDQpTZXNzaW9uOiA3Njc3MzM4MDg5OTU5MTIyMDU5DQpVc2VyLUFnZW50OiBRdWlja1RpbWUvNy43LjEgKHF0dmVyPTcuNy4xO29zPVdpbmRvd3MgTlQgNi4xKQ0KQWNjZXB0LUxhbmd1YWdlOiBlbi1HQg0KDQo=
// HTTP Tunnel Data end
// The decode data of base64 data
SETUP rtsp://quicktime.tc.columbia.edu:554/users/lrf10/movies/sixties.mov/trackID=4 RTSP/1.0
CSeq: 3
Transport: RTP/AVP/TCP;unicast
x-dynamic-rate: 1
x-transport-options: late-tolerance=2.100000
Session: 7677338089959122059
User-Agent: QuickTime/7.7.1 (qtver=7.7.1;os=Windows NT 6.1)
Accept-Language: en-GB
==============================
RTSP/1.0 200 OK
Server: QTSS/5.0.3.3 (Build/452.22.4; Platform/MacOSX; Release/Panther; Update/Security; )
Cseq: 3
Session: 7677338089959122059
Last-Modified: Tue, 03 Feb 2004 20:06:42 GMT
Cache-Control: must-revalidate
Date: Sat, 06 Oct 2012 12:42:12 GMT
Expires: Sat, 06 Oct 2012 12:42:12 GMT
Transport: RTP/AVP/TCP;unicast;interleaved=2-3;ssrc=45A46257
x-Transport-Options: late-tolerance=2.100000
x-Dynamic-Rate: 1
==============================
// HTTP Tunnel Data start
UExBWSBydHNwOi8vcXVpY2t0aW1lLnRjLmNvbHVtYmlhLmVkdTo1NTQvdXNlcnMvbHJmMTAvbW92aWVzL3NpeHRpZXMubW92IFJUU1AvMS4wDQpDU2VxOiA0DQpSYW5nZTogbnB0PTAuMDAwMDAwLTMxLjEyMDAwMA0KeC1wcmVidWZmZXI6IG1heHRpbWU9Mi4wMDAwMDANClNlc3Npb246IDc2NzczMzgwODk5NTkxMjIwNTkNClVzZXItQWdlbnQ6IFF1aWNrVGltZS83LjcuMSAocXR2ZXI9Ny43LjE7b3M9V2luZG93cyBOVCA2LjEpDQoNCg==
// HTTP Tunnel Data end
// The decode data of base64 data
PLAY rtsp://quicktime.tc.columbia.edu:554/users/lrf10/movies/sixties.mov RTSP/1.0
CSeq: 4
Range: npt=0.000000-31.120000
x-prebuffer: maxtime=2.000000
Session: 7677338089959122059
User-Agent: QuickTime/7.7.1 (qtver=7.7.1;os=Windows NT 6.1)
==============================
RTSP/1.0 200 OK
Server: QTSS/5.0.3.3 (Build/452.22.4; Platform/MacOSX; Release/Panther; Update/Security; )
Cseq: 4
Session: 7677338089959122059
Range: npt=0.00000-31.12000
RTP-Info: url=rtsp://quicktime.tc.columbia.edu:554/users/lrf10/movies/sixties.mov/trackID=3;seq=26133;rtptime=52945319,url=rtsp://quicktime.tc.columbia.edu:554/users/lrf10/movies/sixties.mov/trackID=4;seq=34958;rtptime=1764616979
參考資料: