Commit Graph

91 Commits

Author SHA1 Message Date
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
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
Hampton Maxwell
05ae20c772 Update ExoPlayer to 2.9.1 and OkHTTP to 3.12.0 2018-11-21 00:07:11 -08:00
Daniel Dudek
5c7da30ddb Fixed volume change when audio focus change 2018-11-14 12:33:28 +01:00
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
d87568db0e
Feature/exoplayer 2.9 (#1285)
Update to ExoPlayer 2.9.0 & document version 4.0.0 breaking changes
2018-10-13 20:16:10 -07:00
Hampton Maxwell
051a2c39f4
Merge branch 'master' into fix/gradle3 2018-10-13 19:18:13 -07:00
Hampton Maxwell
e50c2ad314 Update to ExoPlayer 2.8.4 2018-10-07 12:53:58 -07:00
Hampton Maxwell
5e360608af Return unset track index when there are no track available (#1190) 2018-09-12 19:38:11 -07:00
Tom Spencer
00174b63b8 Support RN 0.57 w/ gradle 3 2018-09-06 09:44:27 +01:00
Hampton Maxwell
40cafdcb2e Upgrade to ExoPlayer 2.8.2 2018-08-07 23:10:03 -07:00
Hampton Maxwell
f0ee821225 Change ExoPlayer version to 2.8.2 2018-08-06 14:23:33 -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
Bryan van Wijk
092ba33e95 Expose DefaultLoadControl parameters Android 2018-07-31 17:23:20 +02:00
Hampton Maxwell
1c9f2caa19 Apply SDK vars simplification 2018-07-24 13:19:45 -07:00
Hampton Maxwell
06eb1c57d8 Support selecting audio tracks
Implements audio track selection on iOS & Android ExoPlayer. The prop mirrors the API for selectedTextTrack.
2018-07-17 14:14:21 -07:00
Hampton Maxwell
2d5ef8cfd2 Update name of onAudioBecomingNoisy 2018-07-12 21:49:14 -07:00
Ash Mishra
6339b9ac08 isPaused reverted
clearSelectionOverride is still required for "default" and "disabled" case as it otherwise continues to show a selected track if it was previously selected
2018-07-09 16:18:42 -07:00
Ash Mishra
572c11a1dc Android device locale support for captions 2018-07-09 11:36:35 -07:00
Ash Mishra
05d4be2d9c Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	ios/RCTVideo.m
#	package.json
2018-07-06 16:01:02 -07:00
Ash Mishra
3e2e16ef44 iOS Sidecar loading for captions and offline support (isAsset). Android
fix to respect User settings for captions.
2018-07-05 13:36:36 -07:00
Hampton Maxwell
9c0ddde131 playableDuration was not converting the percentage to a decimal 2018-06-25 12:25:14 -07:00
Hampton Maxwell
c67dd7b8ef
Merge branch 'master' into master 2018-06-22 18:57:58 -07:00
Hampton Maxwell
954a97a73f
Merge pull request #1081 from react-native-community/revert-1080-revert-999-master
Reapply "Using SDK Version variables from root project""
2018-06-22 13:17:07 -07:00
Hampton Maxwell
c80aa33775 Automatically play when the paused prop is not set 2018-06-21 22:36:24 -07:00
Hampton Maxwell
20f9c291cd
Revert "Revert "Using SDK Version variables from root project"" 2018-06-21 10:29:38 -07:00
Hampton Maxwell
7511487baf
Revert "Using SDK Version variables from root project" 2018-06-21 09:18:12 -07:00
Hampton Maxwell
b850b31f04 Return empty string instead of null if text track title or language are not set 2018-06-20 15:46:04 -07:00
Hampton Maxwell
e684ba65b6 Fix crash when selectedTextTrack is null or undefined 2018-06-20 15:34:36 -07:00
Hampton Maxwell
d47a6ed424 Specify the text track type without any conversion 2018-06-12 20:57:30 -07:00
Hampton Maxwell
e2ea849d9e Add ability to sideload text tracks and report them in onLoad 2018-06-11 21:25:58 -07:00
Hampton Maxwell
8aac3dd905 Testing sideloaded text tracks 2018-06-11 15:23:43 -07:00
Hampton Maxwell
a0066675a9 Remove the LoopingMediaSource since we repeat with other means 2018-06-09 17:13:14 -07:00
Hampton Maxwell
13601b9991
Merge branch 'master' into master 2018-06-09 16:48:13 -07:00
Hampton Maxwell
da7bd43011
Revert setPlayWhenReady change 2018-06-09 16:13:58 -07:00
Hampton Maxwell
fab55f4d5c
Merge branch 'master' into master 2018-06-09 16:11:55 -07:00
Hampton Maxwell
d3bda4a204
Don't affect pause status after playing in the background 2018-06-09 16:11:18 -07:00
Emrah
2d89a3fd54
Merge branch 'master' into master 2018-06-09 21:36:09 +02:00
Emrah Kaya
623b562295 resolving conflicts 2018-06-09 21:30:38 +02:00
Hampton Maxwell
066a0c9c16 Add support for using a TextureView in ExoPlayer 2018-06-08 00:01:13 -07:00
Hampton Maxwell
11584f28d1 Apply initial text track prop when the video is loaded 2018-06-04 11:48:59 -07:00