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
I have properly implemented the CachingPlayerItem functionality in my application. The only problem I am facing is that some videos with streaming URLs are not playing. AVPlayer gives error: "request timed out".
Although using simple AVPlayerItem class AVPlayer plays such videos with no error. Please resolve this issue.
FYI, I am testing it on real device. That is, iPhone 6.
The text was updated successfully, but these errors were encountered:
Yes, it happens for some of the videos.
For one of such video, I digged deep into the code and noticed that resource delegate methods are requesting bytes with range that are the last portion(bytes) of video. Hence, downloading video to that range takes too long and AVPlayer causes the error: "request timed out".
BTW, once video is downloaded completely, then works perfectly as cached file.
I have properly implemented the CachingPlayerItem functionality in my application. The only problem I am facing is that some videos with streaming URLs are not playing. AVPlayer gives error: "request timed out".
Although using simple AVPlayerItem class AVPlayer plays such videos with no error. Please resolve this issue.
FYI, I am testing it on real device. That is, iPhone 6.
The text was updated successfully, but these errors were encountered: