Player layout fixes

This commit is contained in:
Arkadiusz Fal
2022-07-09 02:21:04 +02:00
parent fc2e16701d
commit 868e5fcbc7
12 changed files with 198 additions and 102 deletions

View File

@@ -19,6 +19,8 @@ protocol PlayerBackend {
var isSeeking: Bool { get }
var playerItemDuration: CMTime? { get }
var aspectRatio: Double { get }
func bestPlayable(_ streams: [Stream], maxResolution: ResolutionSetting) -> Stream?
func canPlay(_ stream: Stream) -> Bool