Fixed some minor speaking bugs

This commit is contained in:
WolverinDEV
2020-12-05 21:50:02 +01:00
parent da5f5bfebe
commit 88c4485278
4 changed files with 22 additions and 4 deletions
+4
View File
@@ -686,6 +686,10 @@ command_result SpeakingClient::handleCommandRtcSessionReset(Command &command) {
CMD_CHK_AND_INC_FLOOD_POINTS(15);
this->server->rtc_server().reset_rtp_session(this->rtc_client_id);
if(this->getType() == ClientType::CLIENT_TEASPEAK) {
/* registering the broadcast again since rtp session reset resets the broadcasts as well */
this->server->rtc_server().start_broadcast(this->rtc_client_id, 1, 1);
}
return command_result{error::ok};
}