CachingPlayerItemConfiguration
public enum CachingPlayerItemConfiguration
CachingPlayerItem global configuration.
-
How much data is downloaded in memory before stored on a file.
Declaration
Swift
public static var downloadBufferLimit: Int
-
How much data is allowed to be read in memory at a time.
Declaration
Swift
public static var readDataLimit: Int
-
Flag for deciding whether an error should be thrown when URLResponse’s expectedContentLength is not equal with the downloaded media file bytes count. Defaults to
false
.Declaration
Swift
public static var shouldVerifyDownloadedFileSize: Bool
-
If set greater than 0, the set value with be compared with the downloaded media size. If the size of the downloaded media is lower, an error will be thrown. Useful when
expectedContentLength
is unavailable. Default value is0
.Declaration
Swift
public static var minimumExpectedFileSize: Int