Releases: SRGSSR/srgletterbox-apple
Releases · SRGSSR/srgletterbox-apple
Maintenance release
Maintenance release for Xcode 14
Xcode compatibility
This release makes sure the project builds with Xcode 14 without any significant warning.
Fixes
- Remove superfluous zoom gestures when zooming is not possible (#272).
Maintenance release
- Fix Letterbox view memory leaks.
Forced subtitles support
New features
- When no subtitles have been explicitly enabled, forced subtitles matching the currently selected audio language are automatically displayed – SRG Media Player version 7.0.2.
Breaking changes
- The SRG Data Provider library has been updated to version 16.0.0.
Fixes
- Fix font weight on devices whose language is different from English.
Playback button interaction delegate method
New features
- A new method has been added to
SRGLetterboxViewDelegate
to be notified of playback button user interactions.
Breaking changes
- The SRG Data Provider library has been updated to version 15.0.0.
Fixes
- Fix a minor label truncation on the countdown when displayed in German.
Modern gestures
New features
Tapping a Letterbox view twice in quick succession on its right or left makes the player skip to the next, respectively previous time position in 10 second increments:
- Skip mode is entered by double-tapping the player once. This gesture can be followed by additional single taps to move further in time.
- Content gravity is now managed with a pinch gesture and also provides a way to enter or exit full screen mode (provided the dedicated button is also available).
- The skip and pinch gestures can be performed whether user interface controls are visible or not. Note that these gestures are not available when the corresponding buttons are not themselves available, e.g. for Letterbox view with hidden non-togglable controls.
- The forward skip buttons now move 10 seconds forward instead of 30 seconds. Control center behavior has been updated accordingly.
Improvements
- Times displayed by a Letterbox view during DVR livestream playback are now always formatted in the Zurich timezone.
- The quality of images displayed by a Letterbox view or in the control center has been reduced. This decreases the amount of data transferred with no meaningful impact on the quality of the user experience.
- Methods to skip forward / backwards with standard increments have been added to the Letterbox controller API.
- Age rating blocking reason messages have been updated.
- The SRG Appearance library has been updated to version 5.1.0.
Breaking changes
- Forward and backward skip intervals are now equal to 10 seconds. The corresponding
SRGLetterboxBackwardSkipInterval
andSRGLetterboxForwardSkipInterval
have therefore been replaced with a singleSRGLetterboxSkipInterval
constant. - The SRG Data Provider library has been updated to version 14.0.0.
Migration instructions
You can remove any pinch gestures that your application might have introduced to manage full screen display. If your application was adding other kinds of gestures on top of a Letterbox view (e.g. pan gestures) please check that the behavior of these gestures still match your expectations.
Playback speed and seek preview
Playback speed
- The controller supports the rates 0.5×, 0.75×, 1×, 1.25×, 1.5×, 2× for slow, normal or fast playback. These supported values are returned from the
supportedPlaybackRates
property and the desired rate can be set using the newly availableplaybackRate
property. - Livestreams might not always support some playback speeds. The
effectivePlaybackRate
property returns the currently applied playback rate. - Analytics take into account the current playback speed.
- On iOS:
- The track selection button has been transformed into a settings button from which playback speed, audio track and subtitles can be selected.
- The settings button is visible at all times, not only when subtitles are available. The subtitle selection state is similarly not reflected anymore by the button itself.
- The view delegate protocol provides new methods called when the user picks a playback speed, audio track or subtitles.
- On tvOS:
- Playback speed can be selected using a dedicated button available from
SRGLetterboxViewController
main user interface. - The
SRGLetterboxViewControllerDelegate
protocol provides a new delegate method called when the playback speed is changed (no similar methods are provided for audio or subtitle track selection for technical reasons, though).
- Playback speed can be selected using a dedicated button available from
Seek preview
- On iOS a seek preview is automatically displayed when interacting with the Letterbox view slider. This preview might not be available for old videos or depending on the kind of content protection (e.g. content protected by DRM) (#265).
- Seek previews currently rely on the availability of a sprite sheet, not on keyframes delivered as part of the stream (#187). For this reason this feature is not available on tvOS yet.
Improvements
- Playback setting window colors have been tweaked for better readability.
Fixes
- Avoid content overlaps during continuous playback transitions (#263).
- Fix slider up and down accessibility gestures.
- Always hide AirPlay button for controller instances not register with the service (#264).
Dependencies
- The SRG Analytics library has been updated to version 7.5.0.
Maintenance release
Picture in Picture fix
- Fix an issue appeared with iOS 14, and which could lead to Picture in Picture enabled unnecessarily when moving the app to the background, even for instances not registered with Letterbox service.
Maintenance release
This release updates SRG Analytics to version 7.3.0.