Skip to content

Commit 3cfa4f6

Browse files
author
LZYongcn
authored
Merge pull request #113 from LZYongcn/master
release 3.2.0
2 parents 610bd88 + d744010 commit 3cfa4f6

File tree

1,086 files changed

+3421
-65826
lines changed

Some content is hidden

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

1,086 files changed

+3421
-65826
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@ fastlane/test_output
6161
# https://github.com/johnno1962/injectionforxcode
6262

6363
iOSInjectionProject/
64+
65+
**/Pods
66+
**/Podfile.lock

APIDiffs/api-diffs-3.2.0.md

+108
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
# PLShortVideoKit 3.1.1 to 3.2.0 API Differences
2+
3+
## General Headers
4+
5+
`PLSTypeDefines.h`
6+
7+
- *Added*
8+
9+
```objc
10+
typedef enum {
11+
PLSTransitionTypeFade = 0, // 淡入淡出
12+
PLSTransitionTypeNone = 1, // 无
13+
14+
PLSTransitionTypeFadeBlack = 2, // 闪黑 v3.2.0
15+
PLSTransitionTypeFadeWhite = 3, // 闪白 v3.2.0
16+
PLSTransitionTypeCircularCrop = 4, // 圆形 v3.2.0
17+
18+
PLSTransitionTypeSliderUp = 5, // 从上飞入 v3.2.0
19+
PLSTransitionTypeSliderDown = 6, // 从下飞入 v3.2.0
20+
PLSTransitionTypeSliderLeft = 7, // 从左飞入 v3.2.0
21+
PLSTransitionTypeSliderRight = 8, // 从右飞入 v3.2.0
22+
23+
PLSTransitionTypeWipeUp = 9, // 从上擦除 v3.2.0
24+
PLSTransitionTypeWipeDown = 10, // 从下擦除 v3.2.0
25+
PLSTransitionTypeWipeLeft = 11, // 从左擦除 v3.2.0
26+
PLSTransitionTypeWipeRight = 12, // 从右擦除 v3.2.0
27+
28+
} PLSTransitionType;
29+
```
30+
31+
`PLSAVAssetExportSession.h`
32+
33+
- *Added*
34+
35+
```objc
36+
@property(nonatomic, assign) int gopSize;
37+
```
38+
39+
`PLSUploaderResponInfo.h`
40+
41+
- *Added*
42+
43+
```objc
44+
@property (nonatomic, copy, readonly) NSString * _Nullable xClientId;
45+
46+
- (instancetype _Nullable)initWithStatusCode:(int)statusCode
47+
reqId:(NSString *_Nullable)reqId
48+
xClientId:(NSString *_Nullable)xClientId
49+
xlog:(NSString *_Nullable)xlog
50+
xvia:(NSString *_Nullable)xvia
51+
error:(NSError *_Nullable)error
52+
host:(NSString *_Nullable)host
53+
duration:(double)duration
54+
id:(NSString *_Nullable)id
55+
timeStamp:(UInt64)timeStamp
56+
canceled:(BOOL)canceled
57+
ok:(BOOL)ok
58+
broken:(BOOL)broken
59+
notQiniu:(BOOL)notQiniu;
60+
```
61+
62+
63+
- *Deprecated*
64+
65+
```objc
66+
@property (nonatomic, readonly) NSString * _Nullable serverIp- *Deprecated*
67+
68+
- (instancetype _Nullable)initWithStatusCode:(int)statusCode
69+
reqId:(NSString *_Nullable)reqId
70+
xlog:(NSString *_Nullable)xlog
71+
xvia:(NSString *_Nullable)xvia
72+
error:(NSError *_Nullable)error
73+
host:(NSString *_Nullable)host
74+
duration:(double)duration
75+
serverIp:(NSString *_Nullable)serverIp
76+
id:(NSString *_Nullable)id
77+
timeStamp:(UInt64)timeStamp
78+
canceled:(BOOL)canceled
79+
ok:(BOOL)ok
80+
broken:(BOOL)broken
81+
notQiniu:(BOOL)notQiniu;
82+
```
83+
84+
`PLSImageToMovieComposer.h`
85+
86+
- *Added*
87+
88+
```objc
89+
- (void)previewVideoByPlayerItem;
90+
91+
- (void)updatePreviewTransitionMedias:(NSInteger)index transitionType:(PLSTransitionType)transitionType;
92+
```
93+
94+
`PLSImageVideoComposer.h`
95+
96+
- *Added*
97+
98+
```objc
99+
@property (copy, nonatomic) void(^ _Nullable previewBlock)(AVPlayerItem* playerItem);
100+
101+
@property (copy, nonatomic) void(^ _Nullable previewFailureBlock)(NSError* error);
102+
103+
@property (assign, nonatomic) BOOL useGobalTransition;
104+
105+
- (void)previewVideoByPlayerItem;
106+
107+
- (void)updatePreviewTransitionMedias:(NSInteger)index transitionType:(PLSTransitionType)transitionType;
108+
```

PLShortVideoKit-Advanced.podspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
Pod::Spec.new do |s|
1010

1111
s.name = "PLShortVideoKit"
12-
s.version = "3.1.1"
12+
s.version = "3.2.0"
1313
s.summary = "PILI iOS short video record SDK"
1414
s.homepage = "https://github.com/pili-engineering/PLShortVideoKit"
1515
s.license = "Apache License 2.0"
1616
s.author = { "pili" => "[email protected]" }
17-
s.source = { :http => "https://sdk-release.qnsdk.com/PLShortVideoKit-advanced-v3.1.1.zip"}
17+
s.source = { :http => "https://sdk-release.qnsdk.com/PLShortVideoKit-advanced-v3.2.0.zip"}
1818
s.platform = :ios
1919
s.requires_arc = true
2020

2121
s.ios.deployment_target = "8.0"
2222

23-
s.dependency 'Qiniu', '7.2.5'
23+
s.dependency 'Qiniu', '7.4.4'
2424

2525

2626
s.subspec "ex-libMuseProcessor" do |ss1|

PLShortVideoKit-Basic.podspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
Pod::Spec.new do |s|
1010

1111
s.name = "PLShortVideoKit"
12-
s.version = "3.1.1"
12+
s.version = "3.2.0"
1313
s.summary = "PILI iOS short video record SDK"
1414
s.homepage = "https://github.com/pili-engineering/PLShortVideoKit"
1515
s.license = "Apache License 2.0"
1616
s.author = { "pili" => "[email protected]" }
17-
s.source = { :http => "https://sdk-release.qnsdk.com/PLShortVideoKit-basic-v3.1.1.zip"}
17+
s.source = { :http => "https://sdk-release.qnsdk.com/PLShortVideoKit-basic-v3.2.0.zip"}
1818
s.platform = :ios
1919
s.requires_arc = true
2020

2121
s.ios.deployment_target = "8.0"
2222

23-
s.dependency 'Qiniu', '7.2.5'
23+
s.dependency 'Qiniu', '7.4.4'
2424

2525

2626
s.subspec "ex-libMuseProcessor" do |ss1|

PLShortVideoKit-Smart.podspec

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
Pod::Spec.new do |s|
1010

1111
s.name = "PLShortVideoKit"
12-
s.version = "3.1.1"
12+
s.version = "3.2.0"
1313
s.summary = "PILI iOS short video record SDK"
1414
s.homepage = "https://github.com/pili-engineering/PLShortVideoKit"
1515
s.license = "Apache License 2.0"
1616
s.author = { "pili" => "[email protected]" }
17-
s.source = { :http => "https://sdk-release.qnsdk.com/PLShortVideoKit-smart-v3.1.1.zip"}
17+
s.source = { :http => "https://sdk-release.qnsdk.com/PLShortVideoKit-smart-v3.2.0.zip"}
1818
s.platform = :ios
1919
s.requires_arc = true
2020

2121
s.ios.deployment_target = "8.0"
2222

23-
s.dependency 'Qiniu', '7.2.5'
23+
s.dependency 'Qiniu', '7.4.4'
2424

2525

2626
s.subspec "ex-libMuseProcessor" do |ss1|

PLShortVideoKit.podspec

+3-4
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,18 @@
99
Pod::Spec.new do |s|
1010

1111
s.name = "PLShortVideoKit"
12-
s.version = "3.1.1"
12+
s.version = "3.2.0"
1313
s.summary = "PILI iOS short video record SDK"
1414
s.homepage = "https://github.com/pili-engineering/PLShortVideoKit"
1515
s.license = "Apache License 2.0"
1616
s.author = { "pili" => "[email protected]" }
17-
s.source = { :http => "https://sdk-release.qnsdk.com/PLShortVideoKit-profession-v3.1.1.zip"}
17+
s.source = { :http => "https://sdk-release.qnsdk.com/PLShortVideoKit-profession-v3.2.0.zip"}
1818
s.platform = :ios
1919
s.requires_arc = true
2020

2121
s.ios.deployment_target = "8.0"
2222

23-
s.dependency 'Qiniu', '7.2.5'
24-
23+
s.dependency 'Qiniu', '7.4.4'
2524

2625
s.subspec "ex-libMuseProcessor" do |ss1|
2726
ss1.vendored_framework = "Pod/Library/Profession/PLShortVideoKit.framework"

0 commit comments

Comments
 (0)