Fixed some minor speaking bugs
This commit is contained in:
@@ -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};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user