mirror of
https://github.com/samsonjs/SJSAssetExportSession.git
synced 2026-06-28 05:19:38 +00:00
Encode audio before video to surface failures faster
This commit is contained in:
parent
b60032f15f
commit
4966910a3b
1 changed files with 2 additions and 2 deletions
|
|
@ -106,10 +106,10 @@ actor SampleWriter {
|
|||
reader.startReading()
|
||||
try Task.checkCancellation()
|
||||
|
||||
await encodeVideoTracks()
|
||||
await encodeAudioTracks()
|
||||
try Task.checkCancellation()
|
||||
|
||||
await encodeAudioTracks()
|
||||
await encodeVideoTracks()
|
||||
try Task.checkCancellation()
|
||||
|
||||
guard reader.status != .cancelled && writer.status != .cancelled else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue