GNURLOPT_RTSP_SERVER_CSEQ(3)
π GNURLOPT_R...SERVER_CSEQ(3) π
okay so bestie, welcome to the curl_easy_setopt options manual β this is the RTSP server CSEQ page, and it's giving very specific, very niche, very iconic energy. π¦
π NAME π
CURLOPT_RTSP_SERVER_CSEQ β set the RTSP server CSEQ number. periodt. π
π¦ SYNOPSIS π¦
#include <gnurl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RTSP_SERVER_CSEQ, long
cseq);
πΈ DESCRIPTION πΈ
Pass a long to set the CSEQ number to expect for the next RTSP Server->Client request. the way that this is so simple is iconic, honestly. β¨
β οΈ NOTE: this feature (listening for Server requests) is unimplemented. so likeβ¦ the listening-for-Server-requests part is not implemented, bestie. don't come for me, I'm just reading the manpage π
π DEFAULT π
0 β the default is literally zero. no cap. π
π PROTOCOLS π
RTSP β that's it, that's the protocol. RTSP main character energy only, fr fr. π
π₯ EXAMPLE π₯
okay here's the code moment, bestie:
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "rtsp://example.com/");
curl_easy_setopt(curl, CURLOPT_RTSP_SERVER_CSEQ, 1234L);
ret = curl_easy_perform(curl);
curl_easy_cleanup(curl);
}
π¦ AVAILABILITY π¦
Added in 7.20.0. ngl, it's been serving looks for a minute. π
π RETURN VALUE π
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. slay. β¨
π SEE ALSO π
CURLOPT_RTSP_CLIENT_CSEQ(3)CURLOPT_RTSP_STREAM_URI(3), iykyk β the original has that little trailing comma and we're keeping the vibe intact π
xoxo, your Unix bestie π β from libcurl 7.37.0, dated 19 Jun 2014 π«Ά
π¦ 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