Fix killing player on Apple TV

This commit is contained in:
Arkadiusz Fal
2021-06-16 21:12:41 +02:00
parent 4dd6f13df9
commit c4a3dab5fb
7 changed files with 230 additions and 59 deletions

View File

@@ -37,8 +37,6 @@ class Stream: Equatable {
func cancelLoadingAssets() {
assets.forEach { $0.cancelLoading() }
audioAsset = AVURLAsset(url: audioAsset.url)
videoAsset = AVURLAsset(url: videoAsset.url)
}
static func == (lhs: Stream, rhs: Stream) -> Bool {