Skip to content

Commit

Permalink
1.Update Demo and SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ianyanzhang committed Jun 7, 2024
1 parent 0f3937c commit 2e20f9d
Show file tree
Hide file tree
Showing 1,789 changed files with 61,173 additions and 5,299 deletions.
788 changes: 788 additions & 0 deletions Demo/PlayerApp/PlayerApp.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1420"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<PreActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Script"
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;">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "09947C252B343C0300BBFE84"
BuildableName = "Player.app"
BlueprintName = "Player"
ReferencedContainer = "container:PlayerApp.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PreActions>
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "09947C252B343C0300BBFE84"
BuildableName = "Player.app"
BlueprintName = "Player"
ReferencedContainer = "container:PlayerApp.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "09947C252B343C0300BBFE84"
BuildableName = "Player.app"
BlueprintName = "Player"
ReferencedContainer = "container:PlayerApp.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "09947C252B343C0300BBFE84"
BuildableName = "Player.app"
BlueprintName = "Player"
ReferencedContainer = "container:PlayerApp.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1420"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<PreActions>
<ExecutionAction
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
<ActionContent
title = "Run Script"
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;">
<EnvironmentBuildable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "09947C482B34421300BBFE84"
BuildableName = "Player_Premium.app"
BlueprintName = "Player_Premium"
ReferencedContainer = "container:PlayerApp.xcodeproj">
</BuildableReference>
</EnvironmentBuildable>
</ActionContent>
</ExecutionAction>
</PreActions>
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "09947C482B34421300BBFE84"
BuildableName = "Player_Premium.app"
BlueprintName = "Player_Premium"
ReferencedContainer = "container:PlayerApp.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "09947C482B34421300BBFE84"
BuildableName = "Player_Premium.app"
BlueprintName = "Player_Premium"
ReferencedContainer = "container:PlayerApp.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "09947C482B34421300BBFE84"
BuildableName = "Player_Premium.app"
BlueprintName = "Player_Premium"
ReferencedContainer = "container:PlayerApp.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

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

11 changes: 11 additions & 0 deletions Demo/PlayerApp/PlayerApp/AppDelegate.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Copyright © 2023 Tencent. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : UIResponder <UIApplicationDelegate>

@property(nonatomic, strong) UIWindow *window;
@property(nonatomic, assign) UIInterfaceOrientationMask interfaceOrientationMask;
@end

28 changes: 28 additions & 0 deletions Demo/PlayerApp/PlayerApp/AppDelegate.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// Copyright © 2023 Tencent. All rights reserved.
//

#import "AppDelegate.h"
@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
Class class = NSClassFromString(@"MainViewController");
UIViewController *mianVC = [[class alloc] init];
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:mianVC];
nav.navigationBar.barTintColor = [UIColor colorWithRed:5.0 / 255.0 green:30.0 / 255.0 blue:80.0 / 255.0 alpha:1];
nav.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName: [UIColor whiteColor]};
self.window.rootViewController = nav;
[self.window makeKeyAndVisible];
return YES;
}
- (UIInterfaceOrientationMask)application:(UIApplication *)application
supportedInterfaceOrientationsForWindow:(UIWindow *)window {
return self.interfaceOrientationMask ?: UIInterfaceOrientationMaskPortrait;
}


@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"colors" : [
{
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Loading

0 comments on commit 2e20f9d

Please sign in to comment.