mirror of
https://github.com/yattee/yattee.git
synced 2024-12-16 07:10:31 +05:30
13 lines
362 B
Swift
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)
|
||
|
}
|
||
|
}
|