1CURLINFO_RTSP_CLIENT_CSEQ(3)curl_easy_getinfo optionCsURLINFO_RTSP_CLIENT_CSEQ(3)
2
3
4
6 CURLINFO_RTSP_CLIENT_CSEQ - get the next RTSP client CSeq
7
9 #include <curl/curl.h>
10
11 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_RTSP_CLIENT_CSEQ,
12 long *cseq);
13
15 Pass a pointer to a long to receive the next CSeq that will be used by
16 the application.
17
19 RTSP
20
22 CURL *curl = curl_easy_init();
23 if(curl) {
24 CURLcode res;
25 curl_easy_setopt(curl, CURLOPT_URL, "rtsp://rtsp.example.com");
26 res = curl_easy_perform(curl);
27 if(res == CURLE_OK) {
28 long cseq;
29 curl_easy_getinfo(curl, CURLINFO_RTSP_CLIENT_CSEQ, &cseq);
30 }
31 curl_easy_cleanup(curl);
32 }
33
35 Added in 7.20.0
36
38 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION
39 if not.
40
42 curl_easy_getinfo(3), curl_easy_setopt(3),
43
44
45
46libcurl 7.76.1 November 04, 2020 CURLINFO_RTSP_CLIENT_CSEQ(3)