aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-06-28 16:37:44 +0200
committerdec05eba <dec05eba@protonmail.com>2024-06-28 16:37:44 +0200
commitea7b58d7f92b179a4c2717237422e1200b5be673 (patch)
treee4b8fbf49013fd921a4063e333e9d82a3cdcbea0 /src/main.cpp
parent6598e09efa79274281fe9ed9fa9d1ef7fa59812e (diff)
ammend
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f79f159..1d479fe 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1298,6 +1298,8 @@ static bool is_livestream_path(const char *str) {
return true;
else if((len >= 7 && memcmp(str, "rtmp://", 7) == 0) || (len >= 8 && memcmp(str, "rtmps://", 8) == 0))
return true;
+ else if((len >= 7 && memcmp(str, "rtsp://", 7) == 0))
+ return true;
else if((len >= 6 && memcmp(str, "srt://", 6) == 0))
return true;
else if((len >= 6 && memcmp(str, "tcp://", 6) == 0))