1--- 2c: Copyright (C) Daniel Stenberg, <daniel.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) 11--- 12 13# NAME 14 15CURLOPT_RTSP_SERVER_CSEQ - RTSP server CSEQ number 16 17# SYNOPSIS 18 19~~~c 20#include <curl/curl.h> 21 22CURLcode curl_easy_setopt(CURL *handle, CURLOPT_RTSP_SERVER_CSEQ, long cseq); 23~~~ 24 25# DESCRIPTION 26 27Pass a long to set the CSEQ number to expect for the next RTSP Server->Client 28request. **NOTE**: this feature (listening for Server requests) is 29unimplemented. 30 31# DEFAULT 32 330 34 35# PROTOCOLS 36 37RTSP 38 39# EXAMPLE 40 41~~~c 42int main(void) 43{ 44 CURL *curl = curl_easy_init(); 45 if(curl) { 46 CURLcode res; 47 curl_easy_setopt(curl, CURLOPT_URL, "rtsp://example.com/"); 48 curl_easy_setopt(curl, CURLOPT_RTSP_SERVER_CSEQ, 1234L); 49 res = curl_easy_perform(curl); 50 curl_easy_cleanup(curl); 51 } 52} 53~~~ 54 55# AVAILABILITY 56 57Added in 7.20.0 58 59# RETURN VALUE 60 61Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. 62