You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the following call asset.resourceLoader.setDelegate in each init method, should use background queue DispatchQueue.global(qos: .background) instead of main queue to prevent possible app freezes on the main thread which happened with me.
The text was updated successfully, but these errors were encountered:
murad1981
changed the title
the player item doesn't cache audio data
replacing DipatchQueue.main with background queue
Apr 29, 2019
I agree that the work of ResourceLoaderDelegate should be done on a global queue. At the same time, the delegate calls should be performed on the main queue.
the following call
asset.resourceLoader.setDelegate
in eachinit
method, should use background queueDispatchQueue.global(qos: .background)
instead of main queue to prevent possible app freezes on the main thread which happened with me.The text was updated successfully, but these errors were encountered: