Skip to content

SRG SSR monitoring and Low Data Mode support

Latest
Compare
Choose a tag to compare
@defagos defagos released this 14 Nov 07:09
6.0.0
925325b

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 Assets.
  • 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 with PlayerItems 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

Full Changelog: 5.0.0...6.0.0