• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<testcase>
2
3#Informational
4<info>
5<keywords>
6RTSP
7Mismatch checking
8</keywords>
9</info>
10
11# Server-side
12<reply>
13<data1>
14RTSP/1.0 200 OK
15Server: RTSPD/libcurl-test
16CSeq: 2
17Public: DESCRIBE, OPTIONS, SETUP, TEARDOWN, PLAY, PAUSE
18Informational: CSeq Mismatch
19
20</data1>
21<data2>
22RTSP/1.0 200 OK
23Server: RTSPD/libcurl-test
24Session: asdf
25CSeq: 999
26
27</data2>
28<data3>
29RTSP/1.0 200 OK
30Server: RTSPD/libcurl-test
31Session: asdfWRONG
32Informational: Session ID mismatch
33Curl-Private: swsclose
34CSeq: 1000
35
36</data3>
37
38</reply>
39
40# Client-Side
41<client>
42<server>
43rtsp
44</server>
45<tool>
46lib570
47</tool>
48
49<name>
50RTSP CSeq and Session Mismatch checks
51</name>
52<command>
53rtsp://%HOSTIP:%RTSPPORT/570
54</command>
55</client>
56
57<verify>
58<strip>
59^If-Modified-Since:.*
60</strip>
61<protocol>
62OPTIONS rtsp://%HOSTIP:%RTSPPORT/5700001 RTSP/1.0
63CSeq: 1
64
65SETUP rtsp://%HOSTIP:%RTSPPORT/5700002 RTSP/1.0
66CSeq: 999
67Transport: RAW/RAW/UDP;unicast;client_port=3056-3057
68
69PLAY rtsp://%HOSTIP:%RTSPPORT/5700003 RTSP/1.0
70CSeq: 1000
71Session: asdf
72
73</protocol>
74</verify>
75
76</testcase>
77
78