sukov / CachingPlayerItem

An AVPlayerItem subclass that lets you stream and cache media content on iOS
MIT License
75 stars 19 forks source link

Does it work well with URL with Parameters #10

Closed Xenolion closed 1 year ago

Xenolion commented 1 year ago

For instance the URL looks like https://ddomain.com/myfile.mp4?token=adajah828hhy297 Will the player play it and cache it in such a way that even if the token changes it will still refer to the same file locally?

sukov commented 1 year ago

Hello @Xenolion,

If the file is fully downloaded (cached) the token is no longer relevant and the file will be accessed from the local disc.

Xenolion commented 1 year ago

The question is if the file was partially downloaded can I resume playing it tomorrow? using a link with a different token. Or should I start downloading it from the beginning?

Xenolion commented 1 year ago

Does it resume the same file download when played at a later time? @sukov

sukov commented 1 year ago

Nope, resuming is currently not supported.