mirror of
				https://github.com/yattee/yattee.git
				synced 2025-10-31 12:41:57 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			457 B
		
	
	
	
		
			Swift
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			457 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 = "", videoFormat: String? = nil) {
 | |
|         self.avAsset = avAsset
 | |
| 
 | |
|         super.init(instance: instance, audioAsset: avAsset, videoAsset: avAsset, resolution: resolution, kind: kind, encoding: encoding, videoFormat: videoFormat)
 | |
|     }
 | |
| }
 | 
