Add rtsp_quirk to Janus mountpoints.
Workaround for Vivotek and possibly other cameras that use nonstandard RTSP URIs,
This commit is contained in:
parent
10402fdabe
commit
9f4df40ac5
|
@ -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 != "") {
|
||||||
|
|
Loading…
Reference in New Issue