Commit Graph

1723 Commits

Author SHA1 Message Date
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
Robby Widyahartono
e1d24fceb5
Remove unused code 2020-02-12 10:39:51 +07:00
Robby Widyahartono
17694400e2
Merge branch 'master' into implement-ima-sdk 2020-02-12 10:38:45 +07:00
Robby Widyahartono
02cd0b529b
Update README.md
change Platforms description for adTagUrl
2020-02-12 10:27:30 +07: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
Robby Widyahartono
e455ea0756 call requestAds when video playing 2019-12-10 13:40:26 +07:00
Robby Widyahartono
6a49f539c9 update readme 2019-12-10 12:17:25 +07:00
Robby Widyahartono
9f3d63a37d update basic example app 2019-12-10 12:09:38 +07:00
Robby Widyahartono
bf3efb5303 change deployment target to 9.0 2019-12-10 11:47:48 +07:00
Robby Widyahartono
519355ea58 Implement Interactive Media Ads (IMA) SDK 2019-12-10 11:40:49 +07: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
Axel Vencatareddy
0583f4a0af
Merge pull request #1 from react-native-community/master
RN 0.60
2019-09-28 22:37:41 +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