1<testcase>
2
3#Informational
4<info>
5<keywords>
6RTSP
7ANNOUNCE
8</keywords>
9</info>
10
11# Server-side
12<reply>
13<data1>
14RTSP/1.0 200 OK
15Server: RTSPD/libcurl-test
16Cseq: 1
17
18</data1>
19
20<data2>
21RTSP/1.0 200 OK
22Server: RTSPD/libcurl-test
23Cseq: 2
24Content-Length: 70
25Content-Type: application/sdp
26
27v=0
28s=rtspd SDP
29i=A fake SDP reply
30u=http://www.curl.example.com/fakesdp.ps
31</data2>
32<data3>
33RTSP/1.0 200 Okie Dokie
34Server: RTSPD/libcurl-test
35Cseq: 3
36
37</data3>
38<data4>
39RTSP/1.0 200 OK
40Server: RTSPD/libcurl-test
41CSeq: 4
42Curl-private: swsclose
43Informational: Empty Options Response
44
45</data4>
46</reply>
47
48# Client-Side
49<client>
50<server>
51rtsp
52</server>
53<tool>
54lib568
55</tool>
56
57<name>
58RTSP Announce (PUT and POST style) test
59</name>
60<command>
61rtsp://%HOSTIP:%RTSPPORT/568
62</command>
63# file written before test command runs
64<file name="log/file568.txt">
65v=0
66o=mhandley 2890844526 2890845468 IN IP4 126.16.64.4
67s=SDP Seminar
68i=A Seminar on the session description protocol
69u=http://www.cs.ucl.ac.uk/staff/M.Handley/sdp.03.ps
70e=mjh@isi.edu (Mark Handley)
71c=IN IP4 224.2.17.12/127
72t=2873397496 2873404696
73a=recvonly
74m=audio 3456 RTP/AVP 0
75m=video 2232 RTP/AVP 31
76</file>
77</client>
78
79<verify>
80<strip>
81^If-Modified-Since:.*
82</strip>
83<protocol>
84ANNOUNCE rtsp://%HOSTIP:%RTSPPORT/5680001 RTSP/1.0
85CSeq: 1
86Content-Length: 306
87Content-Type: application/sdp
88
89v=0
90o=mhandley 2890844526 2890845468 IN IP4 126.16.64.4
91s=SDP Seminar
92i=A Seminar on the session description protocol
93u=http://www.cs.ucl.ac.uk/staff/M.Handley/sdp.03.ps
94e=mjh@isi.edu (Mark Handley)
95c=IN IP4 224.2.17.12/127
96t=2873397496 2873404696
97a=recvonly
98m=audio 3456 RTP/AVP 0
99m=video 2232 RTP/AVP 31
100DESCRIBE rtsp://%HOSTIP:%RTSPPORT/5680002 RTSP/1.0
101CSeq: 2
102Accept: application/sdp
103
104ANNOUNCE rtsp://%HOSTIP:%RTSPPORT/5680003 RTSP/1.0
105CSeq: 3
106Content-Type: posty goodness
107Content-Length: 35
108
109postyfield=postystuff&project=curl
110OPTIONS rtsp://%HOSTIP:%RTSPPORT/5680004 RTSP/1.0
111CSeq: 4
112
113</protocol>
114</verify>
115
116</testcase>
117