Commit Graph

1315 Commits

Author SHA1 Message Date
Piotr Błażejewicz (Peter Blazejewicz)
5fa4cddbf8
docs(video): fix bufferConfig property name (#1855) 2020-02-17 14:12:54 -05:00
Benoit Dion
4d0be29cbb
Update changelog (#1913) 2020-02-17 12:43:27 -05:00
Michael Tintiuc
82c191d97f
Improve Android Audio Focus (#1897)
Implement audio focus as per android docs:
https://developer.android.com/guide/topics/media-apps/audio-focus
https://medium.com/androiddevelopers/audio-focus-3-cdc09da9c122

AUDIOFOCUS_LOSS should abandon focus and not try resuming audio, this is done with AUDIOFOCUS_LOSS_TRANSIENT

This fixes at least:
- Audio not being paused after focus being taken by some voip applications
- Content resuming and pausing instantly sporadically (some race condition perhaps) when activity was resumed from background.
2020-02-17 11:53:56 -05:00
Mohammed Salman
2738892631
Fix readme grammar (#1888) 2020-02-03 13:17:05 -05:00
Benoit Dion
029b893d58 Bump version to 5.1.0-alpha 2020-01-28 18:43:32 -05:00
IbrahimSulai
9200dce1ae
Add full screen support to Android Exoplayer (#1730) 2020-01-28 17:21:21 -05:00
Learnyst
0df667692b Audio Poster issue fix (#1779) 2019-11-26 14:40:03 -05:00
Ash Mishra
2c5006ac50
Merge pull request #1827 from nfb-onf/fix-playerviewcontroller-keypath-leak
Fix playerviewcontroller keypath leak of observers
2019-11-19 13:47:15 -08:00
Ash Mishra
fa20965c35 add try catch block around removal of observer keypaths on playerViewController 2019-11-19 12:47:15 -08:00
Ash Mishra
a5bfba9451 Fixes a situation when exiting fullscreen, where observed keypath values have not been released 2019-11-19 12:32:11 -08:00
Tsukasa Setoguchi
257be246e0 fix README about reportBandwidth (#1816) 2019-11-08 14:21:15 -05:00
Benoit Dion
b97663e092
Clear progress messages on STATE_IDLE and STATE_BUFFERING (#1768)
The progress message handler will duplicate recursions of the `onProgressMessage` handler on change of player state from any state to STATE_READY with `playWhenReady` is true (when video is not paused). This clears the messages on STATE_IDLE and STATE_BUFFERING to break the recursion.
2019-09-30 13:27:08 -04:00
Daniel Mariño Ruiz
b675e59162
Merge pull request #1773 from BaderSerhan/master
fix typo in README
2019-09-29 07:21:25 +02:00
Bader Serhan
040b17159e fix typo in README 2019-09-25 16:47:44 +03:00
Daniel Mariño Ruiz
4a8eea7af3
Add disableFocus to TOC 2019-09-25 07:46:03 +02:00
Daniel Mariño
78f1d29394 update changelog version 2019-09-24 09:30:59 +02:00
Daniel Mariño
c9a248e0e5 update package json version 2019-09-24 09:22:03 +02:00
Benoit Dion
3d40deb734
Update changelog with Exoplayer update (#1766) 2019-09-23 11:08:37 -04:00
Benoit Dion
3e38f88869 Remove Exoplayer deprecations
- Bump Exoplayer to 2.10.4
- Remove deprecated usages of Exoplayer methdos
- Add `ReactExoplayerConfig` as extension points to configure the Exoplayer instance
2019-09-23 08:52:05 -04:00
Benoit Dion
81cfd4e629 Bring the basic example back to a runnable state 2019-09-23 08:52:05 -04:00
Daniel Mariño Ruiz
ed335f3b02
Fix indent and respect previous rate 2019-09-22 07:40:53 +02:00
Daniel Mariño Ruiz
461209f344
Update bug_report.md 2019-09-21 15:39:39 +02:00
Daniel Mariño Ruiz
c90197bbcb
Update bug_report.md 2019-09-21 14:59:34 +02:00
Daniel Mariño Ruiz
9149346425 Update issue templates 2019-09-21 14:57:55 +02:00
Daniel Mariño
a86f316f00 changelog for #1696 2019-09-21 09:53:57 +02:00
Daniel Mariño Ruiz
b954a4f01a
Merge pull request #1699 from andrewchae/mute
Fixed Exoplayer doesn't work with mute=true #1696
2019-09-21 09:52:00 +02:00
Daniel Mariño Ruiz
59be8b5c3e
Merge pull request #1723 from blitzcrank/master
Added support for automaticallyWaitsToMinimizeStalling property on iOS
2019-09-21 08:42:20 +02:00
Daniel Mariño Ruiz
cfcf6ce506
Merge branch 'master' into master 2019-09-21 08:41:55 +02:00
Daniel Mariño Ruiz
f66ca32d49
Merge pull request #1720 from nmarisi/fix-NSInternalInconsistencyException
Removing the call to observeValueForKeyPath:ofObject:change:context: …
2019-09-08 08:29:27 +02:00
Daniel Mariño Ruiz
9272678c8c
Merge branch 'master' into fix-NSInternalInconsistencyException 2019-09-08 08:29:11 +02:00
Daniel Mariño Ruiz
0a2f7bd949
Merge pull request #1715 from jhalvorson/master
Updated README.md to include instructions for React Native 0.60 and a…
2019-09-08 08:26:30 +02:00
Daniel Mariño Ruiz
d858bf7e70
Merge pull request #1690 from 24i/feature/androidx-cherry-pick
[FIX] Fix release 5.0.0 bad merge with 5.0.1
2019-09-08 08:09:08 +02:00
Jovan Stanimirovic
0cfc73252c fix formatting
fix crash iOS9
2019-08-30 16:01:19 +02:00
Jovan Stanimirovic
008f5f03b0 fix formatting issues 2019-08-30 13:33:49 +02:00
Jovan Stanimirovic
4320b56545 bumped version & updated changelog 2019-08-22 11:03:23 +02:00
Jovan Stanimirovic
7615e5dcd1 fix invert boolean property 2019-08-22 10:36:33 +02:00
Jovan Stanimirovic
0a361d1d0f update readme 2019-08-22 10:13:06 +02:00
Jovan Stanimirovic
e3782c4ec6 added support for automaticallyWaitsToMinimizeStalling property on iOS 2019-08-22 10:10:39 +02:00
Nahuel Marisi
923bc59b7c Updated CHANGELOG to reflect bug fix in PR 1720 2019-08-20 10:23:52 +02:00
Nahuel Marisi
7a9081d5af Removing the call to observeValueForKeyPath:ofObject:change:context: on super from RCTVideo.
If the super class is not actually observing the key, the app will crash. Checking to see if
the super class responds to this selector doesn't solve this issue.

react-native-video github issue: https://github.com/react-native-community/react-native-video/issues/1515

Discussion about this particular problem: https://stackoverflow.com/questions/6574714/whats-wrong-with-this-observevalueforkeypathofobjectchangecontext-implement
2019-08-20 09:37:49 +02:00
Jamie Halvorson
2b9dddab75 Updated README.md to include instructions for React Native 0.60 and above 2019-08-17 09:44:47 +01:00
Andrew Chae
3012b81701 Fixed Exoplayer doesn't work with mute=true #1696 2019-08-01 15:08:47 -07:00
Daniel Mariño
c38ff02d2d 5.0.1 2019-07-28 15:54:17 +02:00
Daniel Mariño
aad75d46b1 More update info
(cherry picked from commit 2f23cc021c2e61410076c2f05da334907479280f)
2019-07-28 15:51:21 +02:00
Daniel Mariño
e38149b476 ad platform installation to TOC
(cherry picked from commit b0737bd56a4743c5154f48533a2f097ec59622a5)
2019-07-28 15:51:10 +02:00
Daniel Mariño Ruiz
4f9f7936a4 cpck 2019-07-28 15:50:22 +02:00
vok
a1679efef2 chang maven to google
(cherry picked from commit 8a8f21547e)
2019-07-28 15:48:06 +02:00
vok
2f8746c990 fix read me
(cherry picked from commit ed25b3f924)
2019-07-28 15:47:51 +02:00
vok
e6e57ecb04 cpck readme 2019-07-28 15:46:45 +02:00
vok
991fd5961d add readme to migrating to AndroidX
(cherry picked from commit 976ebcce2d)
2019-07-28 15:45:20 +02:00