Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Commit 90063c9

Browse files
committed
release react-native v6.0.0
1 parent 9c49c0f commit 90063c9

File tree

10 files changed

+48
-39
lines changed

10 files changed

+48
-39
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ the exact version number of `FFmpeg` is obtained using the `git describe --tags`
126126

127127
| Platforms | FFmpegKit Version | FFmpeg Version | Release Date |
128128
|:----------------:|:-----------------------------------------------------------------------------------:|:--------------:|:------------:|
129+
| React Native | [6.0.0](https://github.com/arthenica/ffmpeg-kit/releases/tag/react.native.v6.0.0) | 6.0.0 | Aug 27, 2023 |
130+
| Flutter | [6.0.0](https://github.com/arthenica/ffmpeg-kit/releases/tag/flutter.v6.0.0) | 6.0.0 | Aug 27, 2023 |
129131
| Android<br>Apple | [6.0](https://github.com/arthenica/ffmpeg-kit/releases/tag/v6.0) | 6.0 | Aug 21, 2023 |
130132
| React Native | [5.1.0](https://github.com/arthenica/ffmpeg-kit/releases/tag/react.native.v5.1.0) | 5.1.2 | Oct 02, 2022 |
131133
| Flutter | [5.1.0](https://github.com/arthenica/ffmpeg-kit/releases/tag/flutter.v5.1.0) | 5.1.2 | Oct 02, 2022 |

docs/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ the exact version number of `FFmpeg` is obtained using the `git describe --tags`
114114

115115
| Platforms | FFmpegKit Version | FFmpeg Version | Release Date |
116116
|:----------------:|:-----------------------------------------------------------------------------------:|:--------------:|:------------:|
117+
| React Native | [6.0.0](https://github.com/arthenica/ffmpeg-kit/releases/tag/react.native.v6.0.0) | 6.0.0 | Aug 27, 2023 |
118+
| Flutter | [6.0.0](https://github.com/arthenica/ffmpeg-kit/releases/tag/flutter.v6.0.0) | 6.0.0 | Aug 27, 2023 |
117119
| Android<br>Apple | [6.0](https://github.com/arthenica/ffmpeg-kit/releases/tag/v6.0) | 6.0 | Aug 21, 2023 |
118120
| React Native | [5.1.0](https://github.com/arthenica/ffmpeg-kit/releases/tag/react.native.v5.1.0) | 5.1.2 | Oct 02, 2022 |
119121
| Flutter | [5.1.0](https://github.com/arthenica/ffmpeg-kit/releases/tag/flutter.v5.1.0) | 5.1.2 | Oct 02, 2022 |
@@ -126,6 +128,7 @@ the exact version number of `FFmpeg` is obtained using the `git describe --tags`
126128
| Flutter | [4.5.0](https://github.com/arthenica/ffmpeg-kit/releases/tag/flutter.v4.5.0) | 4.5-dev-2008 | Oct 05, 2021 |
127129
| React Native | [4.5.0](https://github.com/arthenica/ffmpeg-kit/releases/tag/react.native.v4.5.0) | 4.5-dev-2008 | Oct 01, 2021 |
128130
| Android<br>Apple | [4.5](https://github.com/arthenica/ffmpeg-kit/releases/tag/v4.5) | 4.5-dev-2008 | Sep 18, 2021 |
131+
| Android<br>Apple | [4.4](https://github.com/arthenica/ffmpeg-kit/releases/tag/v4.4) | 4.4-dev-3015 | Mar 03, 2021 |
129132

130133
### 11. LTS Releases
131134

react-native/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- Includes both `FFmpeg` and `FFprobe`
55
- Supports
66
- Both `Android` and `iOS`
7-
- FFmpeg `v5.1.2`
7+
- FFmpeg `v6.0`
88
- `arm-v7a`, `arm-v7a-neon`, `arm64-v8a`, `x86` and `x86_64` architectures on Android
99
- `Android API Level 24` or later
1010
- `API Level 16` on LTS releases

react-native/android/build.gradle

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath 'com.android.tools.build:gradle:7.3.0'
8+
classpath 'com.android.tools.build:gradle:8.1.0'
99
}
1010
}
1111

@@ -26,13 +26,17 @@ def safeExtGet(String prop, String fallback) {
2626
}
2727

2828
android {
29-
compileSdkVersion 31
29+
if (project.android.hasProperty("namespace")) {
30+
namespace 'com.arthenica.ffmpegkit.reactnative'
31+
}
32+
33+
compileSdkVersion 33
3034

3135
defaultConfig {
3236
minSdkVersion safeExtGet('ffmpegKitPackage', 'https').contains("-lts") ? 16 : 24
33-
targetSdkVersion 31
34-
versionCode 510
35-
versionName "5.1.0"
37+
targetSdkVersion 33
38+
versionCode 600
39+
versionName "6.0.0"
3640
}
3741

3842
buildTypes {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
android.useAndroidX=true
2-
ffmpegKit.android.main.version=5.1
3-
ffmpegKit.android.lts.version=5.1
2+
ffmpegKit.android.main.version=6.0
3+
ffmpegKit.android.lts.version=6.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

react-native/ffmpeg-kit-react-native.podspec

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -23,112 +23,112 @@ Pod::Spec.new do |s|
2323
s.subspec 'min' do |ss|
2424
ss.source_files = '**/FFmpegKitReactNativeModule.m',
2525
'**/FFmpegKitReactNativeModule.h'
26-
ss.dependency 'ffmpeg-kit-ios-min', "5.1"
26+
ss.dependency 'ffmpeg-kit-ios-min', "6.0"
2727
ss.ios.deployment_target = '12.1'
2828
end
2929

3030
s.subspec 'min-lts' do |ss|
3131
ss.source_files = '**/FFmpegKitReactNativeModule.m',
3232
'**/FFmpegKitReactNativeModule.h'
33-
ss.dependency 'ffmpeg-kit-ios-min', "5.1.LTS"
33+
ss.dependency 'ffmpeg-kit-ios-min', "6.0.LTS"
3434
ss.ios.deployment_target = '10'
3535
end
3636

3737
s.subspec 'min-gpl' do |ss|
3838
ss.source_files = '**/FFmpegKitReactNativeModule.m',
3939
'**/FFmpegKitReactNativeModule.h'
40-
ss.dependency 'ffmpeg-kit-ios-min-gpl', "5.1"
40+
ss.dependency 'ffmpeg-kit-ios-min-gpl', "6.0"
4141
ss.ios.deployment_target = '12.1'
4242
end
4343

4444
s.subspec 'min-gpl-lts' do |ss|
4545
ss.source_files = '**/FFmpegKitReactNativeModule.m',
4646
'**/FFmpegKitReactNativeModule.h'
47-
ss.dependency 'ffmpeg-kit-ios-min-gpl', "5.1.LTS"
47+
ss.dependency 'ffmpeg-kit-ios-min-gpl', "6.0.LTS"
4848
ss.ios.deployment_target = '10'
4949
end
5050

5151
s.subspec 'https' do |ss|
5252
ss.source_files = '**/FFmpegKitReactNativeModule.m',
5353
'**/FFmpegKitReactNativeModule.h'
54-
ss.dependency 'ffmpeg-kit-ios-https', "5.1"
54+
ss.dependency 'ffmpeg-kit-ios-https', "6.0"
5555
ss.ios.deployment_target = '12.1'
5656
end
5757

5858
s.subspec 'https-lts' do |ss|
5959
ss.source_files = '**/FFmpegKitReactNativeModule.m',
6060
'**/FFmpegKitReactNativeModule.h'
61-
ss.dependency 'ffmpeg-kit-ios-https', "5.1.LTS"
61+
ss.dependency 'ffmpeg-kit-ios-https', "6.0.LTS"
6262
ss.ios.deployment_target = '10'
6363
end
6464

6565
s.subspec 'https-gpl' do |ss|
6666
ss.source_files = '**/FFmpegKitReactNativeModule.m',
6767
'**/FFmpegKitReactNativeModule.h'
68-
ss.dependency 'ffmpeg-kit-ios-https-gpl', "5.1"
68+
ss.dependency 'ffmpeg-kit-ios-https-gpl', "6.0"
6969
ss.ios.deployment_target = '12.1'
7070
end
7171

7272
s.subspec 'https-gpl-lts' do |ss|
7373
ss.source_files = '**/FFmpegKitReactNativeModule.m',
7474
'**/FFmpegKitReactNativeModule.h'
75-
ss.dependency 'ffmpeg-kit-ios-https-gpl', "5.1.LTS"
75+
ss.dependency 'ffmpeg-kit-ios-https-gpl', "6.0.LTS"
7676
ss.ios.deployment_target = '10'
7777
end
7878

7979
s.subspec 'audio' do |ss|
8080
ss.source_files = '**/FFmpegKitReactNativeModule.m',
8181
'**/FFmpegKitReactNativeModule.h'
82-
ss.dependency 'ffmpeg-kit-ios-audio', "5.1"
82+
ss.dependency 'ffmpeg-kit-ios-audio', "6.0"
8383
ss.ios.deployment_target = '12.1'
8484
end
8585

8686
s.subspec 'audio-lts' do |ss|
8787
ss.source_files = '**/FFmpegKitReactNativeModule.m',
8888
'**/FFmpegKitReactNativeModule.h'
89-
ss.dependency 'ffmpeg-kit-ios-audio', "5.1.LTS"
89+
ss.dependency 'ffmpeg-kit-ios-audio', "6.0.LTS"
9090
ss.ios.deployment_target = '10'
9191
end
9292

9393
s.subspec 'video' do |ss|
9494
ss.source_files = '**/FFmpegKitReactNativeModule.m',
9595
'**/FFmpegKitReactNativeModule.h'
96-
ss.dependency 'ffmpeg-kit-ios-video', "5.1"
96+
ss.dependency 'ffmpeg-kit-ios-video', "6.0"
9797
ss.ios.deployment_target = '12.1'
9898
end
9999

100100
s.subspec 'video-lts' do |ss|
101101
ss.source_files = '**/FFmpegKitReactNativeModule.m',
102102
'**/FFmpegKitReactNativeModule.h'
103-
ss.dependency 'ffmpeg-kit-ios-video', "5.1.LTS"
103+
ss.dependency 'ffmpeg-kit-ios-video', "6.0.LTS"
104104
ss.ios.deployment_target = '10'
105105
end
106106

107107
s.subspec 'full' do |ss|
108108
ss.source_files = '**/FFmpegKitReactNativeModule.m',
109109
'**/FFmpegKitReactNativeModule.h'
110-
ss.dependency 'ffmpeg-kit-ios-full', "5.1"
110+
ss.dependency 'ffmpeg-kit-ios-full', "6.0"
111111
ss.ios.deployment_target = '12.1'
112112
end
113113

114114
s.subspec 'full-lts' do |ss|
115115
ss.source_files = '**/FFmpegKitReactNativeModule.m',
116116
'**/FFmpegKitReactNativeModule.h'
117-
ss.dependency 'ffmpeg-kit-ios-full', "5.1.LTS"
117+
ss.dependency 'ffmpeg-kit-ios-full', "6.0.LTS"
118118
ss.ios.deployment_target = '10'
119119
end
120120

121121
s.subspec 'full-gpl' do |ss|
122122
ss.source_files = '**/FFmpegKitReactNativeModule.m',
123123
'**/FFmpegKitReactNativeModule.h'
124-
ss.dependency 'ffmpeg-kit-ios-full-gpl', "5.1"
124+
ss.dependency 'ffmpeg-kit-ios-full-gpl', "6.0"
125125
ss.ios.deployment_target = '12.1'
126126
end
127127

128128
s.subspec 'full-gpl-lts' do |ss|
129129
ss.source_files = '**/FFmpegKitReactNativeModule.m',
130130
'**/FFmpegKitReactNativeModule.h'
131-
ss.dependency 'ffmpeg-kit-ios-full-gpl', "5.1.LTS"
131+
ss.dependency 'ffmpeg-kit-ios-full-gpl', "6.0.LTS"
132132
ss.ios.deployment_target = '10'
133133
end
134134

react-native/ios/FFmpegKitReactNativeModule.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ + (NSDictionary*)toStatisticsDictionary:(Statistics*)statistics {
765765
dictionary[KEY_STATISTICS_VIDEO_FPS] = [NSNumber numberWithFloat: [statistics getVideoFps]];
766766
dictionary[KEY_STATISTICS_VIDEO_QUALITY] = [NSNumber numberWithFloat: [statistics getVideoQuality]];
767767
dictionary[KEY_STATISTICS_SIZE] = [NSNumber numberWithLong: [statistics getSize]];
768-
dictionary[KEY_STATISTICS_TIME] = [NSNumber numberWithInt: [statistics getTime]];
768+
dictionary[KEY_STATISTICS_TIME] = [NSNumber numberWithDouble: [statistics getTime]];
769769
dictionary[KEY_STATISTICS_BITRATE] = [NSNumber numberWithDouble: [statistics getBitrate]];
770770
dictionary[KEY_STATISTICS_SPEED] = [NSNumber numberWithDouble: [statistics getSpeed]];
771771

react-native/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ffmpeg-kit-react-native",
3-
"version": "5.1.0",
3+
"version": "6.0.0",
44
"description": "FFmpeg Kit for React Native",
55
"main": "src/index",
66
"types": "src/index.d.ts",
@@ -29,22 +29,22 @@
2929
"registry": "https://registry.npmjs.org/"
3030
},
3131
"devDependencies": {
32-
"@commitlint/config-conventional": "^11.0.0",
32+
"@commitlint/config-conventional": "^17.7.0",
3333
"@react-native-community/eslint-config": "^2.0.0",
34-
"@release-it/conventional-changelog": "^2.0.0",
35-
"@types/jest": "^26.0.0",
34+
"@release-it/conventional-changelog": "^7.0.0",
35+
"@types/jest": "^29.5.4",
3636
"@types/react": "^16.9.19",
3737
"@types/react-native": "^0.62.13",
38-
"commitlint": "^11.0.0",
39-
"eslint": "^7.2.0",
40-
"eslint-config-prettier": "^7.0.0",
41-
"eslint-plugin-prettier": "^3.1.3",
42-
"jest": "^26.0.1",
43-
"pod-install": "^0.1.0",
44-
"prettier": "^2.0.5",
38+
"commitlint": "^17.7.1",
39+
"eslint": "^8.48.0",
40+
"eslint-config-prettier": "^9.0.0",
41+
"eslint-plugin-prettier": "^5.0.0",
42+
"jest": "^29.6.4",
43+
"pod-install": "^0.1.39",
44+
"prettier": "^3.0.2",
4545
"react": "^16.13.1",
4646
"react-native": "^0.63.4",
47-
"release-it": "^14.2.2"
47+
"release-it": "^16.1.5"
4848
},
4949
"peerDependencies": {
5050
"react": "*",

react-native/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ class FFmpegKitFactory {
16111611
}
16121612

16131613
static getVersion() {
1614-
return "5.1.0";
1614+
return "6.0.0";
16151615
}
16161616

16171617
static getLogRedirectionStrategy(sessionId) {

0 commit comments

Comments
 (0)