Add setting for turning off HTTP/2
This commit is contained in:
@@ -166,6 +166,8 @@ void BackendSettingsPage::Load() {
|
||||
|
||||
ui_->checkbox_bs2b->setChecked(s.value("bs2b", false).toBool());
|
||||
|
||||
ui_->checkbox_http2->setChecked(s.value("http2", false).toBool());
|
||||
|
||||
ui_->spinbox_bufferduration->setValue(s.value("bufferduration", kDefaultBufferDuration).toInt());
|
||||
ui_->spinbox_low_watermark->setValue(s.value("bufferlowwatermark", kDefaultBufferLowWatermark).toDouble());
|
||||
ui_->spinbox_high_watermark->setValue(s.value("bufferhighwatermark", kDefaultBufferHighWatermark).toDouble());
|
||||
@@ -476,6 +478,8 @@ void BackendSettingsPage::Save() {
|
||||
|
||||
s.setValue("bs2b", ui_->checkbox_bs2b->isChecked());
|
||||
|
||||
s.setValue("http2", ui_->checkbox_http2->isChecked());
|
||||
|
||||
s.setValue("bufferduration", ui_->spinbox_bufferduration->value());
|
||||
s.setValue("bufferlowwatermark", ui_->spinbox_low_watermark->value());
|
||||
s.setValue("bufferhighwatermark", ui_->spinbox_high_watermark->value());
|
||||
|
||||
@@ -252,6 +252,13 @@
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="checkbox_http2">
|
||||
<property name="text">
|
||||
<string>Enable HTTP/2 for streaming</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
|
||||
Reference in New Issue
Block a user