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