sukov / CachingPlayerItem

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

Crash for init CachingPlayerItem #6

Closed mmrobert closed 1 year ago

mmrobert commented 1 year ago

Crash when init CachingPlayerItem: CachingPlayerItem(url: url):

CachingPlayerItem/CachingPlayerItem.swift:185: Fatal error: CachingPlayerItem error: init(asset:automaticallyLoadedAssetKeys:) not implemented

I checked the code base, different places call the super.init, not this one.

sukov commented 1 year ago

@mmrobert I see what's going on, thank you for reporting this I will fix it when I have the time. For now please use CachingPlayerItem(url: url, avUrlAssetOptions: nil)

mmrobert commented 1 year ago

Thanks On Wednesday, February 8, 2023 at 06:30:43 AM PST, Gorjan Shukov @.***> wrote:

@mmrobert I see what's going on, thank you for reporting this I will fix it when I have the time. For now please call CachingPlayerItem(url: url, avUrlAssetOptions: nil)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

sukov commented 1 year ago

Fixed in the latest release 1.0.7