1CURLOPT_RTSP_CLIENT_CSEQ(3)curl_easy_setopt optionsCURLOPT_RTSP_CLIENT_CSEQ(3)
2
3
4
6 CURLOPT_RTSP_CLIENT_CSEQ - set the RTSP client CSEQ number
7
9 #include <curl/curl.h>
10
11 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RTSP_CLIENT_CSEQ, long
12 cseq);
13
15 Pass a long to set the CSEQ number to issue for the next RTSP request.
16 Useful if the application is resuming a previously broken connection.
17 The CSEQ will increment from this new number henceforth.
18
20 0
21
23 RTSP
24
26 CURL *curl = curl_easy_init();
27 if(curl) {
28 curl_easy_setopt(curl, CURLOPT_URL, "rtsp://example.com/");
29 curl_easy_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 1234L);
30 ret = curl_easy_perform(curl);
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 CURLOPT_RTSP_SERVER_CSEQ(3), CURLOPT_RTSP_REQUEST(3),
43
44
45
46libcurl 7.61.1 April 17, 2018 CURLOPT_RTSP_CLIENT_CSEQ(3)