1CURLOPT_RTSP_SERVER_CSEQ(3)curl_easy_setopt optionsCURLOPT_RTSP_SERVER_CSEQ(3)
2
3
4
6 CURLOPT_RTSP_SERVER_CSEQ - RTSP server CSEQ number
7
9 #include <curl/curl.h>
10
11 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RTSP_SERVER_CSEQ, long cseq);
12
14 Pass a long to set the CSEQ number to expect for the next RTSP
15 Server->Client request. NOTE: this feature (listening for Server re‐
16 quests) is unimplemented.
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_SERVER_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_CLIENT_CSEQ(3), CURLOPT_RTSP_STREAM_URI(3),
42
43
44
45libcurl 7.85.0 May 17, 2022 CURLOPT_RTSP_SERVER_CSEQ(3)