Browse Source

Merge pull request #5611 from SaliniVenate/proxyError

Set NoProxy for the TCP Socket used for Videostreaming
QGC4.4
Don Gagne 8 years ago committed by GitHub
parent
commit
affbaef07c
  1. 1
      src/VideoStreaming/VideoReceiver.cc

1
src/VideoStreaming/VideoReceiver.cc

@ -181,6 +181,7 @@ VideoReceiver::_timeout() @@ -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();

Loading…
Cancel
Save