Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2e20f9d

Browse files
author
ianyanzhang
committed
1.Update Demo and SDK
1 parent 0f3937c commit 2e20f9d

File tree

1,789 files changed

+61173
-5299
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,789 files changed

+61173
-5299
lines changed

Demo/PlayerApp/PlayerApp.xcodeproj/project.pbxproj

Lines changed: 788 additions & 0 deletions
Large diffs are not rendered by default.
File renamed without changes.
File renamed without changes.
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1420"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<PreActions>
9+
<ExecutionAction
10+
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
11+
<ActionContent
12+
title = "Run Script"
13+
scriptText = "TARGET=&quot;Player&quot;&#10;echo &quot;Set config..&quot;&#10;echo &quot;Set framwork to TXLiteAVSDK_${TARGET}&quot;&#10;sed -i &quot;&quot; -E &quot;s/TXLiteAVSDK_NAME = .*/TXLiteAVSDK_NAME = TXLiteAVSDK_${TARGET}/&quot; ${PROJECT_DIR}/../../LiteAVConfig.xcconfig&#10;pushd ${PROJECT_DIR}/../../&#10;git update-index --assume-unchanged LiteAVConfig.xcconfig&#10;popd&#10;echo &quot;Finish set config&quot;&#10;">
14+
<EnvironmentBuildable>
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "09947C252B343C0300BBFE84"
18+
BuildableName = "Player.app"
19+
BlueprintName = "Player"
20+
ReferencedContainer = "container:PlayerApp.xcodeproj">
21+
</BuildableReference>
22+
</EnvironmentBuildable>
23+
</ActionContent>
24+
</ExecutionAction>
25+
</PreActions>
26+
<BuildActionEntries>
27+
<BuildActionEntry
28+
buildForTesting = "YES"
29+
buildForRunning = "YES"
30+
buildForProfiling = "YES"
31+
buildForArchiving = "YES"
32+
buildForAnalyzing = "YES">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "09947C252B343C0300BBFE84"
36+
BuildableName = "Player.app"
37+
BlueprintName = "Player"
38+
ReferencedContainer = "container:PlayerApp.xcodeproj">
39+
</BuildableReference>
40+
</BuildActionEntry>
41+
</BuildActionEntries>
42+
</BuildAction>
43+
<TestAction
44+
buildConfiguration = "Debug"
45+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
46+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47+
shouldUseLaunchSchemeArgsEnv = "YES">
48+
<Testables>
49+
</Testables>
50+
</TestAction>
51+
<LaunchAction
52+
buildConfiguration = "Debug"
53+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
54+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
55+
launchStyle = "0"
56+
useCustomWorkingDirectory = "NO"
57+
ignoresPersistentStateOnLaunch = "NO"
58+
debugDocumentVersioning = "YES"
59+
debugServiceExtension = "internal"
60+
allowLocationSimulation = "YES">
61+
<BuildableProductRunnable
62+
runnableDebuggingMode = "0">
63+
<BuildableReference
64+
BuildableIdentifier = "primary"
65+
BlueprintIdentifier = "09947C252B343C0300BBFE84"
66+
BuildableName = "Player.app"
67+
BlueprintName = "Player"
68+
ReferencedContainer = "container:PlayerApp.xcodeproj">
69+
</BuildableReference>
70+
</BuildableProductRunnable>
71+
</LaunchAction>
72+
<ProfileAction
73+
buildConfiguration = "Release"
74+
shouldUseLaunchSchemeArgsEnv = "YES"
75+
savedToolIdentifier = ""
76+
useCustomWorkingDirectory = "NO"
77+
debugDocumentVersioning = "YES">
78+
<BuildableProductRunnable
79+
runnableDebuggingMode = "0">
80+
<BuildableReference
81+
BuildableIdentifier = "primary"
82+
BlueprintIdentifier = "09947C252B343C0300BBFE84"
83+
BuildableName = "Player.app"
84+
BlueprintName = "Player"
85+
ReferencedContainer = "container:PlayerApp.xcodeproj">
86+
</BuildableReference>
87+
</BuildableProductRunnable>
88+
</ProfileAction>
89+
<AnalyzeAction
90+
buildConfiguration = "Debug">
91+
</AnalyzeAction>
92+
<ArchiveAction
93+
buildConfiguration = "Release"
94+
revealArchiveInOrganizer = "YES">
95+
</ArchiveAction>
96+
</Scheme>
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1420"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES">
8+
<PreActions>
9+
<ExecutionAction
10+
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
11+
<ActionContent
12+
title = "Run Script"
13+
scriptText = "TARGET=&quot;Player_Premium&quot;&#10;echo &quot;Set config..&quot;&#10;echo &quot;Set framwork to TXLiteAVSDK_${TARGET}&quot;&#10;sed -i &quot;&quot; -E &quot;s/TXLiteAVSDK_NAME = .*/TXLiteAVSDK_NAME = TXLiteAVSDK_${TARGET}/&quot; ${PROJECT_DIR}/../../LiteAVConfig.xcconfig&#10;pushd ${PROJECT_DIR}/../../&#10;git update-index --assume-unchanged LiteAVConfig.xcconfig&#10;popd&#10;echo &quot;Finish set config&quot;&#10;">
14+
<EnvironmentBuildable>
15+
<BuildableReference
16+
BuildableIdentifier = "primary"
17+
BlueprintIdentifier = "09947C482B34421300BBFE84"
18+
BuildableName = "Player_Premium.app"
19+
BlueprintName = "Player_Premium"
20+
ReferencedContainer = "container:PlayerApp.xcodeproj">
21+
</BuildableReference>
22+
</EnvironmentBuildable>
23+
</ActionContent>
24+
</ExecutionAction>
25+
</PreActions>
26+
<BuildActionEntries>
27+
<BuildActionEntry
28+
buildForTesting = "YES"
29+
buildForRunning = "YES"
30+
buildForProfiling = "YES"
31+
buildForArchiving = "YES"
32+
buildForAnalyzing = "YES">
33+
<BuildableReference
34+
BuildableIdentifier = "primary"
35+
BlueprintIdentifier = "09947C482B34421300BBFE84"
36+
BuildableName = "Player_Premium.app"
37+
BlueprintName = "Player_Premium"
38+
ReferencedContainer = "container:PlayerApp.xcodeproj">
39+
</BuildableReference>
40+
</BuildActionEntry>
41+
</BuildActionEntries>
42+
</BuildAction>
43+
<TestAction
44+
buildConfiguration = "Debug"
45+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
46+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47+
shouldUseLaunchSchemeArgsEnv = "YES">
48+
<Testables>
49+
</Testables>
50+
</TestAction>
51+
<LaunchAction
52+
buildConfiguration = "Debug"
53+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
54+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
55+
launchStyle = "0"
56+
useCustomWorkingDirectory = "NO"
57+
ignoresPersistentStateOnLaunch = "NO"
58+
debugDocumentVersioning = "YES"
59+
debugServiceExtension = "internal"
60+
allowLocationSimulation = "YES">
61+
<BuildableProductRunnable
62+
runnableDebuggingMode = "0">
63+
<BuildableReference
64+
BuildableIdentifier = "primary"
65+
BlueprintIdentifier = "09947C482B34421300BBFE84"
66+
BuildableName = "Player_Premium.app"
67+
BlueprintName = "Player_Premium"
68+
ReferencedContainer = "container:PlayerApp.xcodeproj">
69+
</BuildableReference>
70+
</BuildableProductRunnable>
71+
</LaunchAction>
72+
<ProfileAction
73+
buildConfiguration = "Release"
74+
shouldUseLaunchSchemeArgsEnv = "YES"
75+
savedToolIdentifier = ""
76+
useCustomWorkingDirectory = "NO"
77+
debugDocumentVersioning = "YES">
78+
<BuildableProductRunnable
79+
runnableDebuggingMode = "0">
80+
<BuildableReference
81+
BuildableIdentifier = "primary"
82+
BlueprintIdentifier = "09947C482B34421300BBFE84"
83+
BuildableName = "Player_Premium.app"
84+
BlueprintName = "Player_Premium"
85+
ReferencedContainer = "container:PlayerApp.xcodeproj">
86+
</BuildableReference>
87+
</BuildableProductRunnable>
88+
</ProfileAction>
89+
<AnalyzeAction
90+
buildConfiguration = "Debug">
91+
</AnalyzeAction>
92+
<ArchiveAction
93+
buildConfiguration = "Release"
94+
revealArchiveInOrganizer = "YES">
95+
</ArchiveAction>
96+
</Scheme>

Demo/TXLiteAVDemo.xcworkspace/contents.xcworkspacedata renamed to Demo/PlayerApp/PlayerApp.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Copyright © 2023 Tencent. All rights reserved.
2+
//
3+
4+
#import <UIKit/UIKit.h>
5+
6+
@interface AppDelegate : UIResponder <UIApplicationDelegate>
7+
8+
@property(nonatomic, strong) UIWindow *window;
9+
@property(nonatomic, assign) UIInterfaceOrientationMask interfaceOrientationMask;
10+
@end
11+
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Copyright © 2023 Tencent. All rights reserved.
2+
//
3+
4+
#import "AppDelegate.h"
5+
@interface AppDelegate ()
6+
7+
@end
8+
9+
@implementation AppDelegate
10+
11+
12+
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
13+
Class class = NSClassFromString(@"MainViewController");
14+
UIViewController *mianVC = [[class alloc] init];
15+
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:mianVC];
16+
nav.navigationBar.barTintColor = [UIColor colorWithRed:5.0 / 255.0 green:30.0 / 255.0 blue:80.0 / 255.0 alpha:1];
17+
nav.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName: [UIColor whiteColor]};
18+
self.window.rootViewController = nav;
19+
[self.window makeKeyAndVisible];
20+
return YES;
21+
}
22+
- (UIInterfaceOrientationMask)application:(UIApplication *)application
23+
supportedInterfaceOrientationsForWindow:(UIWindow *)window {
24+
return self.interfaceOrientationMask ?: UIInterfaceOrientationMaskPortrait;
25+
}
26+
27+
28+
@end
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"colors" : [
3+
{
4+
"idiom" : "universal"
5+
}
6+
],
7+
"info" : {
8+
"author" : "xcode",
9+
"version" : 1
10+
}
11+
}

0 commit comments

Comments
 (0)