2010-03-24 01:35:03 -04:00
|
|
|
<testcase>
|
|
|
|
|
|
|
|
#Informational
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
RTSP
|
|
|
|
GET_PARAMETER
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data1>
|
2014-01-31 18:52:08 -05:00
|
|
|
RTSP/1.0 200 OK
|
|
|
|
Server: RTSPD/libcurl-test
|
|
|
|
Session: getparams-test
|
|
|
|
CSeq: 1
|
|
|
|
|
2010-03-24 01:35:03 -04:00
|
|
|
</data1>
|
|
|
|
|
|
|
|
<data2>
|
2014-01-31 18:52:08 -05:00
|
|
|
RTSP/1.0 200 OK
|
|
|
|
Server: RTSPD/libcurl-test
|
|
|
|
Session: getparams-test
|
|
|
|
Content-Type: text/parameters
|
|
|
|
Content-Length: 32
|
|
|
|
Cseq: 2
|
|
|
|
|
2010-03-24 01:35:03 -04:00
|
|
|
scale=enormous
|
|
|
|
speed=ludicrous
|
2011-08-15 16:40:28 -04:00
|
|
|
|
2010-03-24 01:35:03 -04:00
|
|
|
</data2>
|
|
|
|
|
|
|
|
<data3>
|
2014-01-31 18:52:08 -05:00
|
|
|
RTSP/1.0 204 OK
|
|
|
|
Server: RTSPD/libcurl-test
|
|
|
|
Session: getparams-test
|
|
|
|
Cseq: 3
|
|
|
|
|
2010-03-24 01:35:03 -04:00
|
|
|
</data3>
|
|
|
|
|
|
|
|
<data4>
|
2014-01-31 18:52:08 -05:00
|
|
|
RTSP/1.0 200 Okie Dokie
|
|
|
|
Server: RTSPD/libcurl-test
|
|
|
|
Session: getparams-test
|
|
|
|
Cseq: 4
|
|
|
|
Content-Length: 37
|
|
|
|
|
2010-03-24 01:35:03 -04:00
|
|
|
packets_received: 1000
|
|
|
|
jitter: 0.314
|
|
|
|
</data4>
|
|
|
|
<data5>
|
2014-01-31 18:52:08 -05:00
|
|
|
RTSP/1.0 200 OK
|
|
|
|
Server: RTSPD/libcurl-test
|
|
|
|
Session: getparams-test
|
|
|
|
CSeq: 5
|
|
|
|
Curl-private: swsclose
|
|
|
|
Informational: Empty Options Response
|
|
|
|
|
2010-03-24 01:35:03 -04:00
|
|
|
</data5>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-Side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
rtsp
|
|
|
|
</server>
|
|
|
|
<tool>
|
|
|
|
lib572
|
|
|
|
</tool>
|
|
|
|
|
|
|
|
<name>
|
|
|
|
RTSP GET_PARAMETER (Put/Heartbeat/Post)
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
rtsp://%HOSTIP:%RTSPPORT/572
|
|
|
|
</command>
|
|
|
|
# file written before test command runs
|
|
|
|
<file name="log/file572.txt">
|
|
|
|
scale
|
|
|
|
speed
|
|
|
|
</file>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^If-Modified-Since:.*
|
|
|
|
</strip>
|
|
|
|
<protocol>
|
|
|
|
SETUP rtsp://%HOSTIP:%RTSPPORT/5720001 RTSP/1.0
|
|
|
|
CSeq: 1
|
|
|
|
Transport: Planes/Trains/Automobiles
|
|
|
|
|
|
|
|
GET_PARAMETER rtsp://%HOSTIP:%RTSPPORT/5720002 RTSP/1.0
|
|
|
|
CSeq: 2
|
|
|
|
Session: getparams-test
|
|
|
|
Content-Length: 12
|
|
|
|
Content-Type: text/parameters
|
|
|
|
|
|
|
|
scale
|
|
|
|
speed
|
|
|
|
GET_PARAMETER rtsp://%HOSTIP:%RTSPPORT/5720003 RTSP/1.0
|
|
|
|
CSeq: 3
|
|
|
|
Session: getparams-test
|
|
|
|
|
|
|
|
GET_PARAMETER rtsp://%HOSTIP:%RTSPPORT/5720004 RTSP/1.0
|
|
|
|
CSeq: 4
|
|
|
|
Session: getparams-test
|
|
|
|
Content-Length: 24
|
|
|
|
Content-Type: text/parameters
|
|
|
|
|
|
|
|
packets_received
|
|
|
|
jitter
|
|
|
|
OPTIONS rtsp://%HOSTIP:%RTSPPORT/5720005 RTSP/1.0
|
|
|
|
CSeq: 5
|
|
|
|
Session: getparams-test
|
|
|
|
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
|
|
|
|
</testcase>
|
|
|
|
|