From 9f4df40ac565ef35473bf4931d8d47a4cd99da1b Mon Sep 17 00:00:00 2001 From: Jonathan Bennett Date: Fri, 4 Mar 2022 20:40:56 -0600 Subject: [PATCH] Add rtsp_quirk to Janus mountpoints. Workaround for Vivotek and possibly other cameras that use nonstandard RTSP URIs, --- src/zm_monitor_janus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_monitor_janus.cpp b/src/zm_monitor_janus.cpp index 2fe9b3f26..9f800a1f6 100644 --- a/src/zm_monitor_janus.cpp +++ b/src/zm_monitor_janus.cpp @@ -174,7 +174,7 @@ int Monitor::JanusManager::add_to_janus() { std::string postData = "{\"janus\" : \"message\", \"transaction\" : \"randomString\", \"body\" : {"; postData += "\"request\" : \"create\", \"admin_key\" : \""; postData += config.janus_secret; - postData += "\", \"type\" : \"rtsp\", "; + postData += "\", \"type\" : \"rtsp\", \"rtsp_quirk\" : true, "; postData += "\"url\" : \""; postData += rtsp_path; if (rtsp_username != "") {