Skip to content

Improved subtitle support

Compare
Choose a tag to compare
@defagos defagos released this 07 Jun 08:51
· 848 commits to master since this release
  • Support for subtitle selection has been improved to better take Accessibility settings (SDH / Audio description) into account, as well as user preferred languages.
  • A media configuration block can be optionally be attached to a media player controller. This block is called when a media is ready to play, and provides a convenient way to customize the AVPlayerItem before it is played. This block is mostly provided as a way to customize subtitle and audio tracks programatically (#64).
  • Playback methods which expected an AVPlayerItem object now expect an AVURLAsset object instead. Accordingly, the SRGMediaPlayerPreviousPlayerItemAssetKey constant has been renamed as SRGMediaPlayerPreviousURLAssetKey.
  • Player stalls are now reported in a reliable way.
  • Audio-only playback detection has been improved (#63).
  • A new SRGMediaPlayerPreviousSelectedSegmentKey is supplied in playback state change notifications to provide information about any previously selected segment.
  • The subtitle popover style cannot be overridden anymore with UIAppearance.
  • The framework footprint at application startup time has been reduced.