Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
curl only makes rtsp OPTIONS request
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Alok Priyadarshi via curl-users <curl-users_at_cool.haxx.se>
Date: Thu, 18 Feb 2021 09:04:53 -0800
curl-cli seems to ignore the --request flag for rtsp URLs. It always makes
OPTIONS request.
I am wondering if this is a bug or I do not know how to use curl-cli with
rtsp.
```
$ curl -v --request DESCRIBE rtsp://
170.93.143.139/rtplive/470011e600ef003a004ee33696235daa
* Trying 170.93.143.139:554...
* TCP_NODELAY set
* Connected to 170.93.143.139 (170.93.143.139) port 554 (#0)
> OPTIONS * RTSP/1.0
> CSeq: 1
> User-Agent: curl/7.68.0
>
< RTSP/1.0 200 OK
< CSeq: 1
< Server: Skyline SFS1000
< Cache-Control: no-cache
< Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE,
RECORD, GET_PARAMETER
< Supported: play.basic, con.persistent
<
* Connection #0 to host 170.93.143.139 left intact
```
```
$ curl --version
curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11
brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0)
libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3
pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos
Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
```
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-02-18
Date: Thu, 18 Feb 2021 09:04:53 -0800
curl-cli seems to ignore the --request flag for rtsp URLs. It always makes
OPTIONS request.
I am wondering if this is a bug or I do not know how to use curl-cli with
rtsp.
```
$ curl -v --request DESCRIBE rtsp://
170.93.143.139/rtplive/470011e600ef003a004ee33696235daa
* Trying 170.93.143.139:554...
* TCP_NODELAY set
* Connected to 170.93.143.139 (170.93.143.139) port 554 (#0)
> OPTIONS * RTSP/1.0
> CSeq: 1
> User-Agent: curl/7.68.0
>
< RTSP/1.0 200 OK
< CSeq: 1
< Server: Skyline SFS1000
< Cache-Control: no-cache
< Public: DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, OPTIONS, ANNOUNCE,
RECORD, GET_PARAMETER
< Supported: play.basic, con.persistent
<
* Connection #0 to host 170.93.143.139 left intact
```
```
$ curl --version
curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11
brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0)
libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3
pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos
Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets
```
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2021-02-18