Commit Graph

45 Commits

Author SHA1 Message Date
Olivier Bouillet
0c6b47f42c
docs: remove desugaring section as no more need on media3 1.4.1 (#4206) 2024-09-29 20:46:11 +02:00
Olivier Bouillet
ffbc977ff9
fix(sample): boot failure on emulator (#4016)
* fix: disable coreLibraryDesugaringEnabled by default
2024-07-18 22:22:58 +02:00
Olivier Bouillet
a7d834a80a
feat(android): allow building exoplayer from source (#3932)
* feat(android): allow to build from source code

* fix(android): allow to build plugin from source
2024-06-25 13:20:12 +02:00
Olivier Bouillet
91d27a6009
feat: add plugins management (#3909) 2024-06-25 08:55:32 +02:00
Olivier Bouillet
c1c7a056f1
chore: move sample to expo (#3880)
* 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

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

* chore: move basic sample to expo

* Update examples/basic/package.json

Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>

* chore: use last expo version

* chore: fix podfile

---------

Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
2024-06-20 11:58:55 +02:00
Krzysztof Moch
8ad4be459b
feat: add notification controls (#3723)
* feat(ios): add `showNotificationControls` prop

* feat(android): add `showNotificationControls` prop

* add docs

* feat!: add `metadata` property to srouce

This is breaking change for iOS/tvOS as we are moving some properties, but I believe that this will more readable and more user friendly

* chore(ios): remove UI blocking function

* code review changes for android

* update example

* fix readme

* fix typos

* update docs

* fix typo

* chore: improve sample metadata notification

* update codegen types

* rename properties

* update tvOS example

* reset metadata on source change

* update docs

---------

Co-authored-by: Olivier Bouillet <freeboub@gmail.com>
2024-05-07 12:30:57 +02:00
Olivier Bouillet
e05da4e9fe
feat(android): implement asset folder playback (#3733)
* fix(ts): onPlaybackRateChangeData was not correctly typed

* fix: ensure tracks are well displayed in the sample

* feat(android): implement playback from asset folder

* chore(android): fix linter

* chore: move sample mp4 from package assets to exemple assets
2024-05-06 21:51:17 +02:00
Olivier Bouillet
818f92f654
chore(example/basic): bump react-native to 0.74.0 (#3702)
* fix(ts): onPlaybackRateChangeData was not correctly typed

* fix: ensure tracks are well displayed in the sample

* chore: update basic sample to official react native 0.74
2024-04-23 09:00:42 +02:00
Krzysztof Moch
64e3191f73
feat(android): allow to disable selected functionalities (#3681)
* feat(android): add possibility do disable some of functionalities

* create dump classes

* remove dump files when functionalities are enabled

* add docs

* enable all functionalities in example

* throw error when trying to use disabled functionality

* update docs
2024-04-16 14:23:19 +02:00
Olivier Bouillet
2285eba8f0
Feat/add rtsp support (#3677)
* feat(android) : add rtsp support
2024-04-16 10:41:39 +02:00
Krzysztof Moch
75c5c1cd93
chore(example): bump react-native version (#3569) 2024-03-07 16:00:00 +01:00
Krzysztof Moch
b5ac4d6a11
chore(example): bump react-native version (#3466)
* chore(example): bump react-native version

* fix(ci): bump java version
2024-01-10 08:45:37 +01:00
Olivier Bouillet
472820123a
chore(sample): fix lint and ts sample & add ci jobs to build samples (#3365)
* chore: start fixing linter and tsc warning and errors
* chore(ci): add basic example build
* chore: allow to build with or without ads on android
* chore: fix job definition

---------

Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
2023-11-30 21:17:41 +01:00
Olivier Bouillet
fe89122524
fix(android): ads build and enable ads in android sample (#3376)
* fix: refactor androidx core version management

* chore: fix missing import rework for media3

* fix: enable IMA in sample

* chore: rename stub fie

* chore: code review, fix variable name

* chore: reorder imports

* chore: fix linking in sample

* chore: fix stub management

* chore: few cleans and ensure we don't use ima is disabled

---------

Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-24 13:17:13 +01:00
Olivier Bouillet
5beef383cb
fix(android): revert media3 update, back to 1.1.1 (#3369)
* fix: revert last media3 upgrade

---------

Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-22 15:03:57 +01:00
Krzysztof Moch
211c3c7d08
fix(example): remove dependency loop (#3353)
* chore(examples/basic): fix eslint config

* chore(examples/basic): change manual linking for react-native-video

* Update examples/basic/package.json

Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>

---------

Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
2023-11-17 08:38:26 +01:00
KrzysztofMoch
a279a0cb3a chore(example/basic): bump react native version 2023-09-28 08:25:13 +02:00
olivier
57b4a76775 fix: add stub for IMA and option to enable it on demand 2023-02-07 23:14:50 +01:00
olivier bouillet
58c719c275 fix: upgrade react-native version on basic sample 2022-12-17 16:35:37 +01:00
olivier bouillet
466d7c3170 chore: cleanup documentation 2022-06-15 22:51:04 +02:00
Tai Le Tuan
daf5e595ec
feat: upgrade exoplayer to v2.17.1 (#2498)
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>
2022-06-15 10:24:55 -07:00
olivier bouillet
99ba90cc09 test(android): enable app on androidtv 2022-06-03 22:02:31 +02:00
Nick Fujita
68b9db4d11
iOS Swift Conversion (#2527)
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
2022-05-19 22:29:25 +09:00
olivier bouillet
3d40461a32 fix: improve basic player
- allow to set multiple video to to play and zap to next channel
- display toast on error
- add resizing test
- add a seek bar
- add text and audio tracks picker
- add loader during buffering
- add repeat mode test
- add toggle fullscreen
2022-04-26 23:00:43 +02:00
olivier bouillet
603956b893 chore(sample): move source in source folder 2022-04-26 19:19:41 +02:00
olivier bouillet
a0c9b4e090 fix: move basic sample to typescript 2022-04-23 22:25:44 +02:00
olivier bouillet
89f6c40686 fix(android): update build tools 2022-04-23 22:15:11 +02:00
olivier bouillet
b0e25bea8f fix: runtime issue 2022-04-23 22:14:38 +02:00
olivier bouillet
c56848c5b9 fix(android) : allow clearTextTraffic for easier testing 2022-04-23 21:52:41 +02:00
olivier bouillet
02b1399463 fix(android): allow multidex support 2022-04-23 21:52:08 +02:00
Benoit Dion
81cfd4e629 Bring the basic example back to a runnable state 2019-09-23 08:52:05 -04:00
vok
a1679efef2 chang maven to google
(cherry picked from commit 8a8f21547e)
2019-07-28 15:48:06 +02:00
vok
6bd8f33f0e change minSdkVersion back to 16
(cherry picked from commit a96fa33714)
2019-07-28 15:43:28 +02:00
Daniel Mariño
88d3a4a0ba cpck androidx 2019-07-28 15:42:32 +02:00
Daniel Mariño Ruiz
a45e857bbc
Merge branch 'release/5.0.0' into update-androidx 2019-07-25 10:05:53 +02:00
vok
222adf5f7b remove matchingfallbacks in example 2019-07-24 09:02:50 +07:00
Daniel Mariño Ruiz
d748d17aea
Update MainApplication.java
fix indent
2019-07-23 12:02:31 +02:00
vok
8a8f21547e chang maven to google 2019-07-06 07:37:38 +07:00
vok
438df8b188 change dead code in example 2019-06-25 15:12:56 +07:00
vok
1cd979625f remove duplicated line in example 2019-06-25 15:01:29 +07:00
vok
a203aeadea pre androidX, upgrade to 28 2019-06-21 09:32:51 +07:00
vok
3762a323fd remove duplicate ReactVideoPackage() 2019-06-20 09:02:06 +07:00
vok
a96fa33714 change minSdkVersion back to 16 2019-06-19 14:46:20 +07:00
vok
4f36eb1254 update for androidX 2019-06-19 14:37:21 +07:00
Laurin Quast
c820a9068c Move example to examples dir and rename to basic 2018-02-28 13:37:57 +01:00