◆
停止Client Client
Server Server
OPTIONS
DESCRIBE
SETUP
PLAY
RTP PACKECT
RTSP Port
554
OPTIONS RTSP Method
■ 受け付けられるメソッドの交換
■ C → S は必須。 S → C はオプショナル
C->S: OPTIONS * RTSP/1.0 CSeq: 1
Require: implicit-play
Proxy-Require: gzipped-messages S->C: RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE C->S: OPTIONS * RTSP/1.0
CSeq: 1
Require: implicit-play
Proxy-Require: gzipped-messages S->C: RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE
DESCRIBE RTSP Method
■ コンテンツの情報要求
■ サーバーは SDP で応答
C->S: DESCRIBE rtsp://server.example.com/fizzle/foo RTSP/1.0 CSeq: 312
Accept: application/sdp, application/rtsl, application/mheg S->C: RTSP/1.0 200 OK
CSeq: 312
Date: 23 Jan 1997 15:35:06 GMT Content-Type: application/sdp Content-Length: 376
v=0
o=mhandley 2890844526 2890842807 IN IP4 126.16.64.4 s=SDP Seminar
i=A Seminar on the session description protocol u=http://www.cs.ucl.ac.uk/staff/M.Handley/sdp.03.ps e=mjh@isi.edu (Mark Handley)
c=IN IP4 224.2.17.12/127 t=2873397496 2873404696
C->S: DESCRIBE rtsp://server.example.com/fizzle/foo RTSP/1.0 CSeq: 312
Accept: application/sdp, application/rtsl, application/mheg S->C: RTSP/1.0 200 OK
CSeq: 312
Date: 23 Jan 1997 15:35:06 GMT Content-Type: application/sdp Content-Length: 376
v=0
o=mhandley 2890844526 2890842807 IN IP4 126.16.64.4 s=SDP Seminar
i=A Seminar on the session description protocol u=http://www.cs.ucl.ac.uk/staff/M.Handley/sdp.03.ps e=mjh@isi.edu (Mark Handley)
c=IN IP4 224.2.17.12/127 t=2873397496 2873404696
SETUP RTSP Method
■ 伝送方法とポートのネゴシエーション
■ クライアントは使用可能な Transport を列挙
■ サーバは選択して応答
■ セッション番号の付与
C->S: SETUP rtsp://example.com/foo/bar/baz.rm RTSP/1.0 CSeq: 302
Transport: RTP/AVP;unicast;client_port=4588-4589 S->C: RTSP/1.0 200 OK
CSeq: 302
Date: 23 Jan 1997 15:35:06 GMT Session: 47112344
Transport: RTP/AVP;unicast; client_port=4588-4589;server_port=6256-6257 C->S: SETUP rtsp://example.com/foo/bar/baz.rm RTSP/1.0
CSeq: 302
Transport: RTP/AVP;unicast;client_port=4588-4589 S->C: RTSP/1.0 200 OK
CSeq: 302
Date: 23 Jan 1997 15:35:06 GMT Session: 47112344
Transport: RTP/AVP;unicast; client_port=4588-4589;server_port=6256-6257
PLAY RTSP Method
■ サーバーに SETUP で示した方法での再生開始を要求
■ 再生場所を時間で指定可能
■ 例では 3 箇所を連続して再生指定
■ Ranege 無しでも OK
◆
デフォルトは最初から最後までC->S: PLAY rtsp://audio.example.com/audio RTSP/1.0 CSeq: 835
Session: 12345678 Range: npt=10-15
C->S: PLAY rtsp://audio.example.com/audio RTSP/1.0 CSeq: 836
Session: 12345678 Range: npt=20-25
C->S: PLAY rtsp://audio.example.com/audio RTSP/1.0 C->S: PLAY rtsp://audio.example.com/audio RTSP/1.0
CSeq: 835
Session: 12345678 Range: npt=10-15
C->S: PLAY rtsp://audio.example.com/audio RTSP/1.0 CSeq: 836
Session: 12345678 Range: npt=20-25
C->S: PLAY rtsp://audio.example.com/audio RTSP/1.0
TEARDOWN RTSP Method
■ 再生の停止
C->S: TEARDOWN rtsp://example.com/fizzle/foo RTSP/1.0 CSeq: 892
Session: 12345678 S->C: RTSP/1.0 200 OK
CSeq: 892
C->S: TEARDOWN rtsp://example.com/fizzle/foo RTSP/1.0 CSeq: 892
Session: 12345678 S->C: RTSP/1.0 200 OK
CSeq: 892
SDP Session Description Protocol RFC2327
Optional items are marked with a `*'.Optional items are marked with a `*'.
Session description
v= (protocol version)
o= (owner/creator and session identifier).
s= (session name) i=* (session information) u=* (URI of description) e=* (email address) p=* (phone number)
c=* (connection information –
not required if included in all media) b=* (bandwidth information)
z=* (time zone adjustments) k=* (encryption key)
a=* (zero or more session attribute lines) Time description
t= (time the session is active) r=* (zero or more repeat times) Media description
Optional items are marked with a `*'.
Session description
v= (protocol version)
o= (owner/creator and session identifier).
s= (session name) i=* (session information) u=* (URI of description) e=* (email address) p=* (phone number)
c=* (connection information –
not required if included in all media) b=* (bandwidth information)
z=* (time zone adjustments) k=* (encryption key)
a=* (zero or more session attribute lines) Time description
t= (time the session is active) r=* (zero or more repeat times) Media description
m= (media name and transport address)
a=rtpmap:<payload type> <encoding name>/<clock rate>[/<encoding parameters>]
a=cat:<category>
a=keywds:<keywords>
a=tool:<name and version of tool>
a=ptime:<packet time>
a=recvonly a=sendrecv a=sendonly
a=orient:<whiteboard orientation>
a=type:<conference type>
a=charset:<character set>
a=sdplang:<language tag>
a=lang:<language tag>
a=framerate:<frame rate>
a=quality:<quality>
a=fmtp:<format> <format specific parameters>
a=rtpmap:<payload type> <encoding name>/<clock rate>[/<encoding parameters>]
a=cat:<category>
a=keywds:<keywords>
a=tool:<name and version of tool>
a=ptime:<packet time>
a=recvonly a=sendrecv a=sendonly
a=orient:<whiteboard orientation>
a=type:<conference type>
a=charset:<character set>
a=sdplang:<language tag>
a=lang:<language tag>
a=framerate:<frame rate>
a=quality:<quality>
a=fmtp:<format> <format specific parameters>
改訂作業中の規格
■
現在RTSP/SDPの大規模な改版が進行中
sdpng-06 Session Description and Capability Negotiation
sdpng-trans-04 SDPng Transition
sdescriptions-01 SDP Security Descriptions for Media Streams
kmgmt-ext-09 Key Management Extensions for Session Description Protocol (SDP) and Real Time Streaming Protocol
(RTSP) RFC2326
RFC2337
offer-answer-examples-01 Session Description Protocol Offer Answer Examples
sdp-bwparam-04 A Transport Independent Bandwidth Modifier for the Session Description Protocol (SDP).
sdp-implem-00 Implementation Status Of SDP
sdp-srcfilter-05 Session Description Protocol (SDP) Source Filters
sdp-comedia-05 Connection-Oriented Media Transport in SDP
sdp-new-14 SDP: Session Description Protocol
RFC2327 SDP
rtsp-nat-01 How to make Real-Time Streaming Protocol (RTSP) traverse Network Address Translators (NAT) and
interact with Firewalls.
rfc2326bis-04 Real Time Streaming Protocol (RTSP)
RFC2326 RTSP
draft-ietf-mmusic-xxx.txt 内容
内容内容 内容 オリジナル
オリジナルオリジナル オリジナル
実際の RTSP フロー
■ プロトコルをダンプ・解析
■ RTSP パケットの採取・解析方法
◆ UNIX
コマンドライン# tcpdump -s 1518 –w rtsp.log port rtsp
# tcpshow < rtsp.log
または# tcpdump -s 1518 -lenx port rtsp | tcpshow –cooked
◆ GUI
(Windows, X)
● Ethereal
■ RTP パケットの採取・再生ツール rtptools も
RTSP - Real G2
by tcpdump + tcpshow
RTSP - Real G2 OPTIONS
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=421 id=A4CA DATA: OPTIONS rtsp://real.example.com:554 RTSP/1.0.
CSeq: 1.
User-Agent: RealMedia RealPlayer Version 6.0.7.1503 (win32).
ClientChallenge: a3e77a6aab4fbcccb004a5bdbb3d1a3e.
PlayerStarttime: [27/10/2001:20:04:21 09:00].
CompanyID: L6oRDJT2B7kChymyPJHFRA==.
GUID: 00000000-0000-0000-0000-000000000000.
RegionData: .
ClientID: WinNT_5.0_6.0.9.450_play32_SF8J_ja_686.
Pragma: initiate-session.
.
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=333 id=BE05
DATA: RTSP/1.0 200 OK.
CSeq: 1.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
Session: 1481386453-1.
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=421 id=A4CA DATA: OPTIONS rtspOPTIONS rtsp://real.example.com:554 RTSP/1.0.://real.example.com:554 RTSP/1.0.
CSeq CSeq: 1.: 1.
User-User-Agent:Agent: RealMediaRealMedia RealPlayer Version 6.0.7.1503 (win32).RealPlayer Version 6.0.7.1503 (win32).
ClientChallenge: a3e77a6aab4fbcccb004a5bdbb3d1a3e.
PlayerStarttime: [27/10/2001:20:04:21 09:00].
CompanyID: L6oRDJT2B7kChymyPJHFRA==.
GUID: 00000000-0000-0000-0000-000000000000.
RegionData: .
ClientID: WinNT_5.0_6.0.9.450_play32_SF8J_ja_686.
Pragma
Pragma:: initiate-session.
. .
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=333 id=BE05
DATA: RTSP/1.0 200 OK.RTSP/1.0 200 OK.
CSeq: 1.CSeq: 1.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
Session: 1481386453 Session: 1481386453--1.1.
RTSP - Real G2 DESCRIBE
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=465 id=A4CB DATA: DESCRIBE rtsp://real.example.com:554/real8video.rm RTSP/1.0.
CSeq: 2.
Accept: application/sdp.
Session: 1481386453-1.
Cookie: cbid=ffjjihjidgdkjidmeoprourtfrjrktlufkfgkidldjgkelpllsmrmpqtrrlnrqcuikdghhdi.
Bandwidth: 115200.
GUID: 00000000-0000-0000-0000-000000000000.
RegionData: .
ClientID: WinNT_5.0_6.0.9.450_play32_SF8J_ja_686.
SupportsMaximumASMBandwidth: 1.
Language: ja, *.
Require: com.real.retain-entity-for-setup.
.
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=465 id=A4CB DATA: DESCRIBEDESCRIBErtsp://real.example.com:554/real8video.rtsp://real.example.com:554/real8video.rmrmRTSP/1.0.RTSP/1.0.
CSeq: 2.CSeq: 2.
Accept: application/
Accept: application/sdpsdp.. Session: 1481386453 Session: 1481386453--1.1.
Cookie: cbid=ffjjihjidgdkjidmeoprourtfrjrktlufkfgkidldjgkelpllsmrmpqtrrlnrqcuikdghhdi.
Bandwidth: 115200.
Bandwidth: 115200.
GUID: 00000000-0000-0000-0000-000000000000.
RegionData: .
ClientID: WinNT_5.0_6.0.9.450_play32_SF8J_ja_686.
SupportsMaximumASMBandwidth: 1.
Language: ja, *.
Require: com.real.retain
Require: com.real.retain--entityentity--forfor--setup.setup.
..
RTSP - Real G2 DESCRIBE
IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=1500 id=BE07 DATA: RTSP/1.0 200 OK.
CSeq: 2.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
vsrc: http://real.example.com:8080/viewsource/template.html?nuyhtggaysz63Evlrfnb53me1bcfngA1v1yeC3d4ngEt5o5gwuw4t6x05jbhcv66ngE8xg8f.
Last-Modified: Sat, 27 Oct 2001 10:31:13 GMT.
Content-base: rtsp://real.example.com:554/real8video.rm/.
ETag: 1481386453-1.
Session: 1481386453-1.
Content-type: application/sdp.
Content-length: 5262.
. v=0
o=- 1004178673 1004178673 IN IP4 real.example.com s=White Rain
i=<No author> .2000 t=0 0
a=SdpplinVersion:1610643188 a=Flags:integer;11
a=IsRealDataType:integer;1 a=StreamCount:integer;2
a=Title:buffer;"V2hpdGUgUmFpbgA="
a=Copyright:buffer;"qTIwMDAA"
a=Keywords:string;""
a=ASMRuleBook:string;"#($Bandwidth < 15000),Stream0Bandwidth = 8000, Stream1Bandwidth = 4000;#($Bandwidth >= 15000) && ($Bandwidth <
20000),Stream0Bandwidth = 8000, Stream1Bandwidth = 7000;#($Bandwidth >= 20000) && ($Bandwidth < 23025),Stream0Bandwidth = 8000, Stream1Bandwidth = 12000;#($Bandwidth >= 23025) && ($Bandwidth < 33999),Stream0Bandwidth = 11025, Stream1Bandwidth =
12000;#($Bandwidth >= 33999) && ($Bandwidth < 59999),Stream0Bandwidth = 11025, Stream1Bandwidth = 22974;#($Bandwidth >= 59999) &&
($Bandwidth < 79999),Stream0Bandwidth = 20672, Stream1Bandwidth = 39327;#($Bandwidth >= 79999),Stream0Bandwidth = 20672, IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=1500 id=BE07
DATA: RTSP/1.0 200 OK.RTSP/1.0 200 OK.
CSeqCSeq: 2.: 2.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
vsrc: http://real.example.com:8080/viewsource/template.html?nuyhtggaysz63Evlrfnb53me1bcfngA1v1yeC3d4ngEt5o5gwuw4t6x05jbhcv66ngE8xg8f.
Last
Last--Modified: Sat, 27 Oct 2001 10:31:13 GMT.Modified: Sat, 27 Oct 2001 10:31:13 GMT.
Content
Content--base:base:rtsprtsp://real.example.com:554/real8video.://real.example.com:554/real8video.rmrm/./.
ETag: 1481386453-1.
Session: 1481386453 Session: 1481386453--1.1.
Content
Content--type: application/type: application/sdpsdp.. Content
Content--length: 5262.length: 5262.
.. v=0v=0 o=
o=--1004178673 1004178673 IN IP4 real.example.com1004178673 1004178673 IN IP4 real.example.com s=White Rain
s=White Rain i=<No author> .2000 i=<No author> .2000 t=0 0
t=0 0
a=SdpplinVersion:1610643188 a=Flags:integer;11
a=IsRealDataType:integer;1 a=StreamCount:integer;2
a=Title:buffer;"V2hpdGUgUmFpbgA="
a=Copyright:buffer;"qTIwMDAA"
a=Keywords:string;""
a=ASMRuleBook:string;"#($Bandwidth < 15000),Stream0Bandwidth = 8000, Stream1Bandwidth = 4000;#($Bandwidth >= 15000) && ($Bandwidth <
20000),Stream0Bandwidth = 8000, Stream1Bandwidth = 7000;#($Bandwidth >= 20000) && ($Bandwidth < 23025),Stream0Bandwidth = 8000, Stream1Bandwidth = 12000;#($Bandwidth >= 23025) && ($Bandwidth < 33999),Stream0Bandwidth = 11025, Stream1Bandwidth =
12000;#($Bandwidth >= 33999) && ($Bandwidth < 59999),Stream0Bandwidth = 11025, Stream1Bandwidth = 22974;#($Bandwidth >= 59999) &&
($Bandwidth < 79999),Stream0Bandwidth = 20672, Stream1Bandwidth = 39327;#($Bandwidth >= 79999),Stream0Bandwidth = 20672, Stream1Bandwidth = 59327;"
v= (protocol version)
o= (owner/creator and session identifier).
s= (session name) i= (session information) t= (time the session is active)
m= (media name and transport address) b= (bandwidth information)
v= (protocol version)
o= (owner/creator and session identifier).
s= (session name) i= (session information) t= (time the session is active)
m= (media name and transport address) b= (bandwidth information)
RTSP - Real G2 DESCRIBE
IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=1500 id=BE08 DATA: 00
a=rtpmap:101 x-pn-realaudio
a=mimetype:string;"audio/x-pn-realaudio"
a=MinimumSwitchOverlap:integer;200 a=StartTime:integer;0
a=AvgBitRate:integer;20672 a=EndOneRuleEndAll:integer;1 a=AvgPacketSize:integer;600 a=EndTime:integer;51092 a=SeekGreaterOnSwitch:integer;0 a=Preroll:integer;4642
a=MaxPacketSize:integer;600 a=MaxBitRate:integer;20672
a=RMFF 1.0 Flags:buffer;"AAgAAgAAAAIAAAACAAAAAgAA"
a=OpaqueData:buffer;"TUxUSQAIAAMAAwAAAAAAAQABAAIAAgAEAAAAVi5yYf0ABQAALnJhNWYFUucABQAAAEYAAAAAASAAA M8AAADqYG9vYzsACAEgACAAAAAAH0AAAB9AAAAAEAABZ2VucmNvb2sBBwAAAAAACAEAAAEBAAAMAAAAVi5yYf0ABQAALn JhNWYFUucABQAAAEYAAQAAAWAAARMAAAFC/wAAAAAACAFgACAAAAAAKxEAACsRAAAAEAABZ2VucmNvb2sBBwAAAAAAC AEAAAEBAAAMAAAAXi5yYf0ABQAALnJhNWYFUucABQAAAE4AEwAAAlgAAgOgAAJdnwAAAAAACgJYADwAAAAAViIAAFYiAAA AEAACZ2VucmNvb2sBBwAAAAAAEAEAAAMEAAAXAAAAAAABAAMAAABWLnJh/QAFAAAucmE1ZgVS5wAFAAAARgAAAAABIAA AzwAAAOpgb29jOwAIASAAIAAAAAAfQAAAH0AAAAAQAAFnZW5yY29vawEHAAAAAAAIAQAAAQEAAAw="
a=StreamName:string;"audio/x-pn-multirate-realaudio logical stream"
a=ASMRuleBook:string;"#($OldPNMPlayer),AverageBandwidth=8000,priority=5,PNMKeyframeRule=T;#($OldPNMPlayer),AverageBandwidth=0,pr iority=5,PNMNonKeyframeRule=T;#($Bandwidth < 11025),AverageBandwidth=8000,Priority=5;#($Bandwidth <
11025),AverageBandwidth=0,Priority=5,OnDepend=¥"2¥", OffDepend=¥"2¥";#($Bandwidth >= 11025) && ($Bandwidth <
20672),AverageBandwidth=11025,Priority=5;#($Bandwidth >= 11025) && ($Bandwidth < 20672),AverageBandwidth=0,Pri IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=1500 id=BE08
DATA: 00
a=a=rtpmaprtpmap:101:101xx--pnpn--realaudiorealaudio
a=mimetype:string;"audio/x-pn-realaudio"
a=MinimumSwitchOverlap:integer;200 a=StartTime:integer;0
a=AvgBitRate:integer;20672 a=EndOneRuleEndAll:integer;1 a=AvgPacketSize:integer;600 a=EndTime:integer;51092 a=SeekGreaterOnSwitch:integer;0 a=Preroll:integer;4642
a=MaxPacketSize:integer;600 a=MaxBitRate:integer;20672
a=RMFF 1.0 Flags:buffer;"AAgAAgAAAAIAAAACAAAAAgAA"
a=OpaqueData:buffer;"TUxUSQAIAAMAAwAAAAAAAQABAAIAAgAEAAAAVi5yYf0ABQAALnJhNWYFUucABQAAAEYAAAAAASAAA M8AAADqYG9vYzsACAEgACAAAAAAH0AAAB9AAAAAEAABZ2VucmNvb2sBBwAAAAAACAEAAAEBAAAMAAAAVi5yYf0ABQAALn JhNWYFUucABQAAAEYAAQAAAWAAARMAAAFC/wAAAAAACAFgACAAAAAAKxEAACsRAAAAEAABZ2VucmNvb2sBBwAAAAAAC AEAAAEBAAAMAAAAXi5yYf0ABQAALnJhNWYFUucABQAAAE4AEwAAAlgAAgOgAAJdnwAAAAAACgJYADwAAAAAViIAAFYiAAA AEAACZ2VucmNvb2sBBwAAAAAAEAEAAAMEAAAXAAAAAAABAAMAAABWLnJh/QAFAAAucmE1ZgVS5wAFAAAARgAAAAABIAA AzwAAAOpgb29jOwAIASAAIAAAAAAfQAAAH0AAAAAQAAFnZW5yY29vawEHAAAAAAAIAQAAAQEAAAw="
a=StreamName:string;"audio/x-pn-multirate-realaudio logical stream"
a=ASMRuleBook:string;"#($OldPNMPlayer),AverageBandwidth=8000,priority=5,PNMKeyframeRule=T;#($OldPNMPlayer),AverageBandwidth=0,pr iority=5,PNMNonKeyframeRule=T;#($Bandwidth < 11025),AverageBandwidth=8000,Priority=5;#($Bandwidth <
11025),AverageBandwidth=0,Priority=5,OnDepend=¥"2¥", OffDepend=¥"2¥";#($Bandwidth >= 11025) && ($Bandwidth <
20672),AverageBandwidth=11025,Priority=5;#($Bandwidth >= 11025) && ($Bandwidth < 20672),AverageBandwidth=0,Pri
a=rtpmap:<payload type> <encoding name>/<clock rate>[/<encoding parameters>]
a=rtpmap:<payload type> <encoding name>/<clock rate>[/<encoding parameters>]
RTSP - Real G2 DESCRIBE
IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=1500 id=BE09
DATA: ority=5,OnDepend=¥"4¥", OffDepend=¥"4¥";#($Bandwidth >= 20672),AverageBandwidth=20672,Priority=5;#($Bandwidth
>= 20672),AverageBandwidth=0,Priority=5,OnDepend=¥"6¥", OffDepend=¥"6¥";"
m=video 0 RTP/AVP 101 b=AS:59
a=control:streamid=1 a=range:npt=0-50.750000 a=length:npt=50.750000 a=rtpmap:101 x-pn-realvideo
a=mimetype:string;"video/x-pn-realvideo"
a=MinimumSwitchOverlap:integer;0 a=StartTime:integer;0
a=AvgBitRate:integer;59327 a=EndOneRuleEndAll:integer;1 a=AvgPacketSize:integer;509 a=EndTime:integer;50750
a=SeekGreaterOnSwitch:integer;1 a=Preroll:integer;20353
a=MaxPacketSize:integer;607 a=MaxBitRate:integer;59327
IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=1500 id=BE09
DATA: ority=5,OnDepend=¥"4¥", OffDepend=¥"4¥";#($Bandwidth >= 20672),AverageBandwidth=20672,Priority=5;#($Bandwidth
>= 20672),AverageBandwidth=0,Priority=5,OnDepend=¥"6¥", OffDepend=¥"6¥";"
m=video 0 RTP/AVP 101 m=video 0 RTP/AVP 101 b=AS:59
b=AS:59
a=control:streamid=1 a=range:npt=0-50.750000 a=length:npt=50.750000 a=rtpmapa=rtpmap:101:101x-x-pnpn--realvideorealvideo
a=mimetype:string;"video/x-pn-realvideo"
a=MinimumSwitchOverlap:integer;0 a=StartTime:integer;0
a=AvgBitRate:integer;59327 a=EndOneRuleEndAll:integer;1 a=AvgPacketSize:integer;509 a=EndTime:integer;50750
a=SeekGreaterOnSwitch:integer;1 a=Preroll:integer;20353
a=MaxPacketSize:integer;607 a=MaxBitRate:integer;59327
m= (media name and transport address) b= (bandwidth information)
a=rtpmap:<payload type> <encoding name>/<clock rate>[/<encoding parameters>]
m= (media name and transport address) b= (bandwidth information)
a=rtpmap:<payload type> <encoding name>/<clock rate>[/<encoding parameters>]
RTSP - Real G2 DESCRIBE
IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=1319 id=BE0C DATA: 000,priority=9,PNMKeyframeRule=T;#(($Bandwidth >= 12000) &&
($OldPNMPlayer)),AverageBandwidth=0,priority=5,PNMNonKeyframeRule=T;#(($Bandwidth < 12000) &&
($OldPNMPlayer)),TimestampDelivery=T,DropByN=T,priority=9,PNMThinningRule=T;#($Bandwidth <
4000),TimestampDelivery=T,DropByN=T,priority=9;#($Bandwidth >= 4000) && ($Bandwidth <
7000),AverageBandwidth=4000,Priority=9;#($Bandwidth >= 4000) && ($Bandwidth <
7000),AverageBandwidth=0,Priority=5,OnDepend=¥"4¥";#($Bandwidth >= 7000) && ($Bandwidth <
12000),AverageBandwidth=7000,Priority=9;#($Bandwidth >= 7000) && ($Bandwidth <
12000),AverageBandwidth=0,Priority=5,OnDepend=¥"6¥";#($Bandwidth >= 12000) && ($Bandwidth <
22974),AverageBandwidth=12000,Priority=9;#($Bandwidth >= 12000) && ($Bandwidth <
22974),AverageBandwidth=0,Priority=5,OnDepend=¥"8¥";#($Bandwidth >= 22974) && ($Bandwidth <
39327),AverageBandwidth=22974,Priority=9;#($Bandwidth >= 22974) && ($Bandwidth <
39327),AverageBandwidth=0,Priority=5,OnDepend=¥"10¥";#($Bandwidth >= 39327) && ($Bandwidth <
59327),AverageBandwidth=39327,Priority=9;#($Bandwidth >= 39327) && ($Bandwidth <
59327),AverageBandwidth=0,Priority=5,OnDepend=¥"12¥";#($Bandwidth >=
59327),AverageBandwidth=59327,Priority=9;#($Bandwidth >= 59327),AverageBandwidth=0,Priority=5,OnDepend=¥"14¥";"
IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=1319 id=BE0C DATA: 000,priority=9,PNMKeyframeRule=T;#(($Bandwidth >= 12000) &&
($OldPNMPlayer)),AverageBandwidth=0,priority=5,PNMNonKeyframeRule=T;#(($Bandwidth < 12000) &&
($OldPNMPlayer)),TimestampDelivery=T,DropByN=T,priority=9,PNMThinningRule=T;#($Bandwidth <
4000),TimestampDelivery=T,DropByN=T,priority=9;#($Bandwidth >= 4000) && ($Bandwidth <
7000),AverageBandwidth=4000,Priority=9;#($Bandwidth >= 4000) && ($Bandwidth <
7000),AverageBandwidth=0,Priority=5,OnDepend=¥"4¥";#($Bandwidth >= 7000) && ($Bandwidth <
12000),AverageBandwidth=7000,Priority=9;#($Bandwidth >= 7000) && ($Bandwidth <
12000),AverageBandwidth=0,Priority=5,OnDepend=¥"6¥";#($Bandwidth >= 12000) && ($Bandwidth <
22974),AverageBandwidth=12000,Priority=9;#($Bandwidth >= 12000) && ($Bandwidth <
22974),AverageBandwidth=0,Priority=5,OnDepend=¥"8¥";#($Bandwidth >= 22974) && ($Bandwidth <
39327),AverageBandwidth=22974,Priority=9;#($Bandwidth >= 22974) && ($Bandwidth <
39327),AverageBandwidth=0,Priority=5,OnDepend=¥"10¥";#($Bandwidth >= 39327) && ($Bandwidth <
59327),AverageBandwidth=39327,Priority=9;#($Bandwidth >= 39327) && ($Bandwidth <
59327),AverageBandwidth=0,Priority=5,OnDepend=¥"12¥";#($Bandwidth >=
59327),AverageBandwidth=59327,Priority=9;#($Bandwidth >= 59327),AverageBandwidth=0,Priority=5,OnDepend=¥"14¥";"
RTSP - Real G2 SETUP
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=420 id=A4CE
DATA: SETUP rtsp://real.example.com:554/real8video.rm/streamid=0 RTSP/1.0.
CSeq: 3.
RealChallenge2: 5ef5555fcad4124c05ab233757b7dca801d0a8e3, sd=55c1025d.
RDTFeatureLevel: 2.
Transport: x-real-rdt/mcast;client_port=7070;mode=play,x-real-rdt/udp;client_port=7070;mode=play,x-pn-tng/udp;client_port=7070;mode=play,rtp/avp;unicast;client_port=7070-7071;mode=play.
If-Match: 1481386453-1.
.
--- -
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=281 id=BE0E DATA: RTSP/1.0 200 OK.
CSeq: 3.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
Session: 1481386453-1.
RealChallenge3: f8081bb888b5bd97507bcd09dcac0d944f213d09,sdr=f18b5cd0.
RDTFeatureLevel: 2.
Transport: x-real-rdt/udp;client_port=7070;server_port=23116.
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=420 id=A4CE
DATA: SETUPSETUPrtsp://real.example.com:554/real8video.rtsp://real.example.com:554/real8video.rmrm//streamidstreamid=0 RTSP/1.0.=0 RTSP/1.0.
CSeq: 3.CSeq: 3.
RealChallenge2: 5ef5555fcad4124c05ab233757b7dca801d0a8e3, sd=55c1025d.
RDTFeatureLevel: 2.
Transport:
Transport:x-x-realreal--rdtrdt//mcastmcast;;client_portclient_port=7070;mode=play,=7070;mode=play,xx--realreal--rdtrdt//udpudp;;client_portclient_port=7070;mode=play,=7070;mode=play,xx--pnpn- -tng/tng/udpudp;;client_portclient_port=7070;mode=play,=7070;mode=play,rtprtp//avpavp;;unicastunicast;;client_portclient_port=7070=7070--7071;mode=play.7071;mode=play.
If-If-Match: 1481386453Match: 1481386453--1.1.
..
--- -
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=281 id=BE0E DATA: RTSP/1.0 200 OK.RTSP/1.0 200 OK.
CSeq CSeq: 3.: 3.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
Session: 1481386453 Session: 1481386453--1.1.
RealChallenge3: f8081bb888b5bd97507bcd09dcac0d944f213d09,sdr=f18b5cd0.
RDTFeatureLevel: 2.
Transport:
Transport:x-x-realreal--rdtrdt//udpudp;;client_portclient_port=7070;=7070;server_portserver_port=23116.=23116.
RTSP - Real G2 SETUP
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=216 id=A4CF
DATA: SETUP rtsp://real.example.com:554/real8video.rm/streamid=1 RTSP/1.0.
CSeq: 4.
RDTFeatureLevel: 2.
Transport: x-real-rdt/udp;client_port=7070;mode=play.
Session: 1481386453-1.
.
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=210 id=BE0F DATA: RTSP/1.0 200 OK.
CSeq: 4.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
Session: 1481386453-1.
RDTFeatureLevel: 2.
Transport: x-real-rdt/udp;client_port=7070;server_port=23116.
.
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=216 id=A4CF
DATA: SETUPSETUPrtsp://real.example.com:554/real8video.rtsp://real.example.com:554/real8video.rmrm//streamidstreamid=1 RTSP/1.0.=1 RTSP/1.0.
CSeq: 4.CSeq: 4.
RDTFeatureLevel: 2.
Transport:
Transport:x-x-realreal--rdtrdt//udpudp;;client_portclient_port=7070;mode=play.=7070;mode=play.
Session: 1481386453 Session: 1481386453--1.1.
..
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=210 id=BE0F DATA: RTSP/1.0 200 OK.RTSP/1.0 200 OK.
CSeq CSeq: 4.: 4.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
Session: 1481386453 Session: 1481386453--1.1.
RDTFeatureLevel: 2.
Transport:
Transport:x-x-realreal--rdtrdt//udpudp;;client_portclient_port=7070;=7070;server_portserver_port=23116.=23116.
..
RTSP - Real G2 SET_PARAMETER, PLAY
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=380 id=A4D1
DATA: SET_PARAMETER rtsp://real.example.com:554/real8video.rm RTSP/1.0.
CSeq: 5.
Subscribe: stream=0;rule=6,stream=0;rule=7,stream=1;rule=14,stream=1;rule=15.
Session: 1481386453-1.
.
PLAY rtsp://real.example.com:554/real8video.rm RTSP/1.0.
CSeq: 6.
Session: 1481386453-1.
Range: npt=0-51.092000.
.
SET_PARAMETER * RTSP/1.0.
CSeq: 7.
Ping: Pong.
.
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=128 id=BE14 DATA: RTSP/1.0 200 OK.
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=380 id=A4D1
DATA: SET_PARAMETERSET_PARAMETERrtsp://real.example.com:554/real8video.rtsp://real.example.com:554/real8video.rmrmRTSP/1.0.RTSP/1.0.
CSeq: 5.CSeq: 5.
Subscribe: stream=0;rule=6,stream=0;rule=7,stream=1;rule=14,stream=1;rule=15.
Session: 1481386453 Session: 1481386453--1.1.
..
PLAYPLAYrtsp://real.example.com:554/real8video.rtsp://real.example.com:554/real8video.rmrmRTSP/1.0.RTSP/1.0.
CSeq: 6.CSeq: 6.
Session: 1481386453 Session: 1481386453--1.1.
Range:
Range:npt=0npt=0--51.092000.51.092000.
. .
SET_PARAMETER * RTSP/1.0.
SET_PARAMETER * RTSP/1.0.
CSeq CSeq: 7.: 7.
Ping: Pong.
..
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=128 id=BE14 DATA: RTSP/1.0 200 OK.RTSP/1.0 200 OK.
RTSP - Real G2 SET_PARAMETER
IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=348 id=BE17 DATA: RTSP/1.0 200 OK.
CSeq: 6.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
RTP-Info: url=rtsp://real.example.com:554/real8video.rm/streamid=0;seq=0;rtptime=0, url=rtsp://real.example.com:554/real8video.rm/streamid=1;seq=0;rtptime=0.
.
RTSP/1.0 451 Parameter Not Understood.
CSeq: 7.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
.
---IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=188 id=A4D4
DATA: SET_PARAMETER rtsp://real.example.com:554/real8video.rm RTSP/1.0.
CSeq: 8.
SetDeliveryBandwidth: Bandwidth=96000;BackOff=0.
Session: 1481386453-1.
.
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=128 id=BE26 DATA: RTSP/1.0 200 OK.
CSeq: 8.
Date: Sat, 27 Oct 2001 11:05:13 GMT.
Session: 1481386453-1.
.
IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=348 id=BE17 DATA: RTSP/1.0 200 OK.RTSP/1.0 200 OK.
CSeq: 6.CSeq: 6.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
RTP-RTP-Info:Info:url=url=rtsprtsp://real.example.com:554/real8video.://real.example.com:554/real8video.rm/rm/streamidstreamid=0;=0;seqseq=0;=0;rtptimertptime=0,=0, url
url==rtsprtsp://real.example.com:554/real8video.://real.example.com:554/real8video.rmrm//streamidstreamid=1;=1;seqseq=0;=0;rtptimertptime=0.=0.
..
RTSP/1.0 451 Parameter Not Understood.
RTSP/1.0 451 Parameter Not Understood.
CSeq: 7.CSeq: 7.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
Date: Sat, 27 Oct 2001 11:05:12 GMT.
..
---IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=188 id=A4D4
DATA: SET_PARAMETERSET_PARAMETERrtsp://real.example.com:554/real8video.rtsp://real.example.com:554/real8video.rmrmRTSP/1.0.RTSP/1.0.
CSeq: 8.CSeq: 8.
SetDeliveryBandwidth: Bandwidth=96000;BackOff=0.
Session: 1481386453 Session: 1481386453--1.1.
. .
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=128 id=BE26 DATA: RTSP/1.0 200 OK.RTSP/1.0 200 OK.
CSeq CSeq: 8.: 8.
Date: Sat, 27 Oct 2001 11:05:13 GMT.
Date: Sat, 27 Oct 2001 11:05:13 GMT.
Session: 1481386453 Session: 1481386453--1.1.
..
RTSP - Real G2 SET_PARAMETER
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=189 id=A4D9
DATA: SET_PARAMETER rtsp://real.example.com:554/real8video.rm RTSP/1.0.
CSeq: 9.
SetDeliveryBandwidth: Bandwidth=104000;BackOff=0.
Session: 1481386453-1.
.
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=128 id=BE71 DATA: RTSP/1.0 200 OK.
CSeq: 9.
Date: Sat, 27 Oct 2001 11:05:16 GMT.
Session: 1481386453-1.
.
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=189 id=A4D9
DATA: SET_PARAMETERSET_PARAMETERrtsp://real.example.com:554/real8video.rtsp://real.example.com:554/real8video.rmrmRTSP/1.0.RTSP/1.0.
CSeq: 9.CSeq: 9.
SetDeliveryBandwidth: Bandwidth=104000;BackOff=0.
Session: 1481386453 Session: 1481386453--1.1.
..
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=128 id=BE71 DATA: RTSP/1.0 200 OK.RTSP/1.0 200 OK.
CSeq: 9.CSeq: 9.
Date: Sat, 27 Oct 2001 11:05:16 GMT.
Date: Sat, 27 Oct 2001 11:05:16 GMT.
Session: 1481386453 Session: 1481386453--1.1.
. .
RTSP - Real G2 SET_PARAMETER
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=190 id=A507
DATA: SET_PARAMETER rtsp://real.example.com:554/real8video.rm RTSP/1.0.
CSeq: 10.
SetDeliveryBandwidth: Bandwidth=105040;BackOff=0.
Session: 1481386453-1.
.
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=129 id=C308 DATA: RTSP/1.0 200 OK.
CSeq: 10.
Date: Sat, 27 Oct 2001 11:05:49 GMT.
Session: 1481386453-1.
.
IP: RealPlayer -> RealServer hlen=20 TOS=00 dgramlen=190 id=A507
DATA: SET_PARAMETERSET_PARAMETERrtsp://real.example.com:554/real8video.rtsp://real.example.com:554/real8video.rmrmRTSP/1.0.RTSP/1.0.
CSeq: 10.CSeq: 10.
SetDeliveryBandwidth: Bandwidth=105040;BackOff=0.
Session: 1481386453 Session: 1481386453--1.1.
..
---IP: RealServer -> RealPlayer hlen=20 TOS=00 dgramlen=129 id=C308 DATA: RTSP/1.0 200 OK.RTSP/1.0 200 OK.
CSeq: 10.CSeq: 10.
Date: Sat, 27 Oct 2001 11:05:49 GMT.
Date: Sat, 27 Oct 2001 11:05:49 GMT.
Session: 1481386453 Session: 1481386453--1.1.
. .