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
IbrahimSulai
fd8ac76e4d
Fix play/pause regression after added fullscreen support. ( #1916 )
2020-02-20 09:23:23 -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
IbrahimSulai
9200dce1ae
Add full screen support to Android Exoplayer ( #1730 )
2020-01-28 17:21:21 -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
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
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
Andrew Chae
3012b81701
Fixed Exoplayer doesn't work with mute=true #1696
2019-08-01 15:08:47 -07:00
Daniel Mariño
88d3a4a0ba
cpck androidx
2019-07-28 15:42:32 +02:00
Daniel Mariño
f58ae349e8
remove extra whitespace
2019-07-09 11:41:03 +02:00
Daniel Mariño
f60aff7989
comment why postDelayed
2019-07-09 11:40:23 +02:00
Daniel Mariño
cde2432804
Merge branch 'rnv-master' into feature/handle-props-racing-conditions-on-expplayer
...
# Conflicts:
# CHANGELOG.md
2019-07-09 11:39:30 +02:00
Daniel Mariño
cb3cff7772
fix repeat
2019-07-08 12:47:05 +02:00
Daniel Mariño
40c7371b3e
fix for setControls
2019-07-07 22:17:15 +02:00
Daniel Mariño
466c004837
handle racing conditions when props are setted on exoplayer
2019-07-07 10:21:23 +02:00
Kurt Johnson
2b067f1978
Merge branch 'master' into bugfix/android-disablefocus-audio
2019-07-03 16:43:37 -04:00
Hampton Maxwell
da8a202a0f
Make video auto track selection more readable
2019-04-03 23:24:02 -07:00
Jacob
2072793ae3
Fix Android audio crash
...
Why:
* There is a case where groupIndex may be unset
This change addresses the need by:
* Don't chain check for INDEX_UNSET to previous conditional
2019-03-19 13:46:01 -04:00
Kurt Johnson
3d80bfd236
Merge branch 'master' into bugfix/android-disablefocus-audio
2019-03-15 15:57:00 -04:00
Hampton Maxwell
4424774ca3
Merge pull request #1448 from sridhard/master
...
Feature Implementation: Recovery from transient internet failures
2019-02-10 20:07:29 -08:00
Hampton Maxwell
2898f8cb5a
Revert changes to video group index unset code
...
I'm guessing this change was made to cleanup the code, however it is not functionally identical and may cause issues. Revert until those can be discussed.
2019-02-10 19:56:56 -08:00
Hampton Maxwell
e4763c9d10
Rename failureRetryCount to minLoadRetryCount
2019-02-10 19:47:07 -08:00
Hampton Maxwell
35250fa8c4
Rename failureRetryCount to minLoadRetryCount
2019-02-10 19:45:31 -08:00
Hampton Maxwell
40803496f9
Code formatting cleanups for controls
2019-02-10 18:15:30 -08:00
Kurt Johnson
739a6362bf
Fix so background audio from other apps can play when disableFocus is true. requestAudioFocus was being run regardless of there being a src, so I made it so that only gets requested when a src exists.
2019-02-07 11:02:10 -05:00
Ibrahim Sulaiman
bd8aa99645
Changed the execution order of initializePlayerControl method in order to align with player state
2019-02-06 03:22:06 +05:30
Ibrahim Sulaiman
1430dc7fea
Fix for play and pause button UI issue
2019-02-04 19:18:29 +05:30
sridhar
938cfd64a5
Defect fix for issue #1460
...
Defect fix: https://github.com/react-native-community/react-native-video/issues/1460
2019-01-30 22:43:12 +05:30
Ibrahim Sulaiman
c156550518
Used default playerControlView's API to show and hide controls
2019-01-28 14:50:51 +05:30
Ibrahim Sulaiman
debc0cb3c6
Resolved the playercontrol UI issue and also handled the controls prop state
2019-01-25 15:54:53 +05:30
sridhar
172954de5a
Feature implementation: Failure Retry Count
...
Feature implementation: Failure Retry Count
2019-01-24 18:49:37 +05:30
Ibrahim Sulaiman
e05c1c3c64
Resolved the review comments
2019-01-16 23:47:32 +05:30
Ibrahim Sulaiman
4cc9a4d374
Support for controls in android exoplayer
2019-01-04 14:58:32 +05:30
Hampton Maxwell
2d016e7e6a
Fix Array Out of Bounds crash if no video tracks present
2019-01-03 22:02:58 -08:00
Hampton Maxwell
9a809e22d8
Fix mismatched bitrate vars
2018-12-31 22:08:18 -08:00
Hampton Maxwell
45a851e79a
Merge branch 'master' into master
2018-12-31 21:36:49 -08:00
Hampton Maxwell
d148c3f9f9
Change field to bitrate for bandwidth update
2018-12-31 21:35:15 -08:00
Hampton Maxwell
d5168af211
Cleanups to video track handling.
...
This also fixes a bug that compared track type & renderer index
2018-12-31 21:33:02 -08:00
Hampton Maxwell
7837c39df0
Merge pull request #1373 from reime005/android-subtitle-fix
...
[WIP] Fix android subtitle issue caused by using rawdatasource
2018-12-31 13:37:02 -08:00
sridhar
756bbc96f0
Defect fix
...
Defect fix
2018-12-20 11:01:13 +05:30
Hampton Maxwell
5a053a7469
Fix bug where useTextureView wasn't defaulting to true
2018-12-13 10:05:09 -08:00
Hampton Maxwell
00dac26a63
Always convert maxBitRate of 0 to Integer.MAX_VALUE
2018-12-13 09:50:43 -08:00
Hampton Maxwell
a43f9c7ce1
Merge branch 'master' into maximumBitRate-adaptive-streaming
2018-12-12 22:30:52 -08:00
Marius Reimer
bf4a7df0e7
Fix android subtile issue caused by using rawdatasource
2018-12-09 00:40:05 +01:00
vadim
96c42844fe
ExoPlayer - Add possibility to hide shutterView
2018-11-28 14:56:58 +02:00
Hampton Maxwell
413a7b87c6
Only fire onSeek once we've completed the seek operation
2018-11-27 19:48:41 -08:00
Ash Mishra
5ab8165c3d
renamed maximumBitRate to maxBitRate. Added applyModifiers support
2018-11-26 14:50:31 -08:00
Ash Mishra
11db343987
Support for HLS maximum bit rate adaptive streaming
2018-11-26 10:33:09 -08:00
Daniel Dudek
5c7da30ddb
Fixed volume change when audio focus change
2018-11-14 12:33:28 +01:00
sridhar
5dce3e2161
Code cleanup
...
Code cleanup
2018-11-01 21:41:57 +05:30