We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed283d9 commit 68f7760Copy full SHA for 68f7760
plugins/janus_streaming.c
@@ -6330,8 +6330,10 @@ static int janus_streaming_rtsp_connect_to_server(janus_streaming_mountpoint *mp
6330
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 5L);
6331
curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 0L);
6332
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
6333
+#if CURL_AT_LEAST_VERSION(7, 66, 0)
6334
curl_easy_setopt(curl, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_RTSP);
6335
curl_easy_setopt(curl, CURLOPT_HTTP09_ALLOWED, 1L);
6336
+#endif
6337
/* Any authentication to take into account? */
6338
if(source->rtsp_username && source->rtsp_password) {
6339
/* Point out that digest authentication is only available is libcurl >= 7.45.0 */
0 commit comments