Unverified Commit 6d052668 authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #6990 from mavlink/rtspUdpTimeout

RTSP UDP timeout
parents 2d186f2a ebcc802d
...@@ -32,8 +32,8 @@ QGC_LOGGING_CATEGORY(VideoManagerLog, "VideoManagerLog") ...@@ -32,8 +32,8 @@ QGC_LOGGING_CATEGORY(VideoManagerLog, "VideoManagerLog")
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
VideoManager::VideoManager(QGCApplication* app, QGCToolbox* toolbox) VideoManager::VideoManager(QGCApplication* app, QGCToolbox* toolbox)
: QGCTool(app, toolbox) : QGCTool(app, toolbox)
, _videoReceiver(NULL) , _videoReceiver(nullptr)
, _videoSettings(NULL) , _videoSettings(nullptr)
, _fullScreen(false) , _fullScreen(false)
{ {
} }
......
This diff is collapsed.
...@@ -44,7 +44,7 @@ public: ...@@ -44,7 +44,7 @@ public:
Q_PROPERTY(QString videoFile READ videoFile NOTIFY videoFileChanged) Q_PROPERTY(QString videoFile READ videoFile NOTIFY videoFileChanged)
Q_PROPERTY(bool showFullScreen READ showFullScreen WRITE setShowFullScreen NOTIFY showFullScreenChanged) Q_PROPERTY(bool showFullScreen READ showFullScreen WRITE setShowFullScreen NOTIFY showFullScreenChanged)
explicit VideoReceiver(QObject* parent = 0); explicit VideoReceiver(QObject* parent = nullptr);
~VideoReceiver(); ~VideoReceiver();
#if defined(QGC_GST_STREAMING) #if defined(QGC_GST_STREAMING)
...@@ -138,6 +138,9 @@ protected: ...@@ -138,6 +138,9 @@ protected:
bool _serverPresent; bool _serverPresent;
int _rtspTestInterval_ms; int _rtspTestInterval_ms;
//-- RTSP UDP reconnect timeout
uint64_t _udpReconnect_us;
#endif #endif
QString _uri; QString _uri;
......
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