Skip to content

Commit

Permalink
Merge pull request #130 from Kivenhaoyu/release-v3.0.2
Browse files Browse the repository at this point in the history
v3.0.2 release
  • Loading branch information
Kivenhaoyu authored Sep 18, 2020
2 parents 3e6fedf + 2173ca2 commit dfa625c
Show file tree
Hide file tree
Showing 23 changed files with 405 additions and 407 deletions.
3 changes: 3 additions & 0 deletions APIDiffs/api-diffs-3.0.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# PLMediaStreamingKit 3.0.1 to 3.0.2 API Differences

## General Headers
4 changes: 2 additions & 2 deletions Example/PLMediaStreamingKitDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@
"$(inherited)",
"$(PROJECT_DIR)/PLMediaStreamingKitDemo/Weixin",
);
MARKETING_VERSION = 3.0.0;
MARKETING_VERSION = 3.0.2;
OTHER_LDFLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = "com.pili-engineering.PLMediaStreamingKit";
PRODUCT_NAME = PLMediaStreamingKitDemo;
Expand All @@ -736,7 +736,7 @@
"$(inherited)",
"$(PROJECT_DIR)/PLMediaStreamingKitDemo/Weixin",
);
MARKETING_VERSION = 3.0.0;
MARKETING_VERSION = 3.0.2;
ONLY_ACTIVE_ARCH = NO;
OTHER_LDFLAGS = "$(inherited)";
PRODUCT_BUNDLE_IDENTIFIER = "com.pili-engineering.PLMediaStreamingKit";
Expand Down
12 changes: 6 additions & 6 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ PODS:
- Fabric (~> 1.10.1)
- Fabric (1.10.1)
- Masonry (1.1.0)
- PLMediaStreamingKit (3.0.1):
- PLMediaStreamingKit/iphoneos (= 3.0.1)
- PLMediaStreamingKit/iphoneos (3.0.1)
- PLMediaStreamingKit (3.0.2):
- PLMediaStreamingKit/iphoneos (= 3.0.2)
- PLMediaStreamingKit/iphoneos (3.0.2)

DEPENDENCIES:
- Crashlytics
Expand All @@ -14,7 +14,7 @@ DEPENDENCIES:
- PLMediaStreamingKit (from `../`)

SPEC REPOS:
https://github.com/CocoaPods/Specs.git:
https://github.com/cocoapods/specs.git:
- Crashlytics
- Fabric
- Masonry
Expand All @@ -27,8 +27,8 @@ SPEC CHECKSUMS:
Crashlytics: 5aa8e90dcbf2f34898b4f5a0037787531246cca0
Fabric: f6f21452846788bb44595d73e9909d79d328e617
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
PLMediaStreamingKit: e458493ea7eff3ad7f1c0476fa4a4c9e43d99afd
PLMediaStreamingKit: 20e0dac77a93e488c8b06bfabf8fdb0fc61f07b5

PODFILE CHECKSUM: 8d7c89f30111bbbfa14ac3d29f6dd4c6e565c1c5

COCOAPODS: 1.9.3
COCOAPODS: 1.7.5
4 changes: 2 additions & 2 deletions Example/Pods/Local Podspecs/PLMediaStreamingKit.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

573 changes: 282 additions & 291 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions PLMediaStreamingKit-Universal.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

Pod::Spec.new do |s|
s.name = "PLMediaStreamingKit"
s.version = "3.0.1"
s.version = "3.0.2"
s.summary = "Pili iOS media streaming framework via RTMP."
s.homepage = "https://github.com/pili-engineering/PLMediaStreamingKit"
s.license = 'Apache License, Version 2.0'
s.author = { "pili" => "[email protected]" }
s.source = { :http => "https://sdk-release.qnsdk.com/PLMediaStreamingKit-v3.0.1-universal.zip"}
s.source = { :http => "https://sdk-release.qnsdk.com/PLMediaStreamingKit-v3.0.2-universal.zip"}

s.platform = :ios
s.ios.deployment_target = '8.0'
Expand Down
4 changes: 2 additions & 2 deletions PLMediaStreamingKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

Pod::Spec.new do |s|
s.name = "PLMediaStreamingKit"
s.version = "3.0.1"
s.version = "3.0.2"
s.summary = "Pili iOS media streaming framework via RTMP."
s.homepage = "https://github.com/pili-engineering/PLMediaStreamingKit"
s.license = 'Apache License, Version 2.0'
s.author = { "pili" => "[email protected]" }
s.source = { :http => "https://sdk-release.qnsdk.com/PLMediaStreamingKit-v3.0.1-iphoneos.zip"}
s.source = { :http => "https://sdk-release.qnsdk.com/PLMediaStreamingKit-v3.0.2-iphoneos.zip"}

s.platform = :ios
s.ios.deployment_target = '8.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#import <AVFoundation/AVFoundation.h>
#import <Foundation/Foundation.h>

typedef void (^PermissionBlock)(BOOL granted);

NS_ASSUME_NONNULL_BEGIN

/*! Proxy class for AVAudioSession that adds a locking mechanism similar to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ NS_ASSUME_NONNULL_BEGIN
当videoStreamingConfiguration 和 audioStreamingConfiguration 同时为 nil 时为纯连麦模式。
当初始化方法会优先使用后置摄像头,如果发现设备没有后置摄像头,会判断是否有前置摄像头,如果都没有,便会返回 nil。
*/
- (instancetype)initWithVideoCaptureConfiguration:(PLVideoCaptureConfiguration *)videoCaptureConfiguration
audioCaptureConfiguration:(PLAudioCaptureConfiguration *)audioCaptureConfiguration
videoStreamingConfiguration:(PLVideoStreamingConfiguration *)videoStreamingConfiguration
audioStreamingConfiguration:(PLAudioStreamingConfiguration *)audioStreamingConfiguration
stream:(PLStream *)stream NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithVideoCaptureConfiguration:(nullable PLVideoCaptureConfiguration *)videoCaptureConfiguration
audioCaptureConfiguration:(nullable PLAudioCaptureConfiguration *)audioCaptureConfiguration
videoStreamingConfiguration:(nullable PLVideoStreamingConfiguration *)videoStreamingConfiguration
audioStreamingConfiguration:(nullable PLAudioStreamingConfiguration *)audioStreamingConfiguration
stream:(nullable PLStream *)stream NS_DESIGNATED_INITIALIZER;

/*!
@abstract 初始化方法
Expand All @@ -180,12 +180,12 @@ NS_ASSUME_NONNULL_BEGIN
如果你对 dns 解析部分不清楚,可以直接使用
-initWithVideoCaptureConfiguration:audioCaptureConfiguration:videoStreamingConfiguration:audioStreamingConfiguration:stream 来初始化 PLMediaStreamingSession 对象
*/
- (instancetype)initWithVideoCaptureConfiguration:(PLVideoCaptureConfiguration *)videoCaptureConfiguration
audioCaptureConfiguration:(PLAudioCaptureConfiguration *)audioCaptureConfiguration
videoStreamingConfiguration:(PLVideoStreamingConfiguration *)videoStreamingConfiguration
audioStreamingConfiguration:(PLAudioStreamingConfiguration *)audioStreamingConfiguration
stream:(PLStream *)stream
dns:(QNDnsManager *)dns;
- (instancetype)initWithVideoCaptureConfiguration:(nullable PLVideoCaptureConfiguration *)videoCaptureConfiguration
audioCaptureConfiguration:(nullable PLAudioCaptureConfiguration *)audioCaptureConfiguration
videoStreamingConfiguration:(nullable PLVideoStreamingConfiguration *)videoStreamingConfiguration
audioStreamingConfiguration:(nullable PLAudioStreamingConfiguration *)audioStreamingConfiguration
stream:(nullable PLStream *)stream
dns:(nullable QNDnsManager *)dns;

/*!
@abstract 初始化方法
Expand All @@ -208,12 +208,12 @@ NS_ASSUME_NONNULL_BEGIN
如果你对 dns 解析部分不清楚,可以直接使用
-initWithVideoCaptureConfiguration:audioCaptureConfiguration:videoStreamingConfiguration:audioStreamingConfiguration:stream 来初始化 PLMediaStreamingSession 对象
*/
- (instancetype)initWithVideoCaptureConfiguration:(PLVideoCaptureConfiguration *)videoCaptureConfiguration
audioCaptureConfiguration:(PLAudioCaptureConfiguration *)audioCaptureConfiguration
videoStreamingConfiguration:(PLVideoStreamingConfiguration *)videoStreamingConfiguration
audioStreamingConfiguration:(PLAudioStreamingConfiguration *)audioStreamingConfiguration
stream:(PLStream *)stream
dns:(QNDnsManager *)dns
- (instancetype)initWithVideoCaptureConfiguration:(nullable PLVideoCaptureConfiguration *)videoCaptureConfiguration
audioCaptureConfiguration:(nullable PLAudioCaptureConfiguration *)audioCaptureConfiguration
videoStreamingConfiguration:(nullable PLVideoStreamingConfiguration *)videoStreamingConfiguration
audioStreamingConfiguration:(nullable PLAudioStreamingConfiguration *)audioStreamingConfiguration
stream:(nullable PLStream *)stream
dns:(nullable QNDnsManager *)dns
eaglContext:(EAGLContext *)eaglContext;

/*!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ typedef void (^PLStreamDiagnosisResultHandler)(NSString * _Nullable diagnosisRes
@since v1.1.7
*/
- (instancetype)initWithVideoStreamingConfiguration:(PLVideoStreamingConfiguration *)videoStreamingConfiguration
audioStreamingConfiguration:(PLAudioStreamingConfiguration *)audioStreamingConfiguration
stream:(PLStream *)stream;
- (instancetype)initWithVideoStreamingConfiguration:(nullable PLVideoStreamingConfiguration *)videoStreamingConfiguration
audioStreamingConfiguration:(nullable PLAudioStreamingConfiguration *)audioStreamingConfiguration
stream:(nullable PLStream *)stream;

/*!
@method initWithVideoStreamingConfiguration:audioStreamingConfiguration:stream:dns:
Expand All @@ -287,10 +287,10 @@ typedef void (^PLStreamDiagnosisResultHandler)(NSString * _Nullable diagnosisRes
@since v1.0.0
*/
- (instancetype)initWithVideoStreamingConfiguration:(PLVideoStreamingConfiguration *)videoStreamingConfiguration
audioStreamingConfiguration:(PLAudioStreamingConfiguration *)audioStreamingConfiguration
stream:(PLStream *)stream
dns:(QNDnsManager *)dns;
- (instancetype)initWithVideoStreamingConfiguration:(nullable PLVideoStreamingConfiguration *)videoStreamingConfiguration
audioStreamingConfiguration:(nullable PLAudioStreamingConfiguration *)audioStreamingConfiguration
stream:(nullable PLStream *)stream
dns:(nullable QNDnsManager *)dns;

/*!
@method destroy
Expand Down
Binary file modified Pod/Library-Universal/PLMediaStreamingKit.framework/Info.plist
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#import <AVFoundation/AVFoundation.h>
#import <Foundation/Foundation.h>

typedef void (^PermissionBlock)(BOOL granted);

NS_ASSUME_NONNULL_BEGIN

/*! Proxy class for AVAudioSession that adds a locking mechanism similar to
Expand Down
Loading

0 comments on commit dfa625c

Please sign in to comment.