Fix handling of ICE candidate received from client

This commit is contained in:
David Rowe 2021-10-26 12:13:25 +13:00
parent 0fcb9423bf
commit 2971dd6185

View file

@ -489,7 +489,7 @@ void WebRTCDataChannels::onSignalingMessage(const QJsonObject& message) {
// Add a remote ICE candidate.
if (data.contains("candidate")) {
connection->addIceCandidate(data);
connection->addIceCandidate(data.value("candidate").toObject());
}
}