change \!disabled for enabled, because toggled return true if enabled

This commit is contained in:
kirillpt 2020-11-25 19:05:31 +03:00
parent 46605d86f2
commit c5419f8783
2 changed files with 32 additions and 31 deletions

View file

@ -857,7 +857,8 @@ WebRTCSession::acceptOffer(const std::string &sdp)
return false;
}
// avoid a race that sometimes leaves the generated answer without media tracks (a=ssrc lines)
// avoid a race that sometimes leaves the generated answer without media tracks (a=ssrc
// lines)
std::this_thread::sleep_for(std::chrono::milliseconds(200));
// set-remote-description first, then create-answer