react-native-video/examples/basic/src
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
..
assets refactor: basic example from class component to functional component (#3934) 2024-06-28 11:33:10 +02:00
components chore(example/basic): refactor state variable (#3949) 2024-07-08 09:54:32 +02:00
constants chore(example/basic): refactor state variable (#3949) 2024-07-08 09:54:32 +02:00
types chore(example/basic): refactor state variable (#3949) 2024-07-08 09:54:32 +02:00
index.js iOS Swift Conversion (#2527) 2022-05-19 22:29:25 +09:00
MultiValueControl.tsx fix(android): revert media3 update, back to 1.1.1 (#3369) 2023-11-22 15:03:57 +01:00
styles.tsx fix(android)!: rework video tracks management (#3778) 2024-05-22 14:01:55 +02:00
ToggleControl.tsx fix(android): revert media3 update, back to 1.1.1 (#3369) 2023-11-22 15:03:57 +01:00
VideoPlayer.tsx refactor: move view type and drm in source (#3867) 2024-07-10 12:17:22 +02:00
VideoPlayer.windows.tsx refactor: basic example from class component to functional component (#3934) 2024-06-28 11:33:10 +02:00