Some webclient fixes
This commit is contained in:
@@ -716,6 +716,7 @@ void SpeakingClient::processJoin() {
|
||||
} else if(this->getType() == ClientType::CLIENT_WEB) {
|
||||
this->rtc_client_id = this->server->rtc_server().create_rtp_client(dynamic_pointer_cast<SpeakingClient>(this->ref()));
|
||||
}
|
||||
this->rtc_session_pending_describe = true;
|
||||
|
||||
TIMING_STEP(timings, "server reg ");
|
||||
ref_server->getGroupManager()->cleanupAssignments(this->getClientDatabaseId());
|
||||
@@ -929,7 +930,11 @@ command_result SpeakingClient::handleCommand(Command &command) {
|
||||
|
||||
command_result SpeakingClient::handleCommandRtcSessionDescribe(Command &command) {
|
||||
CMD_REQ_SERVER;
|
||||
CMD_CHK_AND_INC_FLOOD_POINTS(15);
|
||||
if(this->rtc_session_pending_describe) {
|
||||
this->rtc_session_pending_describe = false;
|
||||
} else {
|
||||
CMD_CHK_AND_INC_FLOOD_POINTS(15);
|
||||
}
|
||||
|
||||
uint32_t mode;
|
||||
if(command["mode"].string() == "offer") {
|
||||
|
||||
Reference in New Issue
Block a user