Commit affbaef0 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #5611 from SaliniVenate/proxyError

Set NoProxy for the TCP Socket used for Videostreaming
parents 15b5fdde 265e051c
......@@ -181,6 +181,7 @@ VideoReceiver::_timeout()
// found to be working, only then we actually start the stream.
QUrl url(_uri);
_socket = new QTcpSocket;
_socket->setProxy(QNetworkProxy::NoProxy);
connect(_socket, static_cast<void (QTcpSocket::*)(QAbstractSocket::SocketError)>(&QTcpSocket::error), this, &VideoReceiver::_socketError);
connect(_socket, &QTcpSocket::connected, this, &VideoReceiver::_connected);
//qCDebug(VideoReceiverLog) << "Trying to connect to:" << url.host() << url.port();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment