CachingPlayerItem
CachingPlayerItem copied to clipboard
pendingRequests accessed from different queues
I observed URLSessionDelegate and AVAssetResourceLoaderDelegate methods are called from different queues, and they both access pendingRequests.
Thanks for pointing out!
This can be a cause for #13
You are welcome :-)
@neekeetab Any update on this? It's definitely cause of crashes and currently, after we added CachingPlayerItem to our project, it's the biggest crash on Fabric. 😞
I’m sorry for the crashes. Most likely it’s due to the race conditions. Adding a private queue may do it
Is there a solution to this? My users are reporting crashes and this is cause. I'd help out but I'm not that good at multithreaded swift code. Really need a fix.