Fixed a missing ! for the web client
This commit is contained in:
parent
8d42156383
commit
240052da3a
@ -121,7 +121,7 @@ bool VoiceBridge::initialize(std::string &error) {
|
|||||||
if(!this->connection->initialize(error)) return false;
|
if(!this->connection->initialize(error)) return false;
|
||||||
|
|
||||||
this->connection->callback_ice_candidate = [&](const rtc::IceCandidate& candidate) {
|
this->connection->callback_ice_candidate = [&](const rtc::IceCandidate& candidate) {
|
||||||
if(candidate.is_finished_candidate()) {
|
if(!candidate.is_finished_candidate()) {
|
||||||
if(auto callback{this->callback_ice_candidate}; callback)
|
if(auto callback{this->callback_ice_candidate}; callback)
|
||||||
callback(candidate);
|
callback(candidate);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user