diff --git a/Model/Stream.swift b/Model/Stream.swift index e3a83ed3..5f600603 100644 --- a/Model/Stream.swift +++ b/Model/Stream.swift @@ -5,6 +5,8 @@ import Foundation // swiftlint:disable:next final_class class Stream: Equatable, Hashable, Identifiable { enum Resolution: String, CaseIterable, Comparable, Defaults.Serializable { + case hd4320p60 + case hd4320p case hd2160p60 case hd2160p50 case hd2160p48 diff --git a/Shared/Defaults.swift b/Shared/Defaults.swift index c61eb547..40f5afa3 100644 --- a/Shared/Defaults.swift +++ b/Shared/Defaults.swift @@ -96,6 +96,8 @@ extension Defaults.Keys { enum ResolutionSetting: String, CaseIterable, Defaults.Serializable { case best + case hd4320p60 + case hd4320p case hd2160p60 case hd2160p case hd1440p60 @@ -112,7 +114,7 @@ enum ResolutionSetting: String, CaseIterable, Defaults.Serializable { var value: Stream.Resolution { switch self { case .best: - return .hd2160p60 + return .hd4320p60 default: return Stream.Resolution(rawValue: rawValue)! } @@ -122,6 +124,10 @@ enum ResolutionSetting: String, CaseIterable, Defaults.Serializable { switch self { case .best: return "Best available quality" + case .hd4320p60: + return "8K, 60fps" + case .hd4320p: + return "8K" case .hd2160p60: return "4K, 60fps" case .hd2160p: