clapper-app: Apply "adaptive-start-bitrate" on startup

Watch for "adaptive-bandwidth" changes during adaptive streaming, use these to
set "adaptive-start-bitrate" player property, so we do not always start streaming
from some constant bitrate value which might not be the best for everyone.

Additionally, store last value in GSettings on app exit and also add a command
line arg to set this too.
This commit is contained in:
Rafał Dzięgiel
2024-11-15 23:18:38 +01:00
parent e4045b98b3
commit 22430620a8
3 changed files with 21 additions and 1 deletions

View File

@@ -49,6 +49,10 @@
<default>1.0</default>
<summary>Stores last speed value to apply on startup</summary>
</key>
<key name="adaptive-start-bitrate" type="i">
<default>1600000</default>
<summary>Stores initial adaptive streaming bitrate to apply on startup</summary>
</key>
<key name="progression-mode" type="i">
<default>1</default>
<summary>Stores last queue progression mode used to apply on startup</summary>