Skip to content

Releases: THEOplayer/react-native-theoplayer

v2.15.0

26 Sep 14:12
Compare
Choose a tag to compare

Changed

  • Upgraded the iOS side-loaded text track connector.

Fixed

  • Fixed an issue where the Android mediaSession connector would still process media button events when the app was in the background, and enableBackgroundPlayback was false.
  • Fixed an issue on Android where play-out would still start when the app was put to the background during initial buffering, and enableBackgroundPlayback was false.
  • Fixed an issue on Android where the MediaButtonReceiver would crash the app when it did not find a registered MediaBrowserService instance, when setting enableBackgroundPlayback to false while backgrounding the app.

v2.14.0

25 Sep 14:04
Compare
Choose a tag to compare

Fixed

  • Fixed an issue on Android where the MediaButtonReceiver would crash the app when it did not find a registered MediaBrowserService instance.

Added

  • Added support for side-loaded metadata tracks on iOS.

v2.13.0

15 Sep 01:20
Compare
Choose a tag to compare

Fixed

  • Fixed an issue where setting a new source on iOS, during DRM handling, would crash the application due to unsafe array access by different threads.

v2.12.1

14 Sep 14:28
Compare
Choose a tag to compare

Fixed

  • Fixed an issue on Android where the player SDK dependency could resolve to version 6.+.
  • Fixed an issue on iOS where the player integration dependencies could resolve to version 6.+.

v2.12.0

04 Sep 13:03
Compare
Choose a tag to compare

Added

  • Added an AnalyticsDescription property to SourceDescription to configure additional source-specific properties for analytics connectors.
  • Added support for sideloaded webVTT and SRT texttracks on iOS.
  • Added Audio Focus for Android, pausing play-out on audio focus loss and resuming play-out once focus has been regained.
  • Added Audio Focus and Audio Becoming Noisy manager for Android.

Fixed

  • Fixed an issue on Android that would cause the player not to reset when setting an empty source.
  • Fixed an issue where a text track cue was not properly removed from the cue list on a TextTrackEventType.REMOVE_CUE event.
  • Fixed an issue on tvOS that allowed the user to pause a CSAI ad using the apple remote control.
  • Fixed an issue on iOS where the cue event listeners were not cleanup up when destroying the player instance, resulting in memory build-up.

v2.11.0

10 Aug 12:35
Compare
Choose a tag to compare

Added

  • Added DAI support through iOS Native pipeline, using new THEOplayerGoogleIMAIntegration functionality
  • Added TextTrackStyle API for iOS and Android.

Fixed

  • Fixed an issue on Android where the player would sometimes crash when requesting the current active video track.

Changed

  • Switched to 'displayIconUri' in sourceDescription.metadata as primary field for artwork selection in NowplayingInfo/MediaSession, 'poster' in sourceDescription is now the fallback.
  • Removed the play/pause icon in the PiP window on Android while playing an ad.

v2.10.0

25 Jul 13:27
Compare
Choose a tag to compare

Fixed

  • Fixed an issue on Android where the media button receiver would not accept button events in case multiple receivers are registered.
  • Fixed an issue on Android where react-native-theoplayer would not build when depending on Android player SDK v5.6.0.
  • Fixed an issue on Android where a pause event would not be dispatched when putting the app to the background during play-out of an ad, while background playback is enabled. The ad would also restart when bringing the app back to the foreground.

Changed

  • Removed restrictions on media session playback actions for AndroidTV.
  • Upgraded react-native version of the example app to react-native-tvos@0.71.12-0.

Added

  • Added a version property to THEOplayer for querying the player version (e.g., '5.5.0') and playerSuite (e.g., '2023.3.0') versions.

v2.9.0

16 Jun 12:54
Compare
Choose a tag to compare

Changed

  • Moved React Native UI to separate @theoplayer/react-native-ui package.

Removed

  • Removed react-native-theoplayer dependencies on packages @react-native-community/slider, react-native-google-cast, react-native-svg, react-native-svg-web, react-native-url-polyfill and url-polyfill.

Added

  • Added an overview of the available React Native connectors.

Fixed

  • Fixed an issue on Android where the background media service would crash the app in case it was started from the background.
  • Fixed an issue on iOS where the delayed contentId extraction resulted in an incorrect value being passed to the license request setup.

v2.8.0

01 Jun 14:56
Compare
Choose a tag to compare

Added

  • Added ignoreAvailabilityWindow property to SourceDescription.dash for Android and Web.
  • Added needsTimescaleShifting, desiredTimescale and forceSeekToSynchronize properties to SourceDescription.dash for Web.

Fixed

  • Fixed an issue where text track cue changes were not applied to the TextTrack's cue property.
  • Fixed an issue on Android where play-out of an MP4 stream would sometimes crash the player.
  • Fixed an issue on Android where a pause event would not be dispatched while pausing during play-out of an ad.
  • Fixed an issue on Android where hardware buttons, such as play and pause, were not handled anymore after toggling background audio support.
  • Fixed an issue on Android where the app would crash when toggling background playback while multiple MediaBrowserServiceCompat instances are registered.

Changed

  • Improved fullscreen support to use non-native fullscreen on Safari for iPad and Mac.
  • Limited the set of available media session actions on Android when an ad or live stream is playing.
  • Removed pausing the stream when disabling background playback on Android.

v2.7.0

15 May 13:13
Compare
Choose a tag to compare

Changed

  • Approved player behaviour on iOS and Android when doing player operations such as play and pause in case no source was set.

Fixed

  • Fixed an issue on Android where if an invalid view tag is passed to the native bridge, it would crash the player.
  • Fixed an issue on Web where preview thumbnails would fail to load.

Added

  • Updated UI documentation with necessary dependencies.
  • Added improved debug logging on iOS.