CURLOPT_RTSP_CLIENT_CSEQ(3)
π¦ CURLOPT_RTSP_CLIENT_CSEQ(3) π¦
okay so this page is from the Library Functions Manual, and it's all about that RTSP CSEQ life. no cap, if you're resuming a previously broken connection, this is your little main-character setting. π
β¨ NAME β¨
CURLOPT_RTSP_CLIENT_CSEQ β RTSP client CSEQ number
π SYNOPSIS π
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RTSP_CLIENT_CSEQ, long cseq);
πΈ DESCRIPTION πΈ
bestie, you pass a long here to set the CSEQ number that's gonna be issued for the next RTSP request. it's giving "useful if the application is resuming a previously broken connection" energy. and after you set it, the CSEQ increments from this new number henceforth. literally from that number onward. π₯
π DEFAULT π
0
π§ PROTOCOLS π§
this functionality affects rtsp only. not everything, just RTSP. periodt.
π EXAMPLE π
int main(void)
{
CURL *curl = curl_easy_init();
if(curl) {
CURLcode result;
curl_easy_setopt(curl, CURLOPT_URL, "rtsp://example.com/");
curl_easy_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 1234L);
result = curl_easy_perform(curl);
curl_easy_cleanup(curl);
}
}
π AVAILABILITY π
added in curl 7.20.0. iconic.
β RETURN VALUE β
curl_easy_setopt(3) returns a CURLcode indicating success or error.
CURLE_OK (0) means everything was OK. non-zero means an error occurred, so go see libcurl-errors(3). π«Ά
π SEE ALSO π
CURLINFO_RTSP_CLIENT_CSEQ(3)CURLINFO_RTSP_SERVER_CSEQ(3)CURLOPT_RTSP_REQUEST(3)CURLOPT_RTSP_SERVER_CSEQ(3)
mwah π this page is brought to you by libcurl, dated 2026-10-12. bestie, go set that CSEQ and slay β¨
π¦ where this page comes from
- fedora 44: libcurl-devel 8.18.0-14.fc44 Β· curl
- fedora 44: libcurl-devel 8.18.0-14.fc44 Β· curl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms