GNURLINFO_...LIENT_CSEQ(3)
π NAME π
CURLINFO_RTSP_CLIENT_CSEQ β get the next RTSP client CSeq.
okay so bestie, this is the curl_easy_getinfo options manual section, and this page is serving RTSP CSeq realness β¨
β¨ SYNOPSIS β¨
#include <gnurl/curl.h>
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_RTSP_CLIENT_CSEQ, long *cseq);
π¦ DESCRIPTION π¦
Pass a pointer to a long, and it will receive the next CSeq that will be used by the application. That's the whole vibe, no cap π
πΈ PROTOCOLS πΈ
RTSP
π EXAMPLE π
CURL *curl = curl_easy_init();
if(curl) {
CURLcode res;
curl_easy_setopt(curl, CURLOPT_URL, "rtsp://rtsp.example.com");
res = curl_easy_perform(curl);
if(res == CURLE_OK) {
long cseq;
curl_easy_getinfo(curl, CURLINFO_RTSP_CLIENT_CSEQ, &cseq);
}
curl_easy_cleanup(curl);
}
β AVAILABILITY β
Added in 7.20.0 β lowkey a classic, highkey iconic π
π«Ά RETURN VALUE π«Ά
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. Simple as that, fr fr.
π SEE ALSO π
and that's the page, bestie π§ this little icon is from libcurl 7.44.0, dated 1 Sep 2015 β mwah π
π¦ where this page comes from
- nixos 26.05: libgnurl 7.72.0
- nixpkgs unstable: libgnurl 7.72.0
- Copyright (C) 1998 - 2017, 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