2021-07-22 18:13:13 +05:30
|
|
|
import AVFoundation
|
|
|
|
import Foundation
|
|
|
|
|
|
|
|
final class SingleAssetStream: Stream {
|
|
|
|
var avAsset: AVURLAsset
|
|
|
|
|
2022-12-09 05:45:19 +05:30
|
|
|
init(instance: Instance? = nil, avAsset: AVURLAsset, resolution: Resolution, kind: Kind, encoding: String = "", videoFormat: String? = nil) {
|
2021-07-22 18:13:13 +05:30
|
|
|
self.avAsset = avAsset
|
|
|
|
|
2022-12-09 05:45:19 +05:30
|
|
|
super.init(instance: instance, audioAsset: avAsset, videoAsset: avAsset, resolution: resolution, kind: kind, encoding: encoding, videoFormat: videoFormat)
|
2021-07-22 18:13:13 +05:30
|
|
|
}
|
|
|
|
}
|