1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-15 23:00:32 +05:30
yattee/Model/AudioVideoStream.swift

13 lines
362 B
Swift
Raw Normal View History

2021-06-15 22:05:21 +05:30
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)
}
}