Fixed the auto keyframe interval

This commit is contained in:
WolverinDEV 2021-01-04 20:36:33 +01:00
parent 8be83fc51d
commit f2c5b5d750
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 366ba5ba42e7503afcb2e81b367209c9e4f5c5d7 Subproject commit 499bd8dde6bf8e0f0bdff4dc3ecd589f614a1a1e

View File

@ -859,7 +859,7 @@ command_result SpeakingClient::handleCommandRtcBroadcast(Command &command) {
case 2: { case 2: {
ts::Command cmd{""}; ts::Command cmd{""};
cmd["broadcast_bitrate_max"] = 1500000; cmd["broadcast_bitrate_max"] = 1500000;
cmd["broadcast_keyframe_interval"] = 7; cmd["broadcast_keyframe_interval"] = 0;
cmd["ssrc"] = ssrc; cmd["ssrc"] = ssrc;
cmd["type"] = (uint8_t) rtc::VideoBroadcastType::Camera; cmd["type"] = (uint8_t) rtc::VideoBroadcastType::Camera;
result.insert_result(this->handleCommandBroadcastVideo(cmd)); result.insert_result(this->handleCommandBroadcastVideo(cmd));
@ -868,7 +868,7 @@ command_result SpeakingClient::handleCommandRtcBroadcast(Command &command) {
case 3: { case 3: {
ts::Command cmd{""}; ts::Command cmd{""};
cmd["broadcast_bitrate_max"] = 1500000; cmd["broadcast_bitrate_max"] = 1500000;
cmd["broadcast_keyframe_interval"] = 7; cmd["broadcast_keyframe_interval"] = 0;
cmd["ssrc"] = ssrc; cmd["ssrc"] = ssrc;
cmd["type"] = (uint8_t) rtc::VideoBroadcastType::Screen; cmd["type"] = (uint8_t) rtc::VideoBroadcastType::Screen;
result.insert_result(this->handleCommandBroadcastVideo(cmd)); result.insert_result(this->handleCommandBroadcastVideo(cmd));