Add "Always use AVPlayer for live videos" option

This commit is contained in:
Arkadiusz Fal
2022-08-22 23:14:27 +02:00
parent e4c6fd8c9e
commit 868883dc45
3 changed files with 20 additions and 7 deletions

View File

@@ -87,6 +87,7 @@ extension Defaults.Keys {
static let batteryNonCellularProfile = Key<QualityProfile.ID>("batteryNonCellularProfile", default: batteryNonCellularProfileDefault)
static let chargingCellularProfile = Key<QualityProfile.ID>("chargingCellularProfile", default: chargingCellularProfileDefault)
static let chargingNonCellularProfile = Key<QualityProfile.ID>("chargingNonCellularProfile", default: chargingNonCellularProfileDefault)
static let forceAVPlayerForLiveStreams = Key<Bool>("forceAVPlayerForLiveStreams", default: true)
static let playerSidebar = Key<PlayerSidebarSetting>("playerSidebar", default: PlayerSidebarSetting.defaultValue)
static let playerInstanceID = Key<Instance.ID?>("playerInstance")