Improve streams quality settings

This commit is contained in:
Arkadiusz Fal
2022-03-27 20:59:22 +02:00
parent f9a504c3ff
commit 20876584e8
6 changed files with 34 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ protocol PlayerBackend {
var isPlaying: Bool { get }
var playerItemDuration: CMTime? { get }
func bestPlayable(_ streams: [Stream]) -> Stream?
func bestPlayable(_ streams: [Stream], maxResolution: ResolutionSetting) -> Stream?
func canPlay(_ stream: Stream) -> Bool
func playStream(