1*6236dae4SAndroid Build Coastguard Worker<testcase> 2*6236dae4SAndroid Build Coastguard Worker 3*6236dae4SAndroid Build Coastguard Worker#Informational 4*6236dae4SAndroid Build Coastguard Worker<info> 5*6236dae4SAndroid Build Coastguard Worker<keywords> 6*6236dae4SAndroid Build Coastguard WorkerRTSP 7*6236dae4SAndroid Build Coastguard WorkerRTSP Basic auth 8*6236dae4SAndroid Build Coastguard Worker</keywords> 9*6236dae4SAndroid Build Coastguard Worker</info> 10*6236dae4SAndroid Build Coastguard Worker 11*6236dae4SAndroid Build Coastguard Worker# Server-side 12*6236dae4SAndroid Build Coastguard Worker<reply> 13*6236dae4SAndroid Build Coastguard Worker<data> 14*6236dae4SAndroid Build Coastguard WorkerRTSP/1.0 401 Unauthorized please swsbounce 15*6236dae4SAndroid Build Coastguard WorkerServer: RTSPD/libcurl-test 16*6236dae4SAndroid Build Coastguard WorkerCSeq: 1 17*6236dae4SAndroid Build Coastguard WorkerWWW-Authenticate: Basic realm="please-auth-me" 18*6236dae4SAndroid Build Coastguard Worker 19*6236dae4SAndroid Build Coastguard Worker</data> 20*6236dae4SAndroid Build Coastguard Worker<data1> 21*6236dae4SAndroid Build Coastguard WorkerRTSP/1.0 200 OK 22*6236dae4SAndroid Build Coastguard WorkerServer: RTSPD/libcurl-test 23*6236dae4SAndroid Build Coastguard WorkerCSeq: 2 24*6236dae4SAndroid Build Coastguard WorkerContent-Base: rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER 25*6236dae4SAndroid Build Coastguard WorkerContent-Length: 80 26*6236dae4SAndroid Build Coastguard WorkerCurl-private: swsclose 27*6236dae4SAndroid Build Coastguard Worker 28*6236dae4SAndroid Build Coastguard Workerv=0 29*6236dae4SAndroid Build Coastguard Workers=rtspd SDP 30*6236dae4SAndroid Build Coastguard Workeri=A fake SDP reply 31*6236dae4SAndroid Build Coastguard Workeru=http://www.curl.example.com/fakesdp.ps 32*6236dae4SAndroid Build Coastguard Worker</data1> 33*6236dae4SAndroid Build Coastguard Worker<datacheck> 34*6236dae4SAndroid Build Coastguard WorkerRTSP/1.0 401 Unauthorized please swsbounce 35*6236dae4SAndroid Build Coastguard WorkerServer: RTSPD/libcurl-test 36*6236dae4SAndroid Build Coastguard WorkerCSeq: 1 37*6236dae4SAndroid Build Coastguard WorkerWWW-Authenticate: Basic realm="please-auth-me" 38*6236dae4SAndroid Build Coastguard Worker 39*6236dae4SAndroid Build Coastguard WorkerRTSP/1.0 200 OK 40*6236dae4SAndroid Build Coastguard WorkerServer: RTSPD/libcurl-test 41*6236dae4SAndroid Build Coastguard WorkerCSeq: 2 42*6236dae4SAndroid Build Coastguard WorkerContent-Base: rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER 43*6236dae4SAndroid Build Coastguard WorkerContent-Length: 80 44*6236dae4SAndroid Build Coastguard WorkerCurl-private: swsclose 45*6236dae4SAndroid Build Coastguard Worker 46*6236dae4SAndroid Build Coastguard Workerv=0 47*6236dae4SAndroid Build Coastguard Workers=rtspd SDP 48*6236dae4SAndroid Build Coastguard Workeri=A fake SDP reply 49*6236dae4SAndroid Build Coastguard Workeru=http://www.curl.example.com/fakesdp.ps 50*6236dae4SAndroid Build Coastguard Worker</datacheck> 51*6236dae4SAndroid Build Coastguard Worker</reply> 52*6236dae4SAndroid Build Coastguard Worker 53*6236dae4SAndroid Build Coastguard Worker# Client-Side 54*6236dae4SAndroid Build Coastguard Worker<client> 55*6236dae4SAndroid Build Coastguard Worker<server> 56*6236dae4SAndroid Build Coastguard Workerrtsp 57*6236dae4SAndroid Build Coastguard Worker</server> 58*6236dae4SAndroid Build Coastguard Worker<tool> 59*6236dae4SAndroid Build Coastguard Workerlib%TESTNUMBER 60*6236dae4SAndroid Build Coastguard Worker</tool> 61*6236dae4SAndroid Build Coastguard Worker 62*6236dae4SAndroid Build Coastguard Worker<name> 63*6236dae4SAndroid Build Coastguard WorkerRTSP Authentication check 64*6236dae4SAndroid Build Coastguard Worker</name> 65*6236dae4SAndroid Build Coastguard Worker<command> 66*6236dae4SAndroid Build Coastguard Workerrtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER 67*6236dae4SAndroid Build Coastguard Worker</command> 68*6236dae4SAndroid Build Coastguard Worker</client> 69*6236dae4SAndroid Build Coastguard Worker 70*6236dae4SAndroid Build Coastguard Worker# Verify data after the test has been "shot" 71*6236dae4SAndroid Build Coastguard Worker<verify> 72*6236dae4SAndroid Build Coastguard Worker<protocol> 73*6236dae4SAndroid Build Coastguard WorkerDESCRIBE rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER RTSP/1.0 74*6236dae4SAndroid Build Coastguard WorkerCSeq: 1 75*6236dae4SAndroid Build Coastguard WorkerAccept: application/sdp 76*6236dae4SAndroid Build Coastguard Worker 77*6236dae4SAndroid Build Coastguard WorkerDESCRIBE rtsp://%HOSTIP:%RTSPPORT/%TESTNUMBER RTSP/1.0 78*6236dae4SAndroid Build Coastguard WorkerCSeq: 2 79*6236dae4SAndroid Build Coastguard WorkerAccept: application/sdp 80*6236dae4SAndroid Build Coastguard WorkerAuthorization: Basic dXNlcjpwYXNzd29yZA== 81*6236dae4SAndroid Build Coastguard Worker 82*6236dae4SAndroid Build Coastguard Worker</protocol> 83*6236dae4SAndroid Build Coastguard Worker</verify> 84*6236dae4SAndroid Build Coastguard Worker 85*6236dae4SAndroid Build Coastguard Worker</testcase> 86