Commit Graph

109 Commits

Author SHA1 Message Date
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
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
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
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
sridhar
9dead2fefc Some log functions removed
Some log functions removed
2018-11-01 16:58:27 +05:30
sridhar
41cbf073c7 Bandwidth is reported as enevts when download happens. Not by timer method
Bandwidth is reported as enevts when download happens. Not by timer method
2018-11-01 15:18:59 +05:30
sridhar
aa526206d2 Merge branch 'master' of git://github.com/react-native-community/react-native-video into react-native-community-master
Merge branch 'master' of git://github.com/react-native-community/react-native-video into react-native-community-master
2018-10-27 09:19:28 +05:30
Hampton Maxwell
3eb8515461 Don't pause when detaching 2018-10-13 20:36:12 -07:00
Hampton Maxwell
2d76e491d3
Switch useTextureView to default to true (#1286)
A number of people run into SurfaceView layering issues. It seems better to default to the more compatible option and let people reconfigure if they need the extra SurfaceView performance.
2018-10-13 20:23:30 -07:00
Hampton Maxwell
5e360608af Return unset track index when there are no track available (#1190) 2018-09-12 19:38:11 -07:00
sridhar
654a76d6ef named parameter added for exception. Otherwise this cannot be used in JS
named parameter added for exception. Otherwise this cannot be used in JS
2018-09-06 14:25:44 +05:30
sridhar
6480a6462b Reporting estimatedBandwidth
Reporting estimatedBandwidth
2018-08-25 21:53:11 +05:30
sridhar
ff31bd1772 reverted deprecated API
reverted deprecated API
2018-08-25 11:24:08 +05:30
sridhar
4ea926e137 Bandwidth reporting
To show the current bandwidth to user and for debugging purposes current bandwidth is required to be reported. This pull request adds the bandwidth estimate in the progress event.

Also the bandwidth details are added in the audio track in load event. There is another pull request which reports the video track information
2018-08-25 11:21:01 +05:30
sridhar
16688cef0f Youtube like video track selection
1. Loaded event will give the information about available video tracks
2. selectedVideoTrack prop will give the interface to select the video track. This prop will take the height of the video (Similar to youtube like 144p, 350p etc) and set the video track. If height is 0 then all video tracks will be added to list so that it will work like 'Auto' in youtube
2018-08-24 15:33:46 +05:30
Hampton Maxwell
40cafdcb2e Upgrade to ExoPlayer 2.8.2 2018-08-07 23:10:03 -07:00
Hampton Maxwell
a60a1277b7
Remove extra space 2018-08-03 15:54:55 -07:00
Hampton Maxwell
725497e149
Don't set isPaused when releasing the player
I'm guessing this was a bug as it doesn't make sense that we would set paused to true if the video is playing, and not paused if it wasn't. I believe this is a safe change since we only release the player when the app is closing or we detach (which is going away shortly). We need this since we release the player in order to apply new bufferConfig settings.
2018-08-03 15:54:18 -07:00
Bryan van Wijk
cd75e72180 Rename to bufferConfig and use stopPlayback 2018-08-02 09:20:08 +02:00
Bryan van Wijk
dde27a320e Pass loadControl parameters as video props 2018-08-01 15:58:02 +02:00