Lines Matching refs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
36 CURL *curl;
45 curl = curl_easy_init();
46 if(!curl) {
52 test_setopt(curl, CURLOPT_HEADERDATA, stdout);
53 test_setopt(curl, CURLOPT_WRITEDATA, stdout);
54 test_setopt(curl, CURLOPT_VERBOSE, 1L);
56 test_setopt(curl, CURLOPT_URL, URL);
58 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS);
65 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
69 res = curl_easy_perform(curl);
76 test_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 999L);
77 test_setopt(curl, CURLOPT_RTSP_TRANSPORT,
79 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP);
86 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
90 res = curl_easy_perform(curl);
94 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_PLAY);
101 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
105 res = curl_easy_perform(curl);
117 curl_easy_cleanup(curl);