Releases: THEOplayer/react-native-theoplayer
Releases · THEOplayer/react-native-theoplayer
v3.0.0-pre1
Changed
- Added support for THEOplayer 6.0. See THEOplayer's changelog for details.
Added
- Added
MediaCache
API, enabling download of media assets for offline playback.
v2.16.1
Added
- For iOS, added a subtitlePTS property to the TextTrackDescription that syncs a sideloaded textTrack with the video content.
v2.15.0
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
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
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
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
Added
- Added an
AnalyticsDescription
property toSourceDescription
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
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
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[email protected]
.
Added
- Added a
version
property toTHEOplayer
for querying theplayer
version (e.g.,'5.5.0'
) andplayerSuite
(e.g.,'2023.3.0'
) versions.
v2.9.0
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
andurl-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.