This release adds monitoring for SRG SSR content. It also introduces new APIs to better manage data in constrained environments, with support for Low Data Mode and upper bounds that can be set on content bitrate and resolution.
Recent API changes introduced for playlists in 4.0.0 have also been rollbacked. These APIs failed to deliver the convenient model / playlist synchronization they were introduced for.
Monitoring
- SRG SSR core business player items are monitored automatically. The collected data covers a wide range of Quality of Service / Quality of Experience needs and, even though all data is anonymous, you should ensure that your app privacy details are updated accordingly if needed.
Support for constrained data environments
ImageSource
supports standard and low-resolution image URLs. When provided these are automatically loaded when Low Data Mode has been enabled for a network.- Core business player items retrieve low-resolution images when Low Data Mode has been enabled for a network.
- The player configuration has been extended with a
allowsConstrainedNetworkAccess
to prevent playback for non-essential content when Low Data Mode has been enabled. PlayerLimits
can be freely defined to set upper bounds on content bitrate and resolution. This makes it possible to implement data-saving modes. Note that no lower bounds can be set, as the player must remain free to use available lower-quality variants to ensure an uninterrupted playback experience.
Miscellaneous improvements
- Provide a way to optionally attach metadata to unavailable
Asset
s. - Attach metadata to core business player items which are unavailable for a business reason (e.g. content not available yet).
- Make
Player.currentItem
a published property.
Breaking changes
- The
source
parameter associated withPlayerItem
s has been removed. - The corresponding
Playlist
parameter has been removed.
Fixes
- Fix erratic change observability when changing legible media options.
- Hide
RoutePickerView
for iPad apps running on macOS.
Demo improvements
- Add quality switch to the custom player layout settings menu.
- A similar setting is available from the global demo settings. This setting is applied throughout the demo where appropriate.
- Improve demo overall accessibility via VoiceOver.
What's changed
- Remove playlist source support by @defagos in #1041
- Monitor SRG SSR content by @waliid in #1042
- Set LSMinimumSystemVersion to 14.0 by @waliid in #1043
- Update GitHub templates by @waliid in #1044
- Remove monitoring warnings by @waliid in #1046
- Deliver metadata with business errors by @defagos in #981
- Remove error severity by @defagos in #1048
- Update known issues to reflect state as of iOS / tvOS 18 by @defagos in #1047
- Update fastlane to version 2.225.0 by @defagos in #1050
- Fix performance issue by @defagos in #1051
- Never display route selection for iPad apps run on macOS or Catalyst by @defagos in #1052
- Add support for Low Data Mode and bandwidth / resolution limits by @defagos in #1056
- Update 3rd party dependencies to most recent versions by @defagos in #1058
- Convert demo project to Xcode 16 folders by @defagos in #1055
- Remove superfluous Quality menu level on macOS by @defagos in #1057
- Avoid using SwiftLint via Mint by @waliid in #1059
- Improve demo accessibility via VoiceOver by @defagos in #1062
- Fix player observability in response to media accessibility updates by @defagos in #1061
- Improve tool resilience to offline conditions by @defagos in #1064
Full Changelog: 5.0.0...6.0.0