Browse Source

VideoSettings: Flag Herelink streams as configured:

otherwise videoManager won't restart the receiver and video
won't work properly when configured for Herelink
QGC4.4
davidsastresas 2 years ago committed by David Sastre
parent
commit
6e26121edf
  1. 10
      src/Settings/VideoSettings.cc

10
src/Settings/VideoSettings.cc

@ -225,6 +225,16 @@ bool VideoSettings::streamConfigured(void) @@ -225,6 +225,16 @@ bool VideoSettings::streamConfigured(void)
qCDebug(VideoManagerLog) << "Testing configuration for MPEG-TS Stream:" << udpPort()->rawValue().toInt();
return udpPort()->rawValue().toInt() != 0;
}
//-- If Herelink Air unit, good to go
if(vSource == videoSourceHerelinkAirUnit) {
qCDebug(VideoManagerLog) << "Stream configured for Herelink Air Unit";
return true;
}
//-- If Herelink Hotspot, good to go
if(vSource == videoSourceHerelinkHotspot) {
qCDebug(VideoManagerLog) << "Stream configured for Herelink Hotspot";
return true;
}
return false;
}

Loading…
Cancel
Save