mirror of
https://github.com/yattee/yattee.git
synced 2025-04-27 23:40:35 +05:30
15 lines
288 B
Swift
15 lines
288 B
Swift
import AVFoundation
|
|
import Foundation
|
|
|
|
struct PlayerQueueItem: Hashable, Identifiable {
|
|
var id = UUID()
|
|
var video: Video
|
|
|
|
init(_ video: Video) {
|
|
self.video = video
|
|
}
|
|
|
|
var playerItems = [AVPlayerItem]()
|
|
var compositions = [Stream: AVMutableComposition]()
|
|
}
|