Skip to content

Releases: SRGSSR/srgletterbox-apple

Maintenance release

09 Sep 13:22
9f4c6dc
Compare
Choose a tag to compare

Fixes

  • iOS timeline view is not interactive in some cases (#274).

Demo application

  • Open media from a custom url (#277).
  • Add SAM servers in the settings tab (#279).

Maintenance release for Xcode 14

11 Aug 21:00
2db25a0
Compare
Choose a tag to compare

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

18 Jul 13:19
8.2.1
6cea537
Compare
Choose a tag to compare
  • Fix Letterbox view memory leaks.

Forced subtitles support

08 Jul 12:17
412acb0
Compare
Choose a tag to compare

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

Fixes

  • Fix font weight on devices whose language is different from English.

Playback button interaction delegate method

15 Jun 09:53
8.1.0
5f5aa8e
Compare
Choose a tag to compare

New features

  • A new method has been added to SRGLetterboxViewDelegate to be notified of playback button user interactions.

Breaking changes

Fixes

  • Fix a minor label truncation on the countdown when displayed in German.

Modern gestures

20 May 13:27
5d0d479
Compare
Choose a tag to compare

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 and SRGLetterboxForwardSkipInterval have therefore been replaced with a single SRGLetterboxSkipInterval 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

13 Apr 15:21
6490f6c
Compare
Choose a tag to compare

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 available playbackRate 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).

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

Maintenance release

14 Mar 12:58
7.4.0
5c4461e
Compare
Choose a tag to compare
  • Fix crash during continuous playback transitions on tvOS 15.2 (#259).
  • Fix countdown layout issue (#253).

Picture in Picture fix

10 Dec 15:31
15b968f
Compare
Choose a tag to compare
  • 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

02 Nov 10:54
fc40866
Compare
Choose a tag to compare

This release updates SRG Analytics to version 7.3.0.