1CURLOPT_RTSP_CLIENT_CSEQ(3)curl_easy_setopt optionsCURLOPT_RTSP_CLIENT_CSEQ(3)
2
3
4

NAME

6       CURLOPT_RTSP_CLIENT_CSEQ - RTSP client CSEQ number
7

SYNOPSIS

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

DESCRIPTION

14       Pass  a long to set the CSEQ number to issue for the next RTSP request.
15       Useful if the application is resuming a previously  broken  connection.
16       The CSEQ will increment from this new number henceforth.
17

DEFAULT

19       0
20

PROTOCOLS

22       RTSP
23

EXAMPLE

25       CURL *curl = curl_easy_init();
26       if(curl) {
27         curl_easy_setopt(curl, CURLOPT_URL, "rtsp://example.com/");
28         curl_easy_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 1234L);
29         ret = curl_easy_perform(curl);
30         curl_easy_cleanup(curl);
31       }
32

AVAILABILITY

34       Added in 7.20.0
35

RETURN VALUE

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

SEE ALSO

41       CURLOPT_RTSP_SERVER_CSEQ(3), CURLOPT_RTSP_REQUEST(3),
42
43
44
45libcurl 7.82.0                 November 26, 2021   CURLOPT_RTSP_CLIENT_CSEQ(3)
Impressum