1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-13 22:00:31 +05:30
yattee/Model/SingleAssetStream.swift

13 lines
356 B
Swift
Raw Normal View History

2021-07-22 18:13:13 +05:30
import AVFoundation
import Foundation
final class SingleAssetStream: Stream {
var avAsset: AVURLAsset
2021-10-17 04:18:58 +05:30
init(avAsset: AVURLAsset, resolution: Resolution, kind: Kind, encoding: String = "") {
2021-07-22 18:13:13 +05:30
self.avAsset = avAsset
super.init(audioAsset: avAsset, videoAsset: avAsset, resolution: resolution, kind: kind, encoding: encoding)
}
}