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