react-native-video/examples/basic
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
..
__tests__ fix: upgrade react-native version on basic sample 2022-12-17 16:35:37 +01:00
_bundle fix: upgrade react-native version on basic sample 2022-12-17 16:35:37 +01:00
android feat(android): allow building exoplayer from source (#3932) 2024-06-25 13:20:12 +02:00
ios refactor: move view type and drm in source (#3867) 2024-07-10 12:17:22 +02:00
src refactor: move view type and drm in source (#3867) 2024-07-10 12:17:22 +02:00
windows iOS Swift Conversion (#2527) 2022-05-19 22:29:25 +09:00
.eslintrc fix(android): revert media3 update, back to 1.1.1 (#3369) 2023-11-22 15:03:57 +01:00
.eslintrc.js fix(example): remove dependency loop (#3353) 2023-11-17 08:38:26 +01:00
.gitignore chore: move sample to expo (#3880) 2024-06-20 11:58:55 +02:00
.prettierrc.js fix: upgrade react-native version on basic sample 2022-12-17 16:35:37 +01:00
.watchmanconfig fix: upgrade react-native version on basic sample 2022-12-17 16:35:37 +01:00
app.json fix: upgrade react-native version on basic sample 2022-12-17 16:35:37 +01:00
babel.config.js chore: move sample to expo (#3880) 2024-06-20 11:58:55 +02:00
Gemfile chore(example): bump react-native version (#3569) 2024-03-07 16:00:00 +01:00
Gemfile.lock feat(fabric): updated ios podspec for implementing new architecture (#3961) 2024-07-02 10:56:14 +02:00
index.js fix(ios): apply PictureInPicture state on start (#3655) 2024-04-05 10:37:00 +02:00
jest.config.js chore(example/basic): bump react native version 2023-09-28 08:25:13 +02:00
metro.config.js chore: move sample to expo (#3880) 2024-06-20 11:58:55 +02:00
package.json chore: upgrade react-native & expo version in the basic example app (#3964) 2024-07-04 14:02:05 +02:00
tsconfig.json feat: add plugins management (#3909) 2024-06-25 08:55:32 +02:00
yarn.lock chore: upgrade react-native & expo version in the basic example app (#3964) 2024-07-04 14:02:05 +02:00