GNURLOPT_RTSP_SERVER_CSEQ(3)

πŸ“¦ version 7.72.0, in nixos 26.05, nixpkgs unstable

πŸ’… 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 πŸ’€

xoxo, your Unix bestie πŸ’– β€” from libcurl 7.37.0, dated 19 Jun 2014 🫢

πŸ“¦ where this page comes from