1CURLOPT_RTSP_CLIENT_CSEQ(3) libcurl CURLOPT_RTSP_CLIENT_CSEQ(3)
2
3
4
6 CURLOPT_RTSP_CLIENT_CSEQ - RTSP client CSEQ number
7
9 #include <curl/curl.h>
10
11 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RTSP_CLIENT_CSEQ, long cseq);
12
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
19 0
20
22 RTSP
23
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
34 Added in 7.20.0
35
37 Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION
38 if not.
39
41 CURLOPT_RTSP_SERVER_CSEQ(3), CURLOPT_RTSP_REQUEST(3),
42
43
44
45ibcurl 8.2.1 April 26, 2023 CURLOPT_RTSP_CLIENT_CSEQ(3)