Skip to content

Improved Error Management

Latest
Compare
Choose a tag to compare
@defagos defagos released this 01 Oct 06:47
· 3 commits to main since this release
13.0.0
d609125

Improvements

  • Integrations can now access full details of errors that occur during asset loading.
  • Core Business asset loading errors are now exposed as DataError.
  • Added Player.resume(_:in:) to allow setting a transient start item and time.
  • Introduced MediaSelectionPreference, improving media selection APIs and adding support for .off selection.
  • Simplified playback speed APIs.
  • Unified playlist navigation APIs to consistently respect the navigationMode across all use cases.
  • Added reporting of the current AirPlay status in Commanders Act events.
  • Made RepeatMode conform to CaseIterable.

Fixes

  • Fixed an issue where playback of DRM-protected content could fail consistently after the app stayed in the background for several hours.
  • Fixed stale values returned by Commanders Act and metrics tracker heartbeats.
  • Fixed inconsistencies in the Picture-in-Picture restoration flag when stopping without restoration.
  • Fixed incorrect busy state reporting when playback fails.

Demo Improvements

  • Error messages now include icons for better clarity.
  • Added a shortcut link to application settings.

Demo Fixes

  • Fixed blurry images on skip buttons.
  • Fixed the toggle tap gesture not working on iOS 26.
  • Restored demo content that was previously unplayable.

Breaking Changes

  • Replaced Player.setMediaSelection(preferredLanguages:for:) with Player.setMediaSelectionPreference(_:for:).
  • Removed Player.mediaSelectionPreferredLanguages(for:).
  • Removed Player.canReturnToPrevious(), Player.canAdvanceToNext(), Player.returnToPrevious() and Player.advanceToNext().
  • Removed Player.setDesiredPlaybackSpeed(_:) and Player.effectivePlaybackSpeed. Use Player.playbackSpeed instead.

What's Changed

New Contributors

Full Changelog: 12.0.0...13.0.0