Skip to content

Commit c642719

Browse files
authored
Merge pull request #90 from anhaoxiong/master
v2.3.1 release
2 parents 834c194 + a82def3 commit c642719

File tree

74 files changed

+5016
-177
lines changed

Some content is hidden

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

74 files changed

+5016
-177
lines changed

APIDiffs/api-diffs-2.3.1.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# PLMediaStreamingKit 2.3.0 to 2.3.1 API Differences
2+
3+
## General Headers

Example/PLMediaStreamingKitDemo.xcodeproj/project.pbxproj

+14-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
1414
6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; };
1515
6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; };
16+
767D4D8920561FF300E619D2 /* PLViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 767D4D8820561FF300E619D2 /* PLViewController.m */; };
1617
769750EF1A6331080079423B /* VideoToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 769750EC1A6329DC0079423B /* VideoToolbox.framework */; };
18+
76B2FA6E2052C03600DAF7E8 /* PLMediaStreamingKit-Universal.podspec in Resources */ = {isa = PBXBuildFile; fileRef = 76B2FA6D2052C03600DAF7E8 /* PLMediaStreamingKit-Universal.podspec */; };
1719
B651FF9C1D93DA1F00D1C578 /* qiniu.png in Resources */ = {isa = PBXBuildFile; fileRef = B651FF941D93DA1F00D1C578 /* qiniu.png */; };
1820
B651FF9D1D93DA1F00D1C578 /* TestMusic1.mp3 in Resources */ = {isa = PBXBuildFile; fileRef = B651FF951D93DA1F00D1C578 /* TestMusic1.mp3 */; };
1921
B651FF9E1D93DA1F00D1C578 /* TestMusic2.wav in Resources */ = {isa = PBXBuildFile; fileRef = B651FF961D93DA1F00D1C578 /* TestMusic2.wav */; };
@@ -61,7 +63,10 @@
6163
6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
6264
6003F5AE195388D20070C39A /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
6365
6D38E0519CDFBF6954B8389D /* libPods-PLMediaStreamingKitDemo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-PLMediaStreamingKitDemo.a"; sourceTree = BUILT_PRODUCTS_DIR; };
66+
767D4D8720561FF300E619D2 /* PLViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PLViewController.h; sourceTree = "<group>"; };
67+
767D4D8820561FF300E619D2 /* PLViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PLViewController.m; sourceTree = "<group>"; };
6468
769750EC1A6329DC0079423B /* VideoToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = VideoToolbox.framework; path = System/Library/Frameworks/VideoToolbox.framework; sourceTree = SDKROOT; };
69+
76B2FA6D2052C03600DAF7E8 /* PLMediaStreamingKit-Universal.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "PLMediaStreamingKit-Universal.podspec"; path = "../PLMediaStreamingKit-Universal.podspec"; sourceTree = "<group>"; };
6570
B651FF941D93DA1F00D1C578 /* qiniu.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = qiniu.png; sourceTree = "<group>"; };
6671
B651FF951D93DA1F00D1C578 /* TestMusic1.mp3 */ = {isa = PBXFileReference; lastKnownFileType = audio.mp3; path = TestMusic1.mp3; sourceTree = "<group>"; };
6772
B651FF961D93DA1F00D1C578 /* TestMusic2.wav */ = {isa = PBXFileReference; lastKnownFileType = audio.wav; path = TestMusic2.wav; sourceTree = "<group>"; };
@@ -139,6 +144,7 @@
139144
6003F581195388D10070C39A = {
140145
isa = PBXGroup;
141146
children = (
147+
76B2FA6D2052C03600DAF7E8 /* PLMediaStreamingKit-Universal.podspec */,
142148
B6FC33B51D93C603004EEE29 /* PLMediaStreamingKit.podspec */,
143149
B6FC338B1D93C301004EEE29 /* PLMediaStreamingKitDemo */,
144150
6003F58C195388D20070C39A /* Frameworks */,
@@ -175,6 +181,8 @@
175181
B6FC33BC1D93C970004EEE29 /* PLStreamingKitDemoUtils */,
176182
B6FC33B21D93C470004EEE29 /* PLAppDelegate.h */,
177183
B6FC33B31D93C470004EEE29 /* PLAppDelegate.m */,
184+
767D4D8720561FF300E619D2 /* PLViewController.h */,
185+
767D4D8820561FF300E619D2 /* PLViewController.m */,
178186
B6FC339B1D93C398004EEE29 /* PLMainViewController.h */,
179187
B6FC339C1D93C398004EEE29 /* PLMainViewController.m */,
180188
B6FC339D1D93C398004EEE29 /* PLModelPanelGenerator.h */,
@@ -314,7 +322,7 @@
314322
ORGANIZATIONNAME = 0dayZh;
315323
TargetAttributes = {
316324
6003F589195388D20070C39A = {
317-
DevelopmentTeam = GDFHW66V92;
325+
DevelopmentTeam = W2TP34G2MM;
318326
SystemCapabilities = {
319327
com.apple.BackgroundModes = {
320328
enabled = 1;
@@ -355,6 +363,7 @@
355363
B651FF9E1D93DA1F00D1C578 /* TestMusic2.wav in Resources */,
356364
B6FC33B61D93C603004EEE29 /* PLMediaStreamingKit.podspec in Resources */,
357365
B651FFA31D93DA1F00D1C578 /* xiaoqi2.png in Resources */,
366+
76B2FA6E2052C03600DAF7E8 /* PLMediaStreamingKit-Universal.podspec in Resources */,
358367
B651FF9C1D93DA1F00D1C578 /* qiniu.png in Resources */,
359368
B651FF9D1D93DA1F00D1C578 /* TestMusic1.mp3 in Resources */,
360369
B651FFA11D93DA1F00D1C578 /* TestMusic5.mp3 in Resources */,
@@ -436,7 +445,7 @@
436445
);
437446
name = "[CP] Copy Pods Resources";
438447
outputPaths = (
439-
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}",
448+
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/WeiboSDK.bundle",
440449
);
441450
runOnlyForDeploymentPostprocessing = 0;
442451
shellPath = /bin/sh;
@@ -454,6 +463,7 @@
454463
B6FC33CD1D93C970004EEE29 /* PLAttributeModel.m in Sources */,
455464
B6FC33991D93C301004EEE29 /* main.m in Sources */,
456465
B6FC33AB1D93C398004EEE29 /* PLMainViewController.m in Sources */,
466+
767D4D8920561FF300E619D2 /* PLViewController.m in Sources */,
457467
B6FC33D21D93C970004EEE29 /* PLTitleValueConf.m in Sources */,
458468
B6FC33AE1D93C398004EEE29 /* PLPermissionRequestor.m in Sources */,
459469
B6FC33D01D93C970004EEE29 /* PLMainTabBarController.m in Sources */,
@@ -585,6 +595,7 @@
585595
buildSettings = {
586596
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
587597
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
598+
DEVELOPMENT_TEAM = W2TP34G2MM;
588599
ENABLE_BITCODE = NO;
589600
GCC_PRECOMPILE_PREFIX_HEADER = YES;
590601
GCC_PREFIX_HEADER = "";
@@ -608,6 +619,7 @@
608619
buildSettings = {
609620
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
610621
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
622+
DEVELOPMENT_TEAM = W2TP34G2MM;
611623
ENABLE_BITCODE = NO;
612624
GCC_PRECOMPILE_PREFIX_HEADER = YES;
613625
GCC_PREFIX_HEADER = "";

Example/PLMediaStreamingKitDemo/Images.xcassets/AppIcon.appiconset/Contents.json

+5
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@
8484
"idiom" : "ipad",
8585
"size" : "83.5x83.5",
8686
"scale" : "2x"
87+
},
88+
{
89+
"idiom" : "ios-marketing",
90+
"size" : "1024x1024",
91+
"scale" : "1x"
8792
}
8893
],
8994
"info" : {

Example/PLMediaStreamingKitDemo/PLAppDelegate.m

+2-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import "PLAppDelegate.h"
10-
#import "PLMainViewController.h"
10+
#import "PLViewController.h"
1111
#import <Fabric/Fabric.h>
1212
#import <Crashlytics/Crashlytics.h>
1313
#import <PLMediaStreamingKit/PLMediaStreamingKit.h>
@@ -26,11 +26,9 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
2626
[PLStreamingEnv initEnv];
2727

2828
NSLog(@"version is %@", [PLMediaStreamingSession versionInfo]);
29-
30-
PLMainViewController *mainVC = [[PLMainViewController alloc] init];
3129

3230
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
33-
self.window.rootViewController = mainVC;
31+
self.window.rootViewController = [[UINavigationController alloc] initWithRootViewController:[[PLViewController alloc]init]];
3432
self.window.backgroundColor = [UIColor whiteColor];
3533
self.window.rootViewController.view.frame = self.window.bounds;
3634
self.window.rootViewController.view.autoresizingMask = UIViewAutoresizingFlexibleWidth |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
//
2+
// PLViewController.h
3+
// PLMediaStreamingKitDemo
4+
//
5+
// Created by hxiongan on 2018/3/12.
6+
// Copyright © 2018年 0dayZh. All rights reserved.
7+
//
8+
9+
#import <UIKit/UIKit.h>
10+
11+
@interface PLViewController : UITableViewController
12+
13+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
//
2+
// PLViewController.m
3+
// PLMediaStreamingKitDemo
4+
//
5+
// Created by hxiongan on 2018/3/12.
6+
// Copyright © 2018年 0dayZh. All rights reserved.
7+
//
8+
9+
#import "PLViewController.h"
10+
#import "PLMainViewController.h"
11+
12+
@interface PLViewController ()
13+
14+
@end
15+
16+
@implementation PLViewController
17+
18+
- (void)viewDidLoad {
19+
[super viewDidLoad];
20+
21+
// Uncomment the following line to preserve selection between presentations.
22+
// self.clearsSelectionOnViewWillAppear = NO;
23+
24+
// Uncomment the following line to display an Edit button in the navigation bar for this view controller.
25+
// self.navigationItem.rightBarButtonItem = self.editButtonItem;
26+
}
27+
28+
- (void)didReceiveMemoryWarning {
29+
[super didReceiveMemoryWarning];
30+
// Dispose of any resources that can be recreated.
31+
}
32+
33+
#pragma mark - Table view data source
34+
35+
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
36+
return 1;
37+
}
38+
39+
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
40+
return 1;
41+
}
42+
43+
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
44+
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"reuseIdentifier"];
45+
if (!cell) {
46+
cell = [[UITableViewCell alloc] initWithStyle:(UITableViewCellStyleDefault) reuseIdentifier:@"reuseIdentifier"];
47+
cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
48+
}
49+
cell.textLabel.text = @"进入推流页面";
50+
return cell;
51+
}
52+
53+
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
54+
PLMainViewController *mainVC = [[PLMainViewController alloc] init];
55+
[self.navigationController pushViewController:mainVC animated:YES];
56+
}
57+
58+
@end

Example/PLMediaStreamingKitDemo/Supporting Files/PLMediaStreamingKitDemo-Info.plist

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<key>CFBundlePackageType</key>
1818
<string>APPL</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>2.3.0</string>
20+
<string>2.3.1</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>
24-
<string>2.3.0</string>
24+
<string>2.3.1</string>
2525
<key>Fabric</key>
2626
<dict>
2727
<key>APIKey</key>

Example/Podfile.lock

+10-8
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ PODS:
1414
- BlocksKit/UIKit (2.2.5):
1515
- BlocksKit/Core
1616
- BlocksKit/DynamicDelegate
17-
- Crashlytics (3.9.3):
18-
- Fabric (~> 1.7.2)
19-
- Fabric (1.7.2)
17+
- Crashlytics (3.10.1):
18+
- Fabric (~> 1.7.5)
19+
- Fabric (1.7.5)
2020
- Masonry (1.1.0)
21-
- PLMediaStreamingKit (2.3.0)
21+
- PLMediaStreamingKit (2.3.1):
22+
- PLMediaStreamingKit/iphoneos (= 2.3.1)
23+
- PLMediaStreamingKit/iphoneos (2.3.1)
2224
- WeiboSDK (3.1.3)
2325

2426
DEPENDENCIES:
@@ -35,12 +37,12 @@ EXTERNAL SOURCES:
3537

3638
SPEC CHECKSUMS:
3739
BlocksKit: 7f422b971407001178d181a43b99014ea2591fe6
38-
Crashlytics: dbb07d01876c171c5ccbdf7826410380189e452c
39-
Fabric: 9cd6a848efcf1b8b07497e0b6a2e7d336353ba15
40+
Crashlytics: aee1a064cbbf99b32efa3f056a5f458d846bc8ff
41+
Fabric: ae7146a5f505ea370a1e44820b4b1dc8890e2890
4042
Masonry: 678fab65091a9290e40e2832a55e7ab731aad201
41-
PLMediaStreamingKit: 24043a10cc4b0fc98817307c68a8471da90a3f6e
43+
PLMediaStreamingKit: 811e8428bc5dfa516a85dbd4b6d76d0d39a090da
4244
WeiboSDK: acb067053668102cf07d01aa7604350162c2e466
4345

4446
PODFILE CHECKSUM: 6f679f7dc7004741cffdbbe7fd79b0f13ed22c4a
4547

46-
COCOAPODS: 1.3.1
48+
COCOAPODS: 1.4.0
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Example/Pods/Crashlytics/submit

0 Bytes
Binary file not shown.
25.8 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

Example/Pods/Fabric/upload-symbols

2.15 MB
Binary file not shown.

Example/Pods/Fabric/uploadDSYM

0 Bytes
Binary file not shown.

Example/Pods/Local Podspecs/PLMediaStreamingKit.podspec.json

+10-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

+10-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)