2010-01-27 23:58:03 -05:00
|
|
|
<testcase>
|
|
|
|
|
|
|
|
#Informational
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
RTSP
|
|
|
|
SESSION_ID
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data1>
|
|
|
|
RTSP/1.0 200 OK
|
2010-02-01 14:57:11 -05:00
|
|
|
Server: RTSPD/libcurl-test
|
2010-01-27 23:58:03 -05:00
|
|
|
CSeq: 1
|
|
|
|
Session: 00.+1-am-aSe55ion_id\$yes-i-am\$;timeout=60
|
|
|
|
|
|
|
|
</data1>
|
|
|
|
<data2>
|
|
|
|
RTSP/1.0 200 OK
|
2010-02-01 14:57:11 -05:00
|
|
|
Server: RTSPD/libcurl-test
|
2010-01-27 23:58:03 -05:00
|
|
|
CSeq: 2
|
|
|
|
|
|
|
|
</data2>
|
|
|
|
<data3>
|
|
|
|
RTSP/1.0 200 OK
|
|
|
|
Session: \$extraspaces ignore-this-part-------;foo=bar
|
|
|
|
CSeq: 3
|
2010-02-01 14:57:11 -05:00
|
|
|
Server: RTSPD/libcurl-test
|
2010-01-27 23:58:03 -05:00
|
|
|
|
|
|
|
</data3>
|
|
|
|
<data4>
|
|
|
|
RTSP/1.0 200 OK
|
|
|
|
CSeq: 4
|
2010-02-01 14:57:11 -05:00
|
|
|
Server: RTSPD/libcurl-test
|
2010-01-27 23:58:03 -05:00
|
|
|
|
|
|
|
</data4>
|
|
|
|
<data5>
|
|
|
|
RTSP/1.0 200 OK
|
|
|
|
Session: A
|
2010-02-01 14:57:11 -05:00
|
|
|
Server: RTSPD/libcurl-test
|
2010-01-27 23:58:03 -05:00
|
|
|
CSeq: 5
|
|
|
|
Informational: Single Character
|
|
|
|
|
|
|
|
</data5>
|
|
|
|
<data6>
|
|
|
|
RTSP/1.0 200 OK
|
2010-02-01 14:57:11 -05:00
|
|
|
Server: RTSPD/libcurl-test
|
2010-01-27 23:58:03 -05:00
|
|
|
Curl-Private: swsclose
|
|
|
|
CSeq: 6
|
|
|
|
|
|
|
|
</data6>
|
2011-10-21 16:30:22 -04:00
|
|
|
</reply>
|
2010-01-27 23:58:03 -05:00
|
|
|
|
|
|
|
# Client-Side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
rtsp
|
|
|
|
</server>
|
|
|
|
<tool>
|
|
|
|
lib569
|
|
|
|
</tool>
|
|
|
|
|
|
|
|
<name>
|
|
|
|
RTSP Session ID parsing
|
|
|
|
</name>
|
|
|
|
<command>
|
2017-05-09 13:49:17 -04:00
|
|
|
rtsp://%HOSTIP:%RTSPPORT/569 log/idfile569.txt
|
2010-01-27 23:58:03 -05:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
<verify>
|
|
|
|
<strip>
|
|
|
|
^If-Modified-Since:.*
|
|
|
|
</strip>
|
|
|
|
<protocol>
|
|
|
|
SETUP rtsp://%HOSTIP:%RTSPPORT/5690001 RTSP/1.0
|
|
|
|
CSeq: 1
|
|
|
|
Transport: Fake/NotReal/JustATest;foo=baz
|
|
|
|
|
|
|
|
TEARDOWN rtsp://%HOSTIP:%RTSPPORT/5690002 RTSP/1.0
|
|
|
|
CSeq: 2
|
|
|
|
Session: 00.+1-am-aSe55ion_id\$yes-i-am\$
|
|
|
|
|
|
|
|
SETUP rtsp://%HOSTIP:%RTSPPORT/5690003 RTSP/1.0
|
|
|
|
CSeq: 3
|
|
|
|
Transport: Fake/NotReal/JustATest;foo=baz
|
|
|
|
|
|
|
|
TEARDOWN rtsp://%HOSTIP:%RTSPPORT/5690004 RTSP/1.0
|
|
|
|
CSeq: 4
|
|
|
|
Session: \$extraspaces
|
|
|
|
|
|
|
|
SETUP rtsp://%HOSTIP:%RTSPPORT/5690005 RTSP/1.0
|
|
|
|
CSeq: 5
|
|
|
|
Transport: Fake/NotReal/JustATest;foo=baz
|
|
|
|
|
|
|
|
TEARDOWN rtsp://%HOSTIP:%RTSPPORT/5690006 RTSP/1.0
|
|
|
|
CSeq: 6
|
|
|
|
Session: A
|
|
|
|
|
|
|
|
</protocol>
|
2017-05-09 13:49:17 -04:00
|
|
|
<file name="log/idfile569.txt">
|
2010-01-27 23:58:03 -05:00
|
|
|
Got Session ID: [00.+1-am-aSe55ion_id\$yes-i-am\$]
|
|
|
|
Got Session ID: [\$extraspaces]
|
|
|
|
Got Session ID: [A]
|
|
|
|
</file>
|
|
|
|
</verify>
|
|
|
|
|
|
|
|
</testcase>
|
|
|
|
|