Merge pull request #3449 from jp-bennett/master

Add rtsp_quirk to Janus mountpoints.
This commit is contained in:
Isaac Connor 2022-03-05 12:48:47 -05:00 committed by GitHub
commit b13fd68376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 != "") {