QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
VideoStreamSettingsGroup.qml
Go to the documentation of this file.
1import QtQuick
2import QtQuick.Layouts
3
4import QGroundControl
5import QGroundControl.Controls
6import QGroundControl.FactControls
7
8// How a network stream is received: Low Latency Mode or, without it, GStreamer's RTP jitter buffer latency. Shown only
9// for a network stream.
10QGCGroupBox {
11 id: root
12
13 readonly property VideoSettings _videoSettings: QGroundControl.settingsManager.videoSettings
14
15 heading: qsTr("Video Stream")
16 visible: QGroundControl.videoManager.isStreamSource
17
18 FactCheckBoxSlider {
19 objectName: "videoLowLatencyMode"
20 text: qsTr("Low Latency Mode")
21 fact: root._videoSettings.lowLatencyMode
22 visible: fact.userVisible
23 Layout.fillWidth: true
24 }
25
26 LabelledFactTextField {
27 objectName: "videoRtpJitterLatency"
28 label: qsTr("RTP jitter latency")
29 fact: root._videoSettings.rtpJitterLatencyMs
30 visible: fact.userVisible && !root._videoSettings.lowLatencyMode.rawValue
31 && root._videoSettings.videoBackend.rawValue === VideoSettings.VideoBackendGStreamer
32 }
33}