yattee/Model/SingleAssetStream.swift

13 lines
351 B
Swift
Raw Normal View History

2021-07-22 12:43:13 +00:00
import AVFoundation
import Foundation
final class SingleAssetStream: Stream {
var avAsset: AVURLAsset
init(avAsset: AVURLAsset, resolution: Resolution, kind: Kind, encoding: String) {
self.avAsset = avAsset
super.init(audioAsset: avAsset, videoAsset: avAsset, resolution: resolution, kind: kind, encoding: encoding)
}
}