Skip to content

Releases: SRGSSR/srgmediaplayer-apple

Maintenance release

04 Aug 06:43
354b2c5
Compare
Choose a tag to compare

Fixes

  • Fixes regression introduced in version 7.2.2, leading to DVR streams starting at an incorrect default position (start of the DVR window instead of live edge).

Maintenance release

26 Jul 09:35
cbf8cf3
Compare
Choose a tag to compare

Improvements

  • Mitigates startup issue with malformed on-demand streams containing misaligned timestamps (such streams should still be fixed but at least the player will behave in a better was in the meantime).

What's changed

  • Xcode 15 with iOS 17 and tvOS 17 by @pyby in #126
  • Build and test with Xcode 15.0.1 by @pyby in #131
  • Build and test with Xcode 15.3 by @pyby in #132
  • Bump rexml from 3.2.5 to 3.2.8 by @dependabot in #133
  • Build and test with Xcode 15.4 by @pyby in #134
  • Always seek to the start position to mitigate impact of timestamp misalignments by @defagos in #135

Full Changelog: 7.2.1...7.2.2

Maintenance release

03 Aug 17:44
7176081
Compare
Choose a tag to compare

Fixes

  • Fix missing import (#129).

Full Changelog: 7.2.0...7.2.1

Maintenance release

03 Aug 12:15
63a8b41
Compare
Choose a tag to compare

Improvement

  • Add SRG_NSTIMEINTERVAL_IS_VALID(NSTimeInverval) (#128).
  • Various CI improvements.

Fixes

  • Fix SRGTimeSlider throwing sometime an exception (#128).
  • Disable flaky test (#125).

Full Changelog: 7.1.0...7.2.0

Maintenance release for Xcode 14

11 Aug 19:02
0e59937
Compare
Choose a tag to compare
  • The minimum deployment target has been bumped to iOS 12.
  • This release makes sure the project builds with Xcode 14 without any significant warning.
  • Restore Catalyst support with Xcode 14 (#105).

Maintenance release

18 Jul 13:04
7.0.3
00ed47f
Compare
Choose a tag to compare
  • Remove assertions which could not always be entirely fulfilled.

Forced subtitles support

08 Jul 09:42
7.0.2
d97e453
Compare
Choose a tag to compare
  • When no subtitles have been explicitly enabled, forced subtitles matching the currently selected audio language are automatically displayed.

Maintenance release

20 May 09:52
b0a28e8
Compare
Choose a tag to compare
  • Fix playback rate sometimes not immediately changed when playing a DVR stream (#117).
  • Update layout implementation.

Playback rate

13 Apr 13:10
44836cc
Compare
Choose a tag to compare

New features

  • 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.
  • 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 button 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 SRGMediaPlayerViewController main user interface.
    • The SRGMediaPlayerViewControllerDelegate 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).

Improvements

  • Playback setting window colors have been tweaked for better readability.
  • Add slider dragging start and strop delegate methods to SRGTimeSliderDelegate.
  • Add support for slider increment and decrement accessibility gestures (#116).

Fix

  • Fix tvOS 15 crashes when playing another media.

Breaking changes

  • SRGTracksButton has been renamed as SRGPlaybackSettingsButton.
  • The alwaysHidden playback settings button property has been removed, as the button is now always visible. Simply use the hidden property when you need to hide the button.
  • The selectedImage playback settings button property has been removed, as there is no selected state anymore.
  • SRGTracksButtonDelegate has been renamed as SRGPlaybackSettingsButtonDelegate. Existing method signatures have been updated appropriately.

Migration instructions

If you were previously using SRGTracksButton:

  • Update any code or resource (storyboard, xib) explicitly referencing the SRGTracksButton class, replacing it with SRGPlaybackSettingsButton.
  • Update the SRGMediaPlayerDesignables.m file if you were using it by copying the updated file available from the Designables source code folder.
  • Replace calls to alwaysHidden with hidden.
  • Update your button delegate protocol implementation to SRGPlaybackSettingsButtonDelegate.

Maintenance release

14 Mar 10:30
6.2.2
83dc2f5
Compare
Choose a tag to compare
  • Fix crash when playing another media on tvOS 15.2 (#114).