From 3d0061aec1dafbb8afad536f6f88c9a4bb2656a0 Mon Sep 17 00:00:00 2001 From: imbererzin Date: Sun, 14 Jul 2024 11:11:00 +0300 Subject: [PATCH] update startsOnFirstEligibleVariant default to false --- Classes/Player/PKPlayerSettings.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Player/PKPlayerSettings.swift b/Classes/Player/PKPlayerSettings.swift index 7fe522af..b7be4113 100644 --- a/Classes/Player/PKPlayerSettings.swift +++ b/Classes/Player/PKPlayerSettings.swift @@ -67,7 +67,7 @@ typealias SettingsChange = ((PlayerSettingsType) -> Void) /// A Boolean value that indicates whether playback starts with the first eligible variant that appears in the stream’s main playlist. /// For further details please see Apple's documentation: https://developer.apple.com/documentation/avfoundation/avplayeritem/3579514-startsonfirsteligiblevariant?language=objc - @objc public var startsOnFirstEligibleVariant: Bool = true { + @objc public var startsOnFirstEligibleVariant: Bool = false { didSet { self.onChange?(.startsOnFirstEligibleVariant(startsOnFirstEligibleVariant)) }