Commit Graph

266 Commits

Author SHA1 Message Date
olivier bouillet
430e942d70 chore: update changeLog 2022-09-14 22:45:59 +02:00
Olivier Bouillet
bc814c6fa9
Merge branch 'master' into feat/make_controls_testable_in_sample 2022-09-14 22:40:44 +02:00
olivier bouillet
32949120bf chore: update changeLog 2022-09-14 22:05:43 +02:00
olivier bouillet
f7fba8a149 doc: add changelog entry and fix last version 2022-09-14 08:10:34 +02:00
olivier bouillet
4c10195b32 doc: fix changelog 2022-09-11 17:09:09 +02:00
Olivier Bouillet
96ff95352d
Merge pull request #2848 from sperko00/master
FIX: IOS UI frame drop on loading video
2022-09-10 12:46:36 +02:00
Olivier Bouillet
663ae7c81b
Merge pull request #2846 from crunchyroll/task/VEX-7629-upgrade-exoplayer-to-2-18-1
Upgrade exoplayer to 2.18.1
2022-09-08 19:07:04 +02:00
Stipe Perković
e0dc0da8c5 Update CHANGELOG.md 2022-09-08 13:00:21 +02:00
Gabriel Rivero
a1bea1ab97 update changelog 2022-09-06 12:09:00 -04:00
olivier bouillet
0ff6d5f657 doc: update changeLog 2022-08-20 14:34:27 +02:00
olivier bouillet
7fe3b28f26 doc: update changeLog 2022-08-20 14:31:15 +02:00
Olivier Bouillet
11cde867df
Merge pull request #2741 from iFeelSmart/fix/avoid_duplicated_onEnd
fix(android): ensure we don't disable playback when player is ENDED
2022-08-20 14:27:38 +02:00
olivier bouillet
1a53c10c06 doc: update changelog 2022-08-20 14:26:53 +02:00
freeboub
ad389b3ace
Merge pull request #2796 from iFeelSmart/chore/doc_fix
doc: 2 minor fixes
2022-08-06 11:52:14 +02:00
陈曦
1631e5de52 docs: ✏️ change changelog 2022-08-02 15:21:43 +08:00
olivier bouillet
edd0d4ec83 chore: add warning in changelog to manage library upgrade to V6 2022-08-01 15:51:57 +02:00
陈曦
f4827e12f4 Merge branch 'master' into fix/support-cameraroll 2022-07-27 20:11:59 +08:00
Eran Hammer
4aab264b73
Update CHANGELOG.md 2022-07-13 22:42:33 -07:00
Eran Hammer
4b7566daa0
Merge pull request #2670 from evkwan/evkwan/fix/maxbitrate_ignored_on_android
#2665 - fix maxbitrate property being ignored on Android
2022-07-13 22:41:44 -07:00
evkwan
384166b285 - update changelog with pr number 2022-07-04 01:03:31 +08:00
Igor Tironi
85e35f4528 added fix to changelog 2022-06-24 15:56:23 -07:00
Eran Hammer
a6750e7b48
Update CHANGELOG.md 2022-06-23 14:31:01 -07:00
Eran Hammer
52eb556c50
Update CHANGELOG.md 2022-06-23 13:32:16 -07:00
olivier bouillet
5aeb49e094 Merge branch 'master' of https://github.com/react-native-video/react-native-video into fix/report_time_position_when_updated
# Conflicts:
#	CHANGELOG.md
2022-06-23 21:58:11 +02:00
Eran Hammer
ea5a58162b
Update CHANGELOG.md 2022-06-21 23:38:32 -07:00
Eran Hammer
d144a2f27c
Update CHANGELOG.md 2022-06-21 23:32:11 -07:00
Eran Hammer
58e0c854a4
Update CHANGELOG.md 2022-06-21 23:31:46 -07:00
Eran Hammer
2e508865f5
Update CHANGELOG.md 2022-06-21 23:26:27 -07:00
Eran Hammer
054abcac8e
Merge pull request #2720 from tironiigor/type-event-dispatcher-with-protocol
Fix iOS build caused by type mismatch
2022-06-20 21:53:57 -07:00
olivier bouillet
877b55c92c Merge branch 'master' of https://github.com/react-native-video/react-native-video into fix/remove_deprecated_MediaPlayer_2
# Conflicts:
#	CHANGELOG.md
2022-06-18 22:02:51 +02:00
Eran Hammer
2fdbc4bc97
Update CHANGELOG.md 2022-06-15 16:57:04 -07:00
Eran Hammer
cf4987f00c
Update CHANGELOG.md 2022-06-15 16:54:36 -07:00
olivier bouillet
df70900c8f chore: update changeLog 2022-06-15 22:54:34 +02:00
olivier bouillet
48870e38e1 Merge branch 'master' of https://github.com/react-native-video/react-native-video into fix/report_time_position_when_updated
# Conflicts:
#	CHANGELOG.md
#	android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
2022-06-15 21:57:29 +02:00
Igor Tironi
c2d60a7371 Merge branch 'master' of github.com:react-native-video/react-native-video into type-event-dispatcher-with-protocol 2022-06-15 11:01:24 -07:00
Eran Hammer
289b2df4d4
Merge pull request #2721 from tironiigor/fix-onReadyForDisplay-not-called
Fix onReadyForDisplay not being called on iOS
2022-06-15 10:50:57 -07: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
Igor Tironi
ab1f1c4024 added changelog entry 2022-06-14 17:00:59 -07:00
Igor Tironi
e5d81bf193 include PR link to changelog 2022-06-14 16:05:42 -07:00
Igor Tironi
ecab687cb2 update changelog 2022-06-14 15:51:19 -07:00
freeboub
d3708c7c10
Merge pull request #2712 from monahans/master
updated ReactVideoView.java to fix seeking issue on android
2022-06-09 19:06:10 +02:00
Eran Hammer
bf11bb95ed
Merge pull request #2689 from crunchyroll/cr-android-improvements
Crunchyroll Android Improvements
2022-06-08 22:23:07 -07:00
Armands Malejevs
8a057c553b Remove buffer progress event 2022-06-08 11:29:09 +03:00
MONSX662
8254a1d670 updated CHANGELOG.md 2022-06-07 09:07:25 -04:00
Adam Gorman
d1f3ad292d
Update CHANGELOG.md 2022-05-31 23:25:08 -07:00
Armands Malejev
8b317ed398
Merge branch 'master' into cr-android-improvements 2022-05-23 11:59:22 +03:00
Eran Hammer
424b703fe8
Update CHANGELOG.md 2022-05-21 11:40:36 -07:00
Eran Hammer
da7f31539c
Revert #2073 2022-05-20 22:46:08 -07: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
Igor Tironi
6c6155680b moved changelog item to alpha1 2022-05-02 10:11:07 -07:00
Igor Tironi
413c4f0c96 Merge branch 'master' of github.com:react-native-video/react-native-video into always-check-for-hideShutterView 2022-05-02 10:10:43 -07:00
Eran Hammer
2a5271c346
Update CHANGELOG.md 2022-05-01 11:13:05 -07:00
Igor Tironi
eb3cda3601 added back change that was removed 2022-04-29 18:19:17 -07:00
Igor Tironi
37fd531a59 moved to 6.0.0-alpha2 2022-04-29 18:18:44 -07:00
Igor Tironi
61888189fb added link to PR 2022-04-29 18:16:37 -07:00
Igor Tironi
b025362d98 moved changes to 6.0.0-aplha1 2022-04-29 18:15:35 -07:00
Igor Tironi
7284342cc6
Merge branch 'master' into always-check-for-hideShutterView 2022-04-29 22:12:34 -03:00
olivier bouillet
a019f25826 chore: upgrade changelog 2022-04-27 21:32:26 +02:00
olivier bouillet
7a5ef2f01b chore: update changeLog 2022-04-26 23:03:59 +02:00
Eran Hammer
4e7b0c5497
Update CHANGELOG.md 2022-04-22 00:17:00 -07:00
Eran Hammer
82abc38d9d
Update CHANGELOG.md 2022-04-22 00:16:40 -07:00
Eran Hammer
61801436bc
Update CHANGELOG.md 2022-04-22 00:16:16 -07:00
Eran Hammer
d37ccf7b17
Update CHANGELOG.md 2022-04-22 00:05:51 -07:00
Eran Hammer
1fc8235a8e
Update CHANGELOG.md 2022-04-20 11:05:56 -07:00
Eran Hammer
0883f0a9be
Update CHANGELOG.md 2022-04-20 01:16:40 -07:00
Eran Hammer
1aa4e36b85
Update CHANGELOG.md 2022-04-20 00:54:39 -07:00
Eran Hammer
54ca713bde
Update CHANGELOG.md 2022-04-19 15:40:10 -07:00
Eran Hammer
90810fdbf5
Update CHANGELOG.md 2022-04-19 15:36:02 -07:00
Eran Hammer
fb1abaf6a1
Merge branch 'master' into patch-1 2022-04-19 15:31:25 -07:00
Eran Hammer
ba53bb743d
Update CHANGELOG.md 2022-04-19 10:01:44 -07:00
Eran Hammer
9ba249507b
Update CHANGELOG.md 2022-04-19 10:00:41 -07:00
virgil
329df1d91a chore: 🤖 update changelog 2022-04-15 17:36:23 +08:00
Eran Hammer
0e3de84972
Update CHANGELOG.md 2022-04-05 12:45:53 -07:00
Igor Tironi
4eed72f224 update changelog 2022-03-03 16:03:59 -08:00
Iagor Moraes
28d3ec42b8 update CHANGELOG.md 2021-12-09 15:28:00 -03:00
Jonas Dalesjö
81ae785090 Release 5.2.0 2021-10-20 15:38:04 +02:00
Jonas Dalesjö
d05f3dd5b9 Typo 2021-10-11 10:27:04 +02:00
Jonas Dalesjö
31f866cd9f Release 5.2.0-alpha1 2021-10-11 10:20:32 +02:00
Armands Malejev
93604b2c25
VEX-3245: Buffer Progress UI While Paused (#7)
Add support for onBufferProgress prop on Android to get buffer data even when the player is paused.
2021-07-07 18:59:55 +03:00
Armands Malejev
fcc66df945
Fix AudoFocus pausing video when attempting to play (#2311)
Fix AudioFocus bug that could cause the player to stop responding to play/pause in some instances.

Fixes issue #1945

This was caused by the player requesting audio focus on each play (un-pause) and that resulted in a small window of Audio focus loss and then gain. The focus loss results in the player being paused while the player was supposed to play at the time. The solution is to keep track of Audio focus and not request new focus if we already have it.
2021-06-24 14:00:38 +09:00
Jon Thysell
d7ac23d39b
React Native Windows updates (#2206)
Various updates for React Native Windows

**Docs**
* Fixed windows installation in readme
* Added local dev setup instructions

**Build**
* Added VS solutions for RNW 0.61, 0.62, and 0.63+
* Added clang-formatting definition

**Features**
* Fixed autolinking for RNW 0.63+
* Added support for `rate` property

**Examples**
* Upgraded examples/basic to RN 0.61 and replaced broken windows app
2021-04-08 13:37:35 -04:00
Armands Malejev
568971be77
Fix AudoFocus pausing video when attempting to play (#1)
Fix AudioFocus bug that could cause the player to stop responding to play/pause in some instances.

Fixes issue react-native-video#1945

This was caused by the player requesting audio focus on each play (un-pause) and that resulted in a small window of Audio focus loss and then gain. The focus loss results in the player being paused while the player was supposed to play at the time. The solution is to keep track of Audio focus and not request new focus if we already have it.
2021-03-15 16:51:16 +02:00
Alec Winograd
42deedc8d1 Update changelog 2020-10-15 11:24:46 -05:00
Adam Gorman
408d3f720e
Add ARM64 support for windows (#2137)
Adding arm64 support for RNW builds.

Nothing in this project is using anything that isn't already supported in arm64 windows libs. It was simply overlooked when RNW was originally added.

We have been using RNW and RNV in our project for 6+ months and just been using a patch-package to apply this change. Figured it was overdue to upstream this change.

You can see this similar code in the RNW repo.
95935e0086/packages/microsoft-reactnative-sampleapps/windows/SampleLibraryCPP/SampleLibraryCPP.vcxproj (L28)
and
https://github.com/microsoft/react-native-windows/blob/master/packages/microsoft-reactnative-sampleapps/windows/SampleLibraryCPP/SampleLibraryCPP.vcxproj#L44
2020-09-29 10:00:27 -04:00
Hampton Maxwell
5683167a3a Prepare 5.1.0-alpha8 2020-08-19 20:20:21 -07:00
Hampton Maxwell
f3e6ce1058 Prepare 5.1.0-alpha7 2020-08-12 19:01:29 -07:00
Hampton Maxwell
90da768087 Ready 5.1.0-alpha6 for release 2020-08-12 19:00:48 -07:00
Daniel Mariño
81b42e7ca7
Add iOS and Android basic DRM support (#1445)
This PR adds support for DRM streams on iOS (Fairplay) and Android (Playready, Widevine, Clearkey)

I am neither Android nor iOS developer, so feel free to provide feedback to improve this PR.

**Test stream for ANDROID:**
```
testStream = {
        uri: 'http://profficialsite.origin.mediaservices.windows.net/c51358ea-9a5e-4322-8951-897d640fdfd7/tearsofsteel_4k.ism/manifest(format=mpd-time-csf)',
        type: 'mpd',
        drm: {
            type: DRMType.PLAYREADY,
            licenseServer: 'http://test.playready.microsoft.com/service/rightsmanager.asmx?cfg=(persist:false,sl:150)'
        }
    };
```

or 
```
{
    uri: 'https://media.axprod.net/TestVectors/v7-MultiDRM-SingleKey/Manifest_1080p.mpd',
    drm: {
        type: 'widevine', //or DRMType.WIDEVINE
        licenseServer: 'https://drm-widevine-licensing.axtest.net/AcquireLicense',
        headers: {
            'X-AxDRM-Message': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXJzaW9uIjoxLCJjb21fa2V5X2lkIjoiYjMzNjRlYjUtNTFmNi00YWUzLThjOTgtMzNjZWQ1ZTMxYzc4IiwibWVzc2FnZSI6eyJ0eXBlIjoiZW50aXRsZW1lbnRfbWVzc2FnZSIsImZpcnN0X3BsYXlfZXhwaXJhdGlvbiI6NjAsInBsYXlyZWFkeSI6eyJyZWFsX3RpbWVfZXhwaXJhdGlvbiI6dHJ1ZX0sImtleXMiOlt7ImlkIjoiOWViNDA1MGQtZTQ0Yi00ODAyLTkzMmUtMjdkNzUwODNlMjY2IiwiZW5jcnlwdGVkX2tleSI6ImxLM09qSExZVzI0Y3Iya3RSNzRmbnc9PSJ9XX19.FAbIiPxX8BHi9RwfzD7Yn-wugU19ghrkBFKsaCPrZmU'
        },
    }
}
```

**Test stream for iOS:**
Sorry but I can not provide free streams to test. If anyone can provide test streams, or found some we can use, please let me know to also test them.

It has been tested with a private provider and they work, at least with the `getLicense` override method. (An example implementation is provided in the README)
2020-08-12 18:56:21 -07:00
Jeferson Daniel
dbf1a4e034
Fix exoplayer aspect ratio update on source changes (#2053)
* Fix exoplayer aspect ratio update on source changes

* Update CHANGELOG.md
2020-06-30 19:00:16 +02:00
Anders Lemke
8962720f56
Support preventsDisplaySleepDuringVideoPlayback (#2019)
* Add flag on iOS

* Add flag in Android

* Add documentation

* Add changelog entry

* Also set setKeepScreenOn

* Fix prop not being set

* add preventsDisplaySleepDuringVideoPlayback to exoplayer

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

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

Co-authored-by: Jens Andersson <jens@fritan.com>

Co-authored-by: Anton Tanderup <antontandrup@gmail.com>
Co-authored-by: Jens Andersson <jens@fritan.com>
2020-06-16 14:31:23 +02:00
Jens Andersson
9c31948dbf
Always set headers for iOS (#2014) 2020-06-11 16:53:14 +02:00
Jens Andersson
f395bd1d3d
Removed JS fullscreening for Android (#2013) 2020-06-11 16:44:13 +02:00
Param Aggarwal
0b914ef2b9
Expose currentPlaybackTime when live stream video (#1944)
* added trackId to exoplayer onLoad callback

* added trackInfo to bandwidth callback

* syntax fix

* syntax fix

* version update

* sending complete logcat for media playback exception ExoPlaybackException

* version bump

* package publish changes

* Live playback fix

* Version bump

* import fix

* version bump

* configurable preferredForwardBufferDuration

* configurable preferredForwardBufferDuration

* version update

* Exposing time

* exo player window current tsp

* return type

* Current window timestamp in epoch

* iOS changes

* version update

* Updated package.json

* updated version

* CurrentTime bug fix

* Updated package.json

* Updated currentPlaybackTime

* Updated currentPlayback logic

* Updated package.json

* Bug fix

* Added semicolon

* updated package.json

* Updated ReactVideoView

* updated verison

* Revert package.json changes

* Update ReactVideoView.java

* Use standard log

* Document preferredForwardBufferDuration (iOS)

* Document currentPlaybackTime

* Document trackId

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update README.md

* Update CHANGELOG.md

Co-authored-by: anubansal <anu.bansal@curefit.com>
Co-authored-by: Sivakumar J <sivakumar@curefit.com>
Co-authored-by: parikshit <parikshit@curefit.com>
Co-authored-by: anubansal92 <40559524+anubansal92@users.noreply.github.com>
Co-authored-by: Rishu Agrawal <rishu.agrawal@v.curefit.com>
Co-authored-by: rishu-curefit <54575330+rishu-curefit@users.noreply.github.com>
2020-05-15 09:25:19 +02:00
Jens Andersson
6bc25f1099 Implement pending seek 2020-05-07 11:00:59 +02:00
Jens Andersson
838b99aacb
Update CHANGELOG, alpha-6 hasn't been released yet 2020-05-07 10:54:31 +02:00
Harrison Mendonça
b8234f8dc5 Update CHANGELOG.md 2020-05-06 12:15:47 -03:00
Jens Andersson
4bc2a723a4 Changelog 2020-05-05 17:56:44 +02:00
Jens Andersson
cc2e9c42fa Fix video dimensions for HLS streams 2020-05-05 17:49:42 +02:00
Marlon Andrade
91384d8489
Don't set reactViewController view frame to whole screen (#1931)
this fixes the case on any time you have a react view that displays the video, but it's being rendered with controls but not as a full screen (ie. easily reproducible when you have a tabbar for instance - the reactViewController.view frame shouldnt be the whole screen bounds).
2020-02-26 20:43:33 -05:00
Benoit Dion
89b6d113a1 Update changelog 2020-02-25 19:09:01 -05:00