Minor tvOS controls and remote improvements

This commit is contained in:
Arkadiusz Fal
2022-06-29 23:43:39 +02:00
parent 1645c81e00
commit 97e9889682
6 changed files with 137 additions and 25 deletions

View File

@@ -1,3 +1,4 @@
import Combine
import CoreMedia
import Foundation
import SwiftUI
@@ -9,6 +10,10 @@ final class PlayerControlsModel: ObservableObject {
@Published var presentingControlsOverlay = false { didSet { handleOverlayPresentationChange() } }
@Published var timer: Timer?
#if os(tvOS)
var reporter = PassthroughSubject<String, Never>()
#endif
var player: PlayerModel!
init(