Add rtsp_quirk to Janus mountpoints.

Workaround for Vivotek and possibly other cameras that use nonstandard RTSP URIs,
This commit is contained in:
Jonathan Bennett 2022-03-04 20:40:56 -06:00
parent 10402fdabe
commit 9f4df40ac5
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ int Monitor::JanusManager::add_to_janus() {
std::string postData = "{\"janus\" : \"message\", \"transaction\" : \"randomString\", \"body\" : {"; std::string postData = "{\"janus\" : \"message\", \"transaction\" : \"randomString\", \"body\" : {";
postData += "\"request\" : \"create\", \"admin_key\" : \""; postData += "\"request\" : \"create\", \"admin_key\" : \"";
postData += config.janus_secret; postData += config.janus_secret;
postData += "\", \"type\" : \"rtsp\", "; postData += "\", \"type\" : \"rtsp\", \"rtsp_quirk\" : true, ";
postData += "\"url\" : \""; postData += "\"url\" : \"";
postData += rtsp_path; postData += rtsp_path;
if (rtsp_username != "") { if (rtsp_username != "") {