react-native-video/src/types
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
..
Ads.ts feat: add onAdError event listener (#3381) 2023-12-02 13:52:01 +01:00
events.ts feat(android): add onControlsVisiblityChange (#3925) 2024-06-22 11:15:21 +02:00
FilterType.ts chore: rework typescript integration (#3304) 2023-10-26 08:46:04 +02:00
index.ts chore(android): rework view type (#3940) 2024-06-27 11:58:06 +02:00
language.ts chore: lint project (#3279) 2023-10-07 12:56:35 +02:00
Orientation.ts chore: rework typescript integration (#3304) 2023-10-26 08:46:04 +02:00
ResizeMode.ts chore: rework typescript integration (#3304) 2023-10-26 08:46:04 +02:00
TextTrackType.ts chore(typescript): fix external loaded textTracks typing and add one in sample (#3626) 2024-03-30 12:22:37 +01:00
video.ts refactor: move view type and drm in source (#3867) 2024-07-10 12:17:22 +02:00
ViewType.ts chore(android): rework view type (#3940) 2024-06-27 11:58:06 +02:00