Skip to content

Commit 8b317ed

Browse files
Merge branch 'master' into cr-android-improvements
2 parents 87472eb + 424b703 commit 8b317ed

File tree

148 files changed

+9135
-6269
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+9135
-6269
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
examples/

.github/stale.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Configuration for probot-stale - https://github.com/probot/stale
2+
3+
# Number of days of inactivity before an Issue or Pull Request becomes stale
4+
daysUntilStale: 60
5+
6+
# Number of days of inactivity before an Issue or Pull Request with the stale label is closed.
7+
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
8+
daysUntilClose: 3
9+
10+
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
11+
onlyLabels: []
12+
13+
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
14+
exemptLabels:
15+
- pinned
16+
- security
17+
18+
# Set to true to ignore issues in a project (defaults to false)
19+
exemptProjects: true
20+
21+
# Set to true to ignore issues in a milestone (defaults to false)
22+
exemptMilestones: true
23+
24+
# Set to true to ignore issues with an assignee (defaults to false)
25+
exemptAssignees: true
26+
27+
# Label to use when marking as stale
28+
staleLabel: stale
29+
30+
# Comment to post when marking as stale. Set to `false` to disable
31+
markComment: >
32+
This issue has been automatically marked as stale because it has not had
33+
recent activity. It will be closed if no further activity occurs. Thank you
34+
for your contributions. If you are having a similar problem, please open a
35+
new issue and reference this one instead of commenting on a stale or closed
36+
issue.
37+
38+
# Comment to post when removing the stale label.
39+
unmarkComment: false
40+
41+
# Comment to post when closing a stale Issue or Pull Request.
42+
closeComment: false
43+
44+
# Limit the number of actions per hour, from 1-30. Default is 30
45+
limitPerRun: 50
46+
47+
# Limit to only `issues` or `pulls`
48+
only: issues
49+
50+
# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
51+
# pulls:
52+
# daysUntilStale: 30
53+
# markComment: >
54+
# This pull request has been automatically marked as stale because it has not had
55+
# recent activity. It will be closed if no further activity occurs. Thank you
56+
# for your contributions.
57+
58+
# issues:
59+
# exemptLabels:
60+
# - confirmed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: ci
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- uses: actions/setup-node@v1
9+
- run: yarn --no-lockfile
10+
- run: yarn lint

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ DerivedData
2121
*.ipa
2222
*.xcuserstate
2323
project.xcworkspace
24+
Pods
2425

2526
# Android/IJ
2627
#
@@ -49,3 +50,7 @@ buck-out/
4950
\.buckd/
5051
android/app/libs
5152
android/keystores/debug.keystore
53+
54+
# windows
55+
Deploy.binlog
56+
msbuild.binlog

CHANGELOG.md

Lines changed: 44 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,53 @@
11
## Changelog
22

3-
- Add support for `onBufferProgress` on Android for getting buffer data even when the player is paused
4-
5-
- Fix Android AudioFocus bug that could cause player to not respond to play/pause in some instances [#2311](https://github.com/react-native-video/react-native-video/pull/2311)
3+
### Version 6.0.0-alpha1
4+
- Support disabling buffering [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
5+
- Fix AudioFocus bug that could cause the player to stop responding to play/pause in some instances. [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
6+
- Fix player crashing when it is being cleared. [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
7+
- Add support for customising back buffer duration and handle network errors gracefully to prevent releasing the player when network is lost. [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
8+
- Allow player to be init before source is provided, and later update once a source is provided. [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
9+
- Adds handling for providing a empty source in order to stop playback and clear out any existing content [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
10+
- Add support for onBufferProgress prop on Android to get buffer data even when the player is paused. [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
11+
- Add support for detecting if format is supported and exclude unsupported resolutions from auto quality selection and video track info in RN. [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
12+
- Improve error handling [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
13+
- Add support for L1 to L3 Widevine fallback if playback fails initially. [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
14+
- Reduce buffer size based on available heap [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
15+
- Force garbage collection when there is no available memory [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
16+
- Improve memory usage [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
17+
- Support disabling screen recording [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
18+
- Improved error capturing [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
19+
- Fix DRM init crashes [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
20+
- Improve progress reporting [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
21+
- Fix progress loss when network connection is regained [#2689](https://github.com/react-native-video/react-native-video/pull/2689)
22+
- Add Google's maven repository to avoid build error [#2552](https://github.com/react-native-video/react-native-video/pull/2552)
23+
- Fix iOS 15.4 HLS playback race condition [#2633](https://github.com/react-native-video/react-native-video/pull/2633)
24+
- Fix app crash from NPE in Exoplayer error handler [#2575](https://github.com/react-native-video/react-native-video/pull/2575)
25+
- Fix default closed captioning behavior for Android ExoPlayer [#2181](https://github.com/react-native-video/react-native-video/pull/2181)
26+
- Disable pipController init if pictureInPicture is false [#2645](https://github.com/react-native-video/react-native-video/pull/2645)
27+
- Make sure modifiers are applied before playing [#2395](https://github.com/react-native-video/react-native-video/pull/2395)
28+
- Better support newer versions of RNW (64 and newer) [#2535](https://github.com/react-native-video/react-native-video/pull/2535)
29+
- Fix nil string uri parameter error [#695](https://github.com/react-native-video/react-native-video/pull/695)
30+
- (Breaking) Bump shaka-player to 3.3.2 [#2587](https://github.com/react-native-video/react-native-video/pull/2587)
31+
- Improve basic player example on android [#2662](https://github.com/react-native-video/react-native-video/pull/2662)
32+
- Ensure we always use `hideShutterView` before showing the `shutterView` on Android [#2609](https://github.com/react-native-video/react-native-video/pull/2609)
33+
- Convert iOS implementation to Swift [#2527](https://github.com/react-native-video/react-native-video/pull/2527)
34+
- Add iOS support for decoding offline sources [#2527](https://github.com/react-native-video/react-native-video/pull/2527)
35+
- Update basic example applications (React Native 0.63.4) [#2527](https://github.com/react-native-video/react-native-video/pull/2527)
36+
- Fix volume reset issue in exoPlayer [#2371](https://github.com/react-native-video/react-native-video/pull/2371)
37+
38+
### Version 5.2.0
39+
40+
- Fix for tvOS native audio menu language selector
41+
- Update ExoPlayer to allow pre-init and content clear [#2412] (https://github.com/react-native-video/react-native-video/pull/2412)
42+
- iOS rate is reset to 1.0 after play/pause [#2167] (https://github.com/react-native-video/react-native-video/pull/2167)
43+
- Upgrade ExoPlayer to 2.13.2 [#2317] (https://github.com/react-native-video/react-native-video/pull/2317)
44+
- Fix AudioFocus pausing video when attempting to play [#2311] (https://github.com/react-native-video/react-native-video/pull/2311)
645

746
### Version 5.1.0-alpha9
847

948
- Add ARM64 support for windows [#2137](https://github.com/react-native-community/react-native-video/pull/2137)
49+
- Fix deprecated API bug for windows [#2119](https://github.com/react-native-video/react-native-video/pull/2119)
50+
- Added `rate` property and autolinking support for windows [#2206](https://github.com/react-native-video/react-native-video/pull/2206)
1051

1152
### Version 5.1.0-alpha8
1253

DRMType.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ export default {
22
WIDEVINE: 'widevine',
33
PLAYREADY: 'playready',
44
CLEARKEY: 'clearkey',
5-
FAIRPLAY: 'fairplay'
5+
FAIRPLAY: 'fairplay',
66
};

0 commit comments

Comments
 (0)