We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34c374d commit 0eefb94Copy full SHA for 0eefb94
Sources/SJSAssetExportSession/SampleWriter.swift
@@ -221,19 +221,13 @@ actor SampleWriter {
221
}
222
223
audioInput.requestMediaDataWhenReady(on: queue) {
224
- // NOTE: assumeIsolated crashes on macOS with Swift 6.0, fixed in 6.1
225
- self.assumeIsolated { _self in
226
- _self.writeAllReadySamples()
227
- }
+ Task { await self.writeAllReadySamples() }
228
229
230
231
private func startEncodingVideoTracks() {
232
videoInput?.requestMediaDataWhenReady(on: queue) {
233
234
235
236
237
238
239
0 commit comments