mirror of
https://github.com/samsonjs/SJSAssetExportSession.git
synced 2026-03-25 08:45:50 +00:00
14 lines
313 B
Swift
14 lines
313 B
Swift
//
|
|
// AVAsset+sending.swift
|
|
// SJSAssetExportSessionTests
|
|
//
|
|
// Created by Sami Samhuri on 2024-07-07.
|
|
//
|
|
|
|
import AVFoundation
|
|
|
|
extension AVAsset {
|
|
func sendTracks(withMediaType mediaType: AVMediaType) async throws -> sending [AVAssetTrack] {
|
|
try await loadTracks(withMediaType: mediaType)
|
|
}
|
|
}
|