Use user-initiated QoS for the dispatch queue

This commit is contained in:
Sami Samhuri 2024-07-11 08:17:19 -07:00
parent fa1f39bb2b
commit 5c08e65280
No known key found for this signature in database

View file

@ -17,8 +17,7 @@ actor SampleWriter {
private let queue = DispatchSerialQueue(
label: "SJSAssetExportSession.SampleWriter",
autoreleaseFrequency: .workItem,
target: .global()
qos: .userInitiated
)
// Execute this actor on the same queue we use to request media data so we can use