diff --git a/src/Camera/QGCCameraControl.cc b/src/Camera/QGCCameraControl.cc index 39605d0901f7badd5a2923644f03a1345f3cbf22..3eb7219b27296d1248667d7d737bac2e533d429e 100644 --- a/src/Camera/QGCCameraControl.cc +++ b/src/Camera/QGCCameraControl.cc @@ -1928,13 +1928,16 @@ void QGCCameraControl::_checkForVideoStreams() { if(_info.flags & CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM) { - connect(&_streamInfoTimer, &QTimer::timeout, this, &QGCCameraControl::_streamTimeout); - _streamInfoTimer.setSingleShot(false); - connect(&_streamStatusTimer, &QTimer::timeout, this, &QGCCameraControl::_streamStatusTimeout); - _streamStatusTimer.setSingleShot(true); - //-- Request all streams - _requestStreamInfo(0); - _streamInfoTimer.start(2000); + //-- Skip it if using Taisync as it has its own video settings + if(!qgcApp()->toolbox()->videoManager()->isTaisync()) { + connect(&_streamInfoTimer, &QTimer::timeout, this, &QGCCameraControl::_streamTimeout); + _streamInfoTimer.setSingleShot(false); + connect(&_streamStatusTimer, &QTimer::timeout, this, &QGCCameraControl::_streamStatusTimeout); + _streamStatusTimer.setSingleShot(true); + //-- Request all streams + _requestStreamInfo(0); + _streamInfoTimer.start(2000); + } } } diff --git a/src/Taisync/TaisyncSettings.qml b/src/Taisync/TaisyncSettings.qml index a002b84e443de488f67534a42a69b358623969fa..82513fa9bce6514cf743fdf2e98819f43be1471a 100644 --- a/src/Taisync/TaisyncSettings.qml +++ b/src/Taisync/TaisyncSettings.qml @@ -438,7 +438,7 @@ QGCView { height: ipSettingsLabel.height anchors.margins: ScreenTools.defaultFontPixelWidth anchors.horizontalCenter: parent.horizontalCenter - visible: _taisyncEnabled + visible: _taisyncEnabled && (!ScreenTools.isiOS && !ScreenTools.isAndroid) QGCLabel { id: ipSettingsLabel text: qsTr("Network Settings") @@ -449,7 +449,7 @@ QGCView { height: ipSettingsCol.height + (ScreenTools.defaultFontPixelHeight * 2) width: _panelWidth color: qgcPal.windowShade - visible: _taisyncEnabled + visible: _taisyncEnabled && (!ScreenTools.isiOS && !ScreenTools.isAndroid) anchors.margins: ScreenTools.defaultFontPixelWidth anchors.horizontalCenter: parent.horizontalCenter Column {