IPTV RTSP协议分析

来自IPTV爱好者
跳转至: 导航搜索

C->S:

DESCRIBE rtsp://58.223.228.198:554/live/ch09050909510015486077.sdp?playtype=1&boid=001&backupagent=58.223.228.198:554&clienttype=1&time=20110407133058+08&life=172800&ifpricereqsnd=1&vcdnid=vcdn001&userid=softtysz0000015&mediaid=ch09050909510015486077&ctype=2&TSTVTimeLife=14400&contname=&authid=0&UserLiveType=1&nodelevel=3 RTSP/1.0
CSeq: 1
Accept: application/sdp
Authorization: Basic
Range: npt=now-
Content-length: 0
User-Agent: ZTE MOC
x-NAT: 192.168.15.126:2696

S->C:

RTSP/1.0 200 OK
Server: ZXUSS100 1.0
Cache-Control: no-cache
Content-Base: rtsp://58.223.228.198:554/live/ch09050909510015486077.sdp/
Content-Length: 260
Content-Type: application/sdp
CSeq: 1
Date: Thu, 07 Apr 2011 05:30:59 GMT
Expires: Thu, 07 Apr 2011 05:30:59 GMT

v=0
o=- 0 0 IN IP4 58.223.228.198
s=ZMSS RTSP Server
c=IN IP4 0.0.0.0
b=AS:1500 
t=0 0
a=control:*
a=range:clock=20110407T013059.00Z-20110407T053059.00Z
m=video 8300 RTP/AVP 33
a=rtpmap:33 MP2T/90000
a=control:trackID=2
a=3GPP-Adaptation-Support:5

C->S:

SETUP rtsp://58.223.228.198:554/live/ch09050909510015486077.sdp/trackID=2 RTSP/1.0
CSeq: 2
Range: npt=now-
Transport: MP2T/RTP/TCP;mode="PLAY";unicast;destination=192.168.15.126;interleaved=0-1,MP2T/RTP/UDP;mode="PLAY";unicast;destination=192.168.15.126; client_port=36434-36435
Content-length: 0
User-Agent: ZTE MOC

S->C:

RTSP/1.0 200 OK
Server: ZXUSS100 1.0
x-KeepAliveInterval: 5000
CSeq: 2
Date: Thu, 07 Apr 2011 05:30:59 GMT
Expires: Thu, 07 Apr 2011 05:30:59 GMT
Session: 196647231
Transport: MP2T/RTP/UDP;unicast;destination=192.168.15.126;client_port=36434-36435;server_port=22514-22515;mode="PLAY";source=58.223.228.200

C->S:

PLAY rtsp://58.223.228.198:554/live/ch09050909510015486077.sdp?playtype=1&boid=001&backupagent=58.223.228.198:554&clienttype=1&time=20110407133058+08&life=172800&ifpricereqsnd=1&vcdnid=vcdn001&userid=softtysz0000015&mediaid=ch09050909510015486077&ctype=2&TSTVTimeLife=14400&contname=&authid=0&UserLiveType=1&nodelevel=3 RTSP/1.0
CSeq: 3
Range: npt=now-
Scale: 1
Session: 196647231
Content-length: 0
User-Agent: ZTE MOC

S->C:

RTSP/1.0 200 OK
Server: ZXUSS100 1.0
x-KeepAliveInterval: 5000
CSeq: 3
Scale: 1.0
Session: 196647231
RTP-Info: url=rtsp://58.223.228.200:22514/live/ch09050909510015486077.sdp/trackID=2


C->S:

TEARDOWN rtsp://58.223.228.198:554/live/ch09050909510015486077.sdp/ RTSP/1.0
CSeq: 4
Range: npt=now-
Session: 196647231
Content-length: 0
User-Agent: ZTE MOC

S->C:

RTSP/1.0 200 OK
Server: ZXUSS100 1.0
CSeq: 4
Session: 196647231

C->S:

0000   5a 58 56 31 30 53 54 42 07 d0 23 6c c0 a8 03 6f  ZXV10STB..#l...o
0010   26 74 10 97 00 00 00 00 00 00 00 00 00 00 00 00  &t..............
0020   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0030   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0040   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0050   00 00 00 00                                      ....

S->C:

0000   90 21 fa 38 18 37 48 23 51 47 31 65 5a 58 00 02  .!.8.7H#QG1eZX..
0010   03 02 41 20 4d 9e c0 80 47 01 20 11 f7 4b 8a e2  ..A M...G. ..K..
0020   55 60 71 35 f9 c0 11 b6 40 e4 a3 2a 4c ab 67 dd  U`q5....@..*L.g.
0030   71 46 af 65 1b 32 1c d2 9d d1 4c 16 34 ca a2 a3  qF.e.2....L.4...
0040   98 92 32 16 36 59 42 0f 88 88 1c d5 13 97 8e 6f  ..2.6YB........o
0050   93 bc cd 6c 8e 61 a7 c5 84 86 0a a1 65 61 63 f5  ...l.a......eac.
0060   02 00 6b a3 b8 16 b4 2e 13 0f 87 29 73 08 20 57  ..k........)s. W
0070   42 8a ca a0 47 80 36 24 fc 2d 8d c2 c4 3a de fc  B...G.6$.-...:..
0080   d3 b2 be 3c 67 2c 49 5b c7 10 bd 01 41 d9 9b cf  ...<g,I[....A...
0090   0c 26 46 ad 8c 22 40 3a 83 8c c6 0b f2 f8 70 9b  .&F.."@:......p.
00a0   55 83 ea 50 7a 6f a6 cc 83 6d 1b 14 a7 f7 7e 36  U..Pzo...m....~6
00b0   08 5f c7 f4 6d 64 bd 9e 0b 63 71 35 2b a2 31 0c  ._..md...cq5+.1.
00c0   bb ba be dc f8 36 6a d4 c6 8d f0 c9 d6 ef e7 d7  .....6j.........
00d0   d3 e3 57 51 47 01 20 12 90 39 74 49 67 fe 02 46  ..WQG. ..9tIg..F
00e0   60 cc 98 77 02 48 6e f2 89 9b a0 02 d2 16 05 cf  `..w.Hn.........
00f0   be b5 93 eb 3e 69 d8 81 df 15 c6 14 0f 91 bf f1  ....>i..........
0100   4a 45 f1 05 b6 e4 73 38 fb ac 4f 4a e1 f8 03 b2  JE....s8..OJ....
0110   fd 28 fb 82 33 7c b8 9d 5d 31 aa 88 06 92 cc 78  .(..3|..]1.....x
0120   cf ea fd 71 a4 6b b0 b8 7c ca cc b4 81 73 9c 0f  ...q.k..|....s..
0130   20 80 6f 62 05 b3 2d 28 fe fb c4 1f 57 16 1b 6e   .ob..-(....W..n
0140   43 ab de b0 72 1e 66 b7 eb e4 9f 32 4e 53 5c a5  C...r.f....2NS\.
0150   61 a4 8e dc 98 d6 da a4 ec 1f d1 15 23 03 48 b3  a...........#.H.
0160   79 3e b4 cd 0f 70 74 e0 2f 9c b0 ff 46 ff 16 c7  y>...pt./...F...
0170   d7 f3 5f ed e1 e9 08 4c 9d a8 89 63 98 98 26 74  .._....L...c..&t
0180   b8 c6 c5 e4 84 d0 fb d0 14 bf 3f ed 5d 71 4b 6f  ..........?.]qKo
0190   47 01 20 13 28 10 6d 70 13 2e 70 bf 27 23 ae 5f  G. .(.mp..p.'#._
01a0   0b f6 fe cf 3c 88 83 3d 01 bb f6 c2 41 a6 22 f5  ....<..=....A.".
01b0   57 4c 50 7c 6d af 11 d9 51 e4 a3 33 60 ad 68 a8  WLP|m...Q..3`.h.
01c0   f4 63 41 8f a9 af 2e 9d 11 c6 e3 90 40 0d 52 c7  .cA.........@.R.
01d0   3d 24 4a a5 91 8f ee c0 87 f5 62 95 fe d9 e0 9c  =$J.......b.....
01e0   20 f0 b2 25 49 c6 d3 be cb bb 2f d5 c9 56 0f e9   ..%I...../..V..
01f0   e6 28 2d f8 76 a5 10 95 f4 43 2b cf f3 17 e4 b8  .(-.v....C+.....
0200   ce 36 a6 ff 51 96 41 7f 88 3e ea 88 b4 02 18 87  .6..Q.A..>......
0210   ca 7c d1 27 2c a8 9b 60 63 cc 88 ae 4b c7 c0 b6  .|.',..`c...K...
0220   aa a8 29 63 b8 df 94 0a 3e 47 15 75 44 de e6 1a  ..)c....>G.uD...
0230   4d 25 74 7c f3 68 fe 5d da 9c 20 f7 fb ad f3 b3  M%t|.h.].. .....
0240   ae b2 5c e3 ee 27 69 a6 ac d6 c8 01 47 01 20 14  ..\..'i.....G. .
0250   ba 7e 00 f5 f6 94 ee b3 71 3b 4f 90 2e 85 87 7f  .~......q;O.....
0260   21 be a5 cd 72 a5 24 ae 0c 4a c0 c8 9c ee 6e 08  !...r.$..J....n.
0270   b5 5b 46 44 bf 25 fd 59 5c 43 1f d2 70 af dd 68  .[FD.%.Y\C..p..h
0280   b9 58 26 54 13 48 75 d2 f3 b4 0c 69 84 5a 92 f1  .X&T.Hu....i.Z..
0290   15 74 80 1e 93 13 d4 2a 7f 3b 84 9b fb 9c d4 d1  .t.....*.;......
02a0   f0 c0 d7 b4 9b cd dc 89 fa 59 c1 16 e2 6a 2e 4a  .........Y...j.J
02b0   59 62 7d 86 89 41 9c 57 18 59 37 0e 2f cd c1 80  Yb}..A.W.Y7./...
02c0   27 7c 64 14 d3 88 b4 78 cd 78 d3 0b 03 cf a3 c0  '|d....x.x......
02d0   4f 7b 29 c5 7c b3 4d be 64 13 87 b7 82 22 0d de  O{).|.M.d...."..
02e0   e9 97 9d 71 ba a8 8e 46 4b 66 cd 30 1d 75 82 c8  ...q...FKf.0.u..
02f0   25 db c4 a1 2a 75 36 49 89 e6 9e 81 b0 a0 26 6c  %...*u6I......&l
0300   0a 38 38 1d ff 79 84 4b 47 01 20 15 8f bf 75 0d  .88..y.KG. ...u.
0310   56 80 73 25 1a d1 d4 33 7a 62 fe 5c 8e 41 5e 20  V.s%...3zb.\.A^ 
0320   ba 03 c0 75 26 73 a2 3e 5e 25 b9 c1 1c 44 0c 90  ...u&s.>^%...D..
0330   c2 16 59 45 51 40 48 eb ff a2 ab 7d 80 06 df 90  ..YEQ@H....}....
0340   83 13 3b fa d7 9c a9 a1 af 07 b0 69 c9 90 03 69  ..;........i...i
0350   f4 2c 4c f7 5d 33 cf c5 e2 d8 79 cd a0 69 44 85  .,L.]3....y..iD.
0360   f6 5f 2c fb 13 6a 3a 3e 7b a9 a0 91 03 d0 a8 40  ._,..j:>{......@
0370   cf 8f 33 79 51 41 32 a4 b6 e8 c2 df eb ab 95 ac  ..3yQA2.........
0380   af 95 79 10 f6 44 e8 96 cd 40 de c8 d7 c4 dc c1  ..y..D...@......
0390   25 a7 ba 6c 47 4c c2 79 87 7f 59 42 db bf 89 91  %..lGL.y..YB....
03a0   13 60 06 e2 64 20 7d ce 25 3b ff 1a 47 f1 13 28  .`..d }.%;..G..(
03b0   5e 8c 46 b4 6a 5d 74 a4 f3 10 ff bb 8d dc a7 66  ^.F.j]t........f
03c0   d6 01 8d 59 47 01 20 16 c6 8a 81 8a 8a c4 8c e8  ...YG. .........
03d0   76 db 4a d1 f6 67 10 39 81 06 89 49 11 b1 c5 b4  v.J..g.9...I....
03e0   4c 64 fe 5b ef 08 d3 3e b3 2d de d4 14 d4 f9 33  Ld.[...>.-.....3
03f0   c4 fb 55 bb 3a ce 1b 48 f9 92 aa 66 be 7b 64 47  ..U.:..H...f.{dG
0400   c9 c9 2d 2f 30 90 52 e9 5f e6 40 7d 1b 61 cd 40  ..-/0.R._.@}.a.@
0410   d3 6e 45 6d b7 69 e6 41 68 39 47 e7 1e ce 29 b5  .nEm.i.Ah9G...).
0420   45 d1 85 c4 01 1e ca 41 bc 79 49 86 5d 5b f0 6d  E......A.yI.][.m
0430   a5 c3 85 b2 34 2c 3b 7c 42 26 67 2a 30 81 b7 34  ....4,;|B&g*0..4
0440   e4 3c 81 cf 57 e8 3c d5 f0 61 25 1b 74 d4 4d 5f  .<..W.<..a%.t.M_
0450   fc ac 26 69 e0 d8 d9 e4 bf 03 e8 64 fd ef b5 ca  ..&i.......d....
0460   c3 5a 01 57 f4 2e e9 10 9c f8 9b 3b 7f 98 05 20  .Z.W.......;... 
0470   0d 08 a9 e9 26 6a f0 ab 16 a8 76 eb 24 fe 8f 15  ....&j....v.$...
0480   47 01 20 17 99 c6 f6 22 24 bc a5 58 84 89 04 5c  G. ...."$..X...\
0490   0a 96 25 b3 e8 d1 c0 d1 b5 23 d5 64 56 4d a8 8a  ..%......#.dVM..
04a0   3e eb dc 12 c3 aa 8e 54 83 f9 7f 0e 27 60 b0 5a  >......T....'`.Z
04b0   e7 08 10 2c 45 4b 84 a9 dd 15 50 59 bf c3 72 41  ...,EK....PY..rA
04c0   a6 1d 27 fd 08 6b 59 56 86 58 18 c9 d8 0c f4 0d  ..'..kYV.X......
04d0   27 58 0b fd e6 06 9e f0 ae 96 3f ce 9f 36 7d cd  'X........?..6}.
04e0   4d 56 c0 0a ba a1 98 ff ff df 72 11 3b cc 02 a6  MV........r.;...
04f0   b3 33 1f 00 02 cf fa 0e 48 9b 43 41 b9 e5 2e 43  .3......H.CA...C
0500   ee b5 a9 84 c6 38 ef 21 b3 66 a4 f4 40 48 5c dd  .....8.!.f..@H\.
0510   11 bd e5 1b 8f 60 b4 9a a1 97 27 91 d8 82 e6 de  .....`....'.....
0520   91 e8 47 81 48 4e 87 dc ed af 3b c6 8a 56 04 de  ..G.HN....;..V..
0530   03 74 bd 6c 67 61 df 59 f1 ed 3c 89              .t.lga.Y..<.

S->C:

0000   5a 58 56 31 30 55 53 53 07 d0 23 6c c0 a8 03 6f  ZXV10USS..#l...o
0010   26 74 10 97 00 00 00 00 00 00 00 00 00 00 00 00  &t..............
0020   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0030   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0040   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
0050   00 00 00 00                                      ....