GNURLOPT_RTSP_CLIENT_CSEQ(3)
π GNURLOPT_RTSP_CLIENT_CSEQ(3) π
okay bestie, welcome to the curl_easy_setopt options manual page for GNURLOPT_RTSP_CLIENT_CSEQ(3) β yes, the title is a whole mouthful, but we're here and we're slaying. This one is all about the RTSP client CSEQ number, no cap. π¦
β¨ NAME β¨
CURLOPT_RTSP_CLIENT_CSEQβ set the RTSP client CSEQ number. that's the whole assignment, periodt. π
πΈ SYNOPSIS πΈ
bestie, here's the include and the function signature, copied exactly because we do not mess with code:
#include <gnurl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RTSP_CLIENT_CSEQ, long
cseq);
π DESCRIPTION π
okay so you pass a long to set the CSEQ number to issue for the next RTSP request. highkey useful if the application is resuming a previously broken connection. the CSEQ will increment from this new number henceforth β like it literally keeps going from there. π₯
π DEFAULT π
0 β that's the default, bestie. nothing extra.
π§ PROTOCOLS π§
RTSP only. periodt.
β EXAMPLE β
here's the example, exactly as it is, because code is sacred:
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "rtsp://example.com/");
curl_easy_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 1234L);
ret = curl_easy_perform(curl);
curl_easy_cleanup(curl);
}
π AVAILABILITY π
Added in 7.20.0 β¨
π RETURN VALUE π
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. simple as that. π
π SEE ALSO π
mwah π this page is from libcurl 7.37.0, dated 19 Jun 2014, with footer title GNURLOPT_R...CLIENT_CSEQ(3). bye bestie, go set that CSEQ π«Ά
π¦ where this page comes from
- nixos 26.05: libgnurl 7.72.0
- nixpkgs unstable: libgnurl 7.72.0
- Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms