Closed smhk closed 4 years ago
Regarding playback complete,
the amazing CachingPlayerItemDelegate does not have a "playback has reached end" concept
CachingPlayerItemDelegate
CachingPlayerItem is incredible - is there an easy way to add a "playback complete" concept?
With "old" style code, we use something like
NotificationCenter.default.addObserver( self, selector: #selector(fileComplete), name: NSNotification.Name.AVPlayerItemDidPlayToEndTime, object: nil)
Is there a better way when using the amazing CachingPlayerItem ? Thanks
CachingPlayerItem
CachingPlayerItem is essentially AVPlayerItem but with a custom loader, so determining the end of the playback is the same as for AVPlayerItem
OK! Done, thanks! Fantastic lib.
Regarding playback complete,
the amazing
CachingPlayerItemDelegate
does not have a "playback has reached end" conceptCachingPlayerItem is incredible - is there an easy way to add a "playback complete" concept?
With "old" style code, we use something like
Is there a better way when using the amazing
CachingPlayerItem
? Thanks