Skip to content

Commit

Permalink
make libcurl follow RTSP 302 redirections (#2195)
Browse files Browse the repository at this point in the history
  • Loading branch information
lionelnicolas committed Jun 2, 2020
1 parent af8a082 commit 0bb11f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/janus_streaming.c
Original file line number Diff line number Diff line change
Expand Up @@ -6260,6 +6260,7 @@ static int janus_streaming_rtsp_connect_to_server(janus_streaming_mountpoint *mp
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 10L);
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 5L);
curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 0L);
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
/* Any authentication to take into account? */
if(source->rtsp_username && source->rtsp_password) {
/* Point out that digest authentication is only available is libcurl >= 7.45.0 */
Expand Down

0 comments on commit 0bb11f3

Please sign in to comment.