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