1CURLOPT_RTSP_SERVER_CSEQ(3)curl_easy_setopt optionsCURLOPT_RTSP_SERVER_CSEQ(3)
2
3
4

NAME

6       CURLOPT_RTSP_SERVER_CSEQ - set the RTSP server CSEQ number
7

SYNOPSIS

9       #include <curl/curl.h>
10
11       CURLcode  curl_easy_setopt(CURL *handle, CURLOPT_RTSP_SERVER_CSEQ, long
12       cseq);
13

DESCRIPTION

15       Pass a long to set  the  CSEQ  number  to  expect  for  the  next  RTSP
16       Server->Client  request.   NOTE:  this  feature  (listening  for Server
17       requests) is unimplemented.
18

DEFAULT

20       0
21

PROTOCOLS

23       RTSP
24

EXAMPLE

26       CURL *curl = curl_easy_init();
27       if(curl) {
28         curl_easy_setopt(curl, CURLOPT_URL, "rtsp://example.com/");
29         curl_easy_setopt(curl, CURLOPT_RTSP_SERVER_CSEQ, 1234L);
30         ret = curl_easy_perform(curl);
31         curl_easy_cleanup(curl);
32       }
33

AVAILABILITY

35       Added in 7.20.0
36

RETURN VALUE

38       Returns CURLE_OK if the option is supported,  and  CURLE_UNKNOWN_OPTION
39       if not.
40

SEE ALSO

42       CURLOPT_RTSP_CLIENT_CSEQ(3), CURLOPT_RTSP_STREAM_URI(3),
43
44
45
46libcurl 7.69.1                   May 31, 2017      CURLOPT_RTSP_SERVER_CSEQ(3)
Impressum