mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 00:13:29 +02:00
Fix erroneous domain server log message
This commit is contained in:
parent
320b5a2d22
commit
38f7506c5e
1 changed files with 1 additions and 2 deletions
|
@ -345,9 +345,8 @@ bool WDCConnection::sendDataMessage(const DataBuffer& buffer) {
|
||||||
#endif
|
#endif
|
||||||
if (_dataChannel->buffered_amount() + buffer.size() > MAX_WEBRTC_BUFFER_SIZE) {
|
if (_dataChannel->buffered_amount() + buffer.size() > MAX_WEBRTC_BUFFER_SIZE) {
|
||||||
// Don't send, otherwise the data channel will be closed.
|
// Don't send, otherwise the data channel will be closed.
|
||||||
return false;
|
|
||||||
} else {
|
|
||||||
qCDebug(networking_webrtc) << "WebRTC send buffer overflow";
|
qCDebug(networking_webrtc) << "WebRTC send buffer overflow";
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
return _dataChannel->Send(buffer);
|
return _dataChannel->Send(buffer);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue