Commit 2d274d007385d1c49256b06408b9f552f2b2e86c
1 parent
e22133c0
no message
Showing
5 changed files
with
14 additions
and
13 deletions
CNLivePlayerSDKTest/CNLivePlayerSDK.framework/CNLivePlayerSDK
No preview for this file type
CNLivePlayerSDKTest/CNLivePlayerSDK.framework/Info.plist
No preview for this file type
CNLivePlayerSDKTest/CNLivePlayerSDKTest.xcodeproj/project.pbxproj
| @@ -7,8 +7,8 @@ | @@ -7,8 +7,8 @@ | ||
| 7 | objects = { | 7 | objects = { |
| 8 | 8 | ||
| 9 | /* Begin PBXBuildFile section */ | 9 | /* Begin PBXBuildFile section */ |
| 10 | - 326B73A61E0397F800F21637 /* CNLivePlayerSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 326B73A41E0397F000F21637 /* CNLivePlayerSDK.framework */; }; | ||
| 11 | - 326B73A71E0397F800F21637 /* CNLivePlayerSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 326B73A41E0397F000F21637 /* CNLivePlayerSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; | 10 | + 323609351E5436A200788D74 /* CNLivePlayerSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 323609341E5436A200788D74 /* CNLivePlayerSDK.framework */; }; |
| 11 | + 323609371E5436A600788D74 /* CNLivePlayerSDK.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 323609341E5436A200788D74 /* CNLivePlayerSDK.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; | ||
| 12 | 32B4C85A1D9B66A400925AF0 /* CNLiveViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 32B4C8591D9B66A400925AF0 /* CNLiveViewController.m */; }; | 12 | 32B4C85A1D9B66A400925AF0 /* CNLiveViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 32B4C8591D9B66A400925AF0 /* CNLiveViewController.m */; }; |
| 13 | 32B4C85D1D9B66E500925AF0 /* StreamerDetailViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 32B4C85C1D9B66E500925AF0 /* StreamerDetailViewController.m */; }; | 13 | 32B4C85D1D9B66E500925AF0 /* StreamerDetailViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 32B4C85C1D9B66E500925AF0 /* StreamerDetailViewController.m */; }; |
| 14 | 32E6CA2B1D5B0AF400B58EBC /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 32E6CA2A1D5B0AF400B58EBC /* main.m */; }; | 14 | 32E6CA2B1D5B0AF400B58EBC /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 32E6CA2A1D5B0AF400B58EBC /* main.m */; }; |
| @@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
| 30 | dstPath = ""; | 30 | dstPath = ""; |
| 31 | dstSubfolderSpec = 10; | 31 | dstSubfolderSpec = 10; |
| 32 | files = ( | 32 | files = ( |
| 33 | - 326B73A71E0397F800F21637 /* CNLivePlayerSDK.framework in Embed Frameworks */, | 33 | + 323609371E5436A600788D74 /* CNLivePlayerSDK.framework in Embed Frameworks */, |
| 34 | ); | 34 | ); |
| 35 | name = "Embed Frameworks"; | 35 | name = "Embed Frameworks"; |
| 36 | runOnlyForDeploymentPostprocessing = 0; | 36 | runOnlyForDeploymentPostprocessing = 0; |
| @@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
| 38 | /* End PBXCopyFilesBuildPhase section */ | 38 | /* End PBXCopyFilesBuildPhase section */ |
| 39 | 39 | ||
| 40 | /* Begin PBXFileReference section */ | 40 | /* Begin PBXFileReference section */ |
| 41 | - 326B73A41E0397F000F21637 /* CNLivePlayerSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = CNLivePlayerSDK.framework; sourceTree = "<group>"; }; | 41 | + 323609341E5436A200788D74 /* CNLivePlayerSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = CNLivePlayerSDK.framework; sourceTree = "<group>"; }; |
| 42 | 32B4C8581D9B66A400925AF0 /* CNLiveViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CNLiveViewController.h; sourceTree = "<group>"; }; | 42 | 32B4C8581D9B66A400925AF0 /* CNLiveViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CNLiveViewController.h; sourceTree = "<group>"; }; |
| 43 | 32B4C8591D9B66A400925AF0 /* CNLiveViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CNLiveViewController.m; sourceTree = "<group>"; }; | 43 | 32B4C8591D9B66A400925AF0 /* CNLiveViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CNLiveViewController.m; sourceTree = "<group>"; }; |
| 44 | 32B4C85B1D9B66E500925AF0 /* StreamerDetailViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StreamerDetailViewController.h; sourceTree = "<group>"; }; | 44 | 32B4C85B1D9B66E500925AF0 /* StreamerDetailViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StreamerDetailViewController.h; sourceTree = "<group>"; }; |
| @@ -68,7 +68,7 @@ | @@ -68,7 +68,7 @@ | ||
| 68 | isa = PBXFrameworksBuildPhase; | 68 | isa = PBXFrameworksBuildPhase; |
| 69 | buildActionMask = 2147483647; | 69 | buildActionMask = 2147483647; |
| 70 | files = ( | 70 | files = ( |
| 71 | - 326B73A61E0397F800F21637 /* CNLivePlayerSDK.framework in Frameworks */, | 71 | + 323609351E5436A200788D74 /* CNLivePlayerSDK.framework in Frameworks */, |
| 72 | ); | 72 | ); |
| 73 | runOnlyForDeploymentPostprocessing = 0; | 73 | runOnlyForDeploymentPostprocessing = 0; |
| 74 | }; | 74 | }; |
| @@ -78,7 +78,7 @@ | @@ -78,7 +78,7 @@ | ||
| 78 | 32E6CA1D1D5B0AF400B58EBC = { | 78 | 32E6CA1D1D5B0AF400B58EBC = { |
| 79 | isa = PBXGroup; | 79 | isa = PBXGroup; |
| 80 | children = ( | 80 | children = ( |
| 81 | - 326B73A41E0397F000F21637 /* CNLivePlayerSDK.framework */, | 81 | + 323609341E5436A200788D74 /* CNLivePlayerSDK.framework */, |
| 82 | 32E6CA281D5B0AF400B58EBC /* CNLivePlayerSDKTest */, | 82 | 32E6CA281D5B0AF400B58EBC /* CNLivePlayerSDKTest */, |
| 83 | 32E6CA271D5B0AF400B58EBC /* Products */, | 83 | 32E6CA271D5B0AF400B58EBC /* Products */, |
| 84 | ); | 84 | ); |
CNLivePlayerSDKTest/CNLivePlayerSDKTest/Base.lproj/Main.storyboard
| 1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11201" systemVersion="16B2555" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="EpT-wO-Zba"> | 2 | +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="EpT-wO-Zba"> |
| 3 | + <device id="retina4_7" orientation="portrait"> | ||
| 4 | + <adaptation id="fullscreen"/> | ||
| 5 | + </device> | ||
| 3 | <dependencies> | 6 | <dependencies> |
| 4 | <deployment identifier="iOS"/> | 7 | <deployment identifier="iOS"/> |
| 5 | - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11161"/> | 8 | + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/> |
| 6 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | 9 | <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> |
| 7 | </dependencies> | 10 | </dependencies> |
| 8 | <scenes> | 11 | <scenes> |
| 9 | - <!--View Controller--> | 12 | + <!--直播云 推流和播放SDK Demo--> |
| 10 | <scene sceneID="tne-QT-ifu"> | 13 | <scene sceneID="tne-QT-ifu"> |
| 11 | <objects> | 14 | <objects> |
| 12 | <viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController"> | 15 | <viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController"> |
| @@ -15,11 +18,11 @@ | @@ -15,11 +18,11 @@ | ||
| 15 | <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/> | 18 | <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/> |
| 16 | </layoutGuides> | 19 | </layoutGuides> |
| 17 | <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC"> | 20 | <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC"> |
| 18 | - <rect key="frame" x="0.0" y="0.0" width="414" height="736"/> | 21 | + <rect key="frame" x="0.0" y="0.0" width="375" height="667"/> |
| 19 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 22 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
| 20 | <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | 23 | <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
| 21 | </view> | 24 | </view> |
| 22 | - <navigationItem key="navigationItem" id="MFb-0Q-P6h"/> | 25 | + <navigationItem key="navigationItem" title="直播云 推流和播放SDK Demo" id="MFb-0Q-P6h"/> |
| 23 | </viewController> | 26 | </viewController> |
| 24 | <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> | 27 | <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/> |
| 25 | </objects> | 28 | </objects> |
CNLivePlayerSDKTest/CNLivePlayerSDKTest/ViewController.m
| @@ -20,8 +20,6 @@ | @@ -20,8 +20,6 @@ | ||
| 20 | - (void)viewDidLoad { | 20 | - (void)viewDidLoad { |
| 21 | [super viewDidLoad]; | 21 | [super viewDidLoad]; |
| 22 | 22 | ||
| 23 | - self.title = @"直播云 推流和播放SDK Demo"; | ||
| 24 | - | ||
| 25 | UIButton *playerBtn = [UIButton buttonWithType:UIButtonTypeCustom]; | 23 | UIButton *playerBtn = [UIButton buttonWithType:UIButtonTypeCustom]; |
| 26 | playerBtn.frame = CGRectMake((CGRectGetWidth(self.view.frame)-150)/2, 100, 150, 50); | 24 | playerBtn.frame = CGRectMake((CGRectGetWidth(self.view.frame)-150)/2, 100, 150, 50); |
| 27 | [playerBtn setTitle:@"播放" forState:UIControlStateNormal]; | 25 | [playerBtn setTitle:@"播放" forState:UIControlStateNormal]; |