Describe the changes
Upgrade ExoPlayer to version 2.17.1
Provide an example of how to test the change
Tested with a forked of react-native-video-test
* Update exoplayer to v2.15.1
* feat: upgrade ExoPlayer to version 2.17.1
* chore: update CHANGELOG
* remove ExoPlayerFullscreenVideoActivity
* Fix build issues
* Fix build & runtime issues
Co-authored-by: Eran Hammer <eran@hammer.io>
Co-authored-by: Armands Malejev <armands.malejevs@gmail.com>
Converts iOS implementation from Objective-c to Swift
# During the conversion process some updates to the code structure were also made
- Modularize codebase from single file to smaller focused files
- Untangled large nested IF statements
- Added more null checks, since Swift is more strict with null pointers
- Added property to allow for decoding of local video sources with self contained key for offline playback
- Updates example apps to test react-native 0.63.4 and uses auto native dependency imports for android and ios
Fix AudioFocus bug that could cause the player to stop responding to play/pause in some instances.
Fixes issue #1945
This was caused by the player requesting audio focus on each play (un-pause) and that resulted in a small window of Audio focus loss and then gain. The focus loss results in the player being paused while the player was supposed to play at the time. The solution is to keep track of Audio focus and not request new focus if we already have it.
Various updates for React Native Windows
**Docs**
* Fixed windows installation in readme
* Added local dev setup instructions
**Build**
* Added VS solutions for RNW 0.61, 0.62, and 0.63+
* Added clang-formatting definition
**Features**
* Fixed autolinking for RNW 0.63+
* Added support for `rate` property
**Examples**
* Upgraded examples/basic to RN 0.61 and replaced broken windows app