1CURLINFO_RTSP_CLIENT_CSEQ(3)curl_easy_getinfo optionCsURLINFO_RTSP_CLIENT_CSEQ(3)
2
3
4

NAME

6       CURLINFO_RTSP_CLIENT_CSEQ - get the next RTSP client CSeq
7

SYNOPSIS

9       #include <curl/curl.h>
10
11       CURLcode   curl_easy_getinfo(CURL  *handle,  CURLINFO_RTSP_CLIENT_CSEQ,
12       long *cseq);
13

DESCRIPTION

15       Pass a pointer to a long to receive the next CSeq that will be used  by
16       the application.
17

PROTOCOLS

19       RTSP
20

EXAMPLE

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

AVAILABILITY

35       Added in 7.20.0
36

RETURN VALUE

38       Returns  CURLE_OK  if the option is supported, and CURLE_UNKNOWN_OPTION
39       if not.
40

SEE ALSO

42       curl_easy_getinfo(3), curl_easy_setopt(3),
43
44
45
46libcurl 7.64.0                   May 31, 2017     CURLINFO_RTSP_CLIENT_CSEQ(3)
Impressum