1--- 2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3SPDX-License-Identifier: curl 4Title: CURLOPT_RTSP_SERVER_CSEQ 5Section: 3 6Source: libcurl 7See-also: 8 - CURLINFO_RTSP_SERVER_CSEQ (3) 9 - CURLOPT_RTSP_CLIENT_CSEQ (3) 10 - CURLOPT_RTSP_STREAM_URI (3) 11Protocol: 12 - RTSP 13--- 14 15# NAME 16 17CURLOPT_RTSP_SERVER_CSEQ - RTSP server CSEQ number 18 19# SYNOPSIS 20 21~~~c 22#include <curl/curl.h> 23 24CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RTSP_SERVER_CSEQ, long cseq); 25~~~ 26 27# DESCRIPTION 28 29Pass a long to set the CSEQ number to expect for the next RTSP Server to 30Client request. **NOTE**: this feature (listening for Server requests) is 31unimplemented. 32 33# DEFAULT 34 350 36 37# EXAMPLE 38 39~~~c 40int main(void) 41{ 42 CURL *curl = curl_easy_init(); 43 if(curl) { 44 CURLcode res; 45 curl_easy_setopt(curl, CURLOPT_URL, "rtsp://example.com/"); 46 curl_easy_setopt(curl, CURLOPT_RTSP_SERVER_CSEQ, 1234L); 47 res = curl_easy_perform(curl); 48 curl_easy_cleanup(curl); 49 } 50} 51~~~ 52 53# AVAILABILITY 54 55Added in 7.20.0 56 57# RETURN VALUE 58 59Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. 60