Skip to content

Releases: sukov/CachingPlayerItem

2.0.1

29 Nov 16:32
bbb647b
Compare
Choose a tag to compare
  • Fixes progress not returned & verifyResponse not working when only downloading
  • Fixes race conditions by including one missed pendingDataRequests access on shouldWaitForLoadingOfRequestedResource and replacing DispatchQueue with OperationQueue.
  • Prevents cancelled tasks processing after invalidateAndCancelSession

What's Changed

Full Changelog: 2.0.0...2.0.1

2.0.0

28 Nov 16:58
a409a15
Compare
Choose a tag to compare
  • Allows concurrent media loading to enable smooth seeking
  • Fixes AVPlayer infinite silent stalling

Note:

  • Some portions of the media file might be fetched from remote more than once, depending on the ResourceLoaderDelegate's fullMediaFileDownloadTask progress and player seeking. Persisting data to a single file from multiple requests with various offsets and lengths is challenging, hence the minor drawback.
  • No breaking changes!

What's Changed

Full Changelog: 1.1.3...2.0.0

1.1.3

19 Aug 18:12
Compare
Choose a tag to compare
  • Minor internal improvements

1.1.2

19 Aug 15:25
Compare
Choose a tag to compare
  • Fixes crash on ResourseLoaderDelegate invalidateAndCancelSession

1.1.1

13 Aug 00:07
Compare
Choose a tag to compare
  • Fixes playing local files with no extension in name causes data loss

1.1.0

12 Aug 23:57
Compare
Choose a tag to compare
  • Fixes race condition crash on processPendingRequests
  • Adds cancelDownload method on CachingPlayerItem

1.0.8

14 Jun 15:10
Compare
Choose a tag to compare
  • Fixes crash when playing with AVPlayerLooper

1.0.7

15 May 17:38
Compare
Choose a tag to compare
  • Fixes crash on CachingPlayerItem init with url
  • Fixes HTTP headers not passed on caching requests

1.0.6

26 Oct 17:26
Compare
Choose a tag to compare

Adds avUrlAssetOptions on CachingPlayerItem initialisers

1.0.5

21 Aug 15:20
Compare
Choose a tag to compare

Adds Swift Package Manager support