yattee/Model/AudioVideoStream.swift
2021-06-15 23:21:57 +02:00

13 lines
362 B
Swift

import AVFoundation
import Foundation
final class AudioVideoStream: Stream {
var avAsset: AVURLAsset
init(avAsset: AVURLAsset, resolution: StreamResolution, type: StreamType, encoding: String) {
self.avAsset = avAsset
super.init(audioAsset: avAsset, videoAsset: avAsset, resolution: resolution, type: type, encoding: encoding)
}
}