react-native-video/examples
Olivier Bouillet 66dcf32b56
refactor: move view type and drm in source (#3867)
* perf: ensure we do not provide callback to native if no callback provided from app

* chore: rework bufferConfig to make it more generic and reduce ReactExoplayerView code size

* chore: improve issue template

* fix(android): avoid video view flickering at playback startup

* chore(android): refactor DRM props into a dedicated class

* Update android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java

* chore: fix linter

* fix: ensure drm prop is correctly cleaned

* feat(android): move viewType (secure texture) & drm inside the source

The origianl behavior has been kept for interoperability, but marked as deprecated in doc

* chore: fix linter

* chore(ios): move drm prop in source like on android

* chore: fix linter

* chore: clean log

* fix: allow to disable secure View

* chore: fix viewType resolution (source value was not handled)

* chore: use contentDeepEquals instead of manual checks

* chore: fix linter

* fix: ensure player doesn't start when view is unmounted

* Fix/ensure view drop stop playback startup (#3875)

* fix: ensure player doesn't start when view is unmounted

* chore: revert change

* chore: add warning in case of invalid Surface configuration

* chore: code clean

* fix: simplify surface management

* chore: restore previous code

* chore: fix typo

* chore: code cleanup

* feat(android): add multiDrm flag support

* docs: update docs

* chore: fix ios build

* chore: fix deprecated declaration

---------

Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
2024-07-10 12:17:22 +02:00
..
basic refactor: move view type and drm in source (#3867) 2024-07-10 12:17:22 +02:00
embed-and-fullscreen Fix missing layout calls in full-screen when using built-in video controls on iOS 2019-01-24 16:04:31 -08:00
exampletvOS fix(tvos): fix tvOS build and sample (#3785) 2024-05-20 13:09:58 +02:00
FabricExample feat: modified Fabric example android build.gradle for resolving build issue (#3976) 2024-07-06 10:19:24 +02:00
react-native-video-plugin-sample feat(android): allow building exoplayer from source (#3932) 2024-06-25 13:20:12 +02:00
video-caching feat: upgrade exoplayer to v2.17.1 (#2498) 2022-06-15 10:24:55 -07:00