Commit Graph

1384 Commits

Author SHA1 Message Date
Armands Malejevs
9b04cfac51 Remove timeline reference from videoTrackInfo 2022-05-31 10:08:14 +03:00
Armands Malejev
33b7bf1ee1 VEX-6834: Android: Sometimes the player fails with RNV-3005 (#34)
Fix RNV-3005 errors when exiting the player and loading a new video immediately. In most cases this error was just happening internally and the user would not experience it, but it skewed the error rate reporting.
2022-05-25 11:24:26 +03:00
Armands Malejev
d1c9490ce3 Merge branch 'master' into cr-android-improvements 2022-05-24 11:56:26 +03:00
Armands Malejevs
45d23475b6 Clean up 2022-05-24 11:50:58 +03:00
Eran Hammer
e022d0133f Update README.md 2022-05-23 22:04:03 -07:00
Eran Hammer
5e28bff855 Update README.md 2022-05-23 22:03:49 -07:00
Eran Hammer
e347839f41 Update README.md 2022-05-23 22:03:25 -07:00
Eran Hammer
ead496ce96 Update README.md 2022-05-23 22:02:43 -07:00
Eran Hammer
8714c1158f Create API.md 2022-05-23 21:58:30 -07:00
Eran Hammer
c9bb4e096e Update README.md 2022-05-23 21:38:19 -07:00
Eran Hammer
1d19b403b0 Update README.md 2022-05-23 21:36:28 -07:00
Eran Hammer
4eeabe4e22 Cleanup credits 2022-05-23 21:35:38 -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
046fb2249a Merge pull request #2371 from justsml/patch-1
Fix volume reset issue in exoPlayer
2022-05-21 11:39:50 -07:00
Eran Hammer
e0420d6574 Merge pull request #2677 from ZhminkoRoman/fix/additional-info-to-documentation
Fix/additional info to documentation (Android release build black screen)
2022-05-20 23:28:45 -07:00
Eran Hammer
9be049b937 Merge pull request #2687 from stevejubs/patch-1
Fix  'HlS' > 'HLS' (UPPERCASE)
2022-05-20 22:47:57 -07:00
Eran Hammer
da7f31539c Revert #2073 2022-05-20 22:46:08 -07:00
Eran Hammer
155d94aa06 Merge pull request #2688 from react-native-video/revert-2073-feature/android-fullscreen
Revert "[Android] fullscreen video"
2022-05-20 22:45:08 -07:00
Eran Hammer
8cc131b6a6 Revert "[Android] fullscreen video" 2022-05-20 22:42:55 -07:00
Sirichai Chulee
a467886039 Fix 'HlS' > 'HLS' (UPPERCASE) 2022-05-21 03:34:24 +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
Armands Malejev
87472ebd4a VEX-7213: Update readme to include missing props (#32) 2022-05-16 10:54:04 +03:00
Zhminko Roman
9e46997e96 Update README.md 2022-05-11 10:40:17 +03:00
Zhminko Roman
5c7d0c1305 Update README.md 2022-05-11 10:32:46 +03:00
Armands Malejev
c193fe873e VEX-7095: Crash in ReactExoplayerView.java Line 1059 (#31)
Prevent crashing when the track selector is null.
2022-05-09 17:53:09 -04:00
Armands Malejev
c584022d34 VEX-7094: Android: Crash in ReactExoplayerView.java Line 694 (#30)
When moving init logic to a different thread we missed one function that was not captured if an error occurred. This PR wraps the source init function that happens on a different thread in a try/catch to capture any errors that occur.
2022-05-05 17:10:55 -04:00
Gabriel Rivero
9035e7dfc9 VEX-6625: Handle state to keep playing after gaining connection (#28)
This PR handles autoplay after disconnection

Jira: VEX-6625

There was an error in react-native-video not being properly handled, in addition, the state of the player when reconnecting using a free user was not the expected one, requesting the player to keep playing when ready, made the behavior consistent in all scenarios

Velocity PR: crunchyroll/velocity#2430

Reviews
Major reviewer (domain expert): @jctorresM
Minor reviewer: @jacob-livingston
2022-05-03 16:43:53 -04:00
Eran Hammer
d681e5505f Merge pull request #2302 from laurenceunmind/laurenceunmind/add-onbuffer-to-readme
Update Readme to include onBuffer event (#2141)
2022-05-02 13:00:46 -07:00
Eran Hammer
0dbdb7ae71 Merge pull request #2609 from tironiigor/always-check-for-hideShutterView
Always check for hideShutterView before showing shutterView
2022-05-02 12:58:49 -07: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
Laurence
f25cf42461 Update Readme to include onBuffer event (#2141) 2022-05-02 11:06:23 +01:00
Eran Hammer
bbc9234184 Merge pull request #2551 from mlc/patch-1
clarify onProgress documentation
2022-05-01 11:16:19 -07:00
Eran Hammer
2a5271c346 Update CHANGELOG.md 2022-05-01 11:13:05 -07:00
Eran Hammer
23f892bf5f Merge pull request #2662 from iFeelSmart/feat/improve_demo_player
fix: improve basic player
2022-05-01 11:12:13 -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
Gabriel Rivero
b274541431 VEX-7093: Protect initialization of DRM (#29)
This PR will fix the crash from the experiment on react-native-video

Jira: VEX-7093

velocity PR: crunchyroll/velocity#2443

The crash was caused by using the player object before it was set by another thread, the change simply waits for the player to be available before executing any player interaction after DRM initialization.

Reviews
Major reviewer (domain expert): @jctorresM
Minor reviewer: @jacob-livingston
2022-04-28 20:17:59 -04:00
olivier bouillet
7a5ef2f01b chore: update changeLog 2022-04-26 23:03:59 +02: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
Eran Hammer
1e0c99b32c Merge pull request #2658 from iFeelSmart/fix/switch_basic_sample_to_ts
Fix/switch basic sample to ts
2022-04-26 11:14:51 -07:00
olivier bouillet
603956b893 chore(sample): move source in source folder 2022-04-26 19:19:41 +02:00
Armands Malejev
f6e9cc8502 VEX-6891: Android: Infinite loading when closing & reopening the player on low end devices (#27)
On low end devices when replaying same content too quickly DRM could fail with an uncaptured error (DrmSessionException). To prevent this we now check for that error and retry DRM one more time.
2022-04-25 19:44:37 -04:00
olivier bouillet
2657441113 chore: fix bad default state 2022-04-23 22:54:34 +02:00
olivier bouillet
da4ebcee78 chore: add yarn android shortcut 2022-04-23 22:27:17 +02:00
olivier bouillet
a0c9b4e090 fix: move basic sample to typescript 2022-04-23 22:25:44 +02:00