Closed mohamedrafi-rapid closed 1 year ago
Resolved the issue by cancelAndInvalidate the playeritem session
@neekeetab Now I am cancelling download an ongoing session by playerItem?.resourceLoaderDelegate.session?.invalidateAndCancel(). Made resourceLoaderDelegate.session public.
Will this cause the crash? Actually crash happens very rarely. To reduce crash rate In processPendingRequests() I have added a main async now
@neekeetab Now I am cancelling download an ongoing session by playerItem?.resourceLoaderDelegate.session?.invalidateAndCancel(). Made resourceLoaderDelegate.session public.
Will this cause the crash? Actually crash happens very rarely. To reduce crash rate In processPendingRequests() I have added a main async now
Can you please show how? I have the exact issue, but to me it happens a lot!
Thread 126: "-[__NSTaggedDate count]: unrecognized selector sent to instance 0x8000000000000000"
Please help @neekeetab