Commit Graph

1189 Commits

Author SHA1 Message Date
Tuan Luong
c9096d16f7
[ios] Adaptive fullscreen in landscape by device orientation (#1862)
* update UIInterfaceOrientation in fullscreen

* update code
2020-05-15 14:48:15 +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
Evan Bacon
e3009c60e1
Recommend npx pod-install for setup instructions
# Summary

We've been recommending devs use `npx pod-install` since it will attempt to install CocoaPods CLI if it's not available on the computer (cite [React Navigation setup guide](https://reactnavigation.org/docs/getting-started/#installing-dependencies-into-a-bare-react-native-project)). This has proved very useful for Expo users who are now migrating to the bare workflow and want to use community packages in their projects.

## Checklist

- [x] I have tested this on a device and a simulator
- [x] I added the documentation in `README.md`
2020-05-14 12:16:36 -07:00
Jens Andersson
d6a7117250
Merge pull request #1994 from jenshandersson/pendingseek
Implement pending seek fully
2020-05-07 11:05:16 +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
Jens Andersson
c4385090ab
Merge pull request #1978 from euharrison/master
Audio mix with other apps for iOS
2020-05-07 09:52:34 +02:00
Harrison Mendonça
b8234f8dc5 Update CHANGELOG.md 2020-05-06 12:15:47 -03:00
Harrison Mendonça
2b33b9ebbb Merge remote-tracking branch 'upstream/master' 2020-05-06 12:09:41 -03:00
Jens Andersson
c579d3cddd
Merge pull request #1992 from jenshandersson/feat/hlssize
Fix video dimensions for HLS streams
2020-05-05 18:16:28 +02:00
Jens Andersson
08c7aaa77e Compare CGFloats instead 2020-05-05 18:10:49 +02: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
Harrison Mendonça
052f49e472 Update index.ios.js 2020-04-20 20:12:34 -03:00
Harrison Mendonça
4157a609ac Update README.md 2020-04-20 18:47:59 -03:00
Harrison Mendonça
b4582c681b add mixWithOthers prop 2020-04-20 17:25:59 -03:00
Hampton Maxwell
1ecb09acc4
Update onLoad event to include videoTracks info 2020-03-02 14:31:06 -08: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
68dc15242d v5.1.0-alpha5 2020-02-25 19:10:26 -05:00
Benoit Dion
89b6d113a1 Update changelog 2020-02-25 19:09:01 -05:00
Brandon Faulkner
6d1a7bed58
Fix the ref sample code to remove the syntax error 2020-02-25 09:22:41 -05:00
Di Da
a4fec8eb99
Add support for react-native Windows Cpp/WinRT (#1893)
This also deprecates the old react-native windows implementation
2020-02-25 09:21:06 -05:00
Benoit Dion
4f07aab8b1
Bump javascript dependencies (#1914)
Also update linting rules to match other community repositories.
2020-02-22 13:56:31 -05:00
Benoit Dion
f0867d7eef v5.1.0-alpha4 2020-02-20 09:25:37 -05:00
IbrahimSulai
fd8ac76e4d
Fix play/pause regression after added fullscreen support. (#1916) 2020-02-20 09:23:23 -05:00
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