yattee/Model/SingleAssetStream.swift
2022-10-27 18:03:57 +02:00

13 lines
403 B
Swift

import AVFoundation
import Foundation
final class SingleAssetStream: Stream {
var avAsset: AVURLAsset
init(instance: Instance? = nil, avAsset: AVURLAsset, resolution: Resolution, kind: Kind, encoding: String = "") {
self.avAsset = avAsset
super.init(instance: instance, audioAsset: avAsset, videoAsset: avAsset, resolution: resolution, kind: kind, encoding: encoding)
}
}