Skip to content

Commit a675b9a

Browse files
committed
global settings for Video Configuration
1 parent 10f978a commit a675b9a

18 files changed

Lines changed: 370 additions & 36 deletions

File tree

macOS/APIExample.xcodeproj/project.pbxproj

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@
7171
03B12DA4250E8F7F00E55818 /* AgoraExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 03B12DA3250E8F7F00E55818 /* AgoraExtension.swift */; };
7272
03B321DB24FC0D5E008EBD2C /* AgoraCameraSourceMediaIO.swift in Sources */ = {isa = PBXBuildFile; fileRef = 03B321D724FC0D5D008EBD2C /* AgoraCameraSourceMediaIO.swift */; };
7373
4667B9F286200B077FFDFDE1 /* Pods_APIExampleTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0CA9B97F4DF8A31A030414B3 /* Pods_APIExampleTests.framework */; };
74+
57887A67258856B7006E962A /* Settings.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 57887A69258856B7006E962A /* Settings.storyboard */; };
75+
57887A75258859D8006E962A /* SettingsController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57887A74258859D8006E962A /* SettingsController.swift */; };
76+
57887A83258886E1006E962A /* SettingCells.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57887A82258886E1006E962A /* SettingCells.swift */; };
77+
57887A87258889ED006E962A /* SettingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57887A86258889ED006E962A /* SettingsViewController.swift */; };
7478
596A9F79AF0CD8DC1CA93253 /* Pods_APIExample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6F65EF2B97B89DE4581B426B /* Pods_APIExample.framework */; };
7579
EBDD0209B272C276B21B6270 /* Pods_APIExample_APIExampleUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FC2BAB0AC82140B7CEEA31DA /* Pods_APIExample_APIExampleUITests.framework */; };
7680
/* End PBXBuildFile section */
@@ -203,6 +207,10 @@
203207
0CA9B97F4DF8A31A030414B3 /* Pods_APIExampleTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_APIExampleTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
204208
1784955BB217D1790A452465 /* Pods-APIExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-APIExampleTests.release.xcconfig"; path = "Target Support Files/Pods-APIExampleTests/Pods-APIExampleTests.release.xcconfig"; sourceTree = "<group>"; };
205209
4C8551EF6F12F734D8F7C1F5 /* Pods-APIExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-APIExample.release.xcconfig"; path = "Target Support Files/Pods-APIExample/Pods-APIExample.release.xcconfig"; sourceTree = "<group>"; };
210+
57887A68258856B7006E962A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Settings.storyboard; sourceTree = "<group>"; };
211+
57887A74258859D8006E962A /* SettingsController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsController.swift; sourceTree = "<group>"; };
212+
57887A82258886E1006E962A /* SettingCells.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingCells.swift; sourceTree = "<group>"; };
213+
57887A86258889ED006E962A /* SettingsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SettingsViewController.swift; sourceTree = "<group>"; };
206214
6F65EF2B97B89DE4581B426B /* Pods_APIExample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_APIExample.framework; sourceTree = BUILT_PRODUCTS_DIR; };
207215
84C863718A380DFD36ABF19F /* Pods-APIExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-APIExample.debug.xcconfig"; path = "Target Support Files/Pods-APIExample/Pods-APIExample.debug.xcconfig"; sourceTree = "<group>"; };
208216
B53F41CB5AC550EA43C47363 /* Pods-APIExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-APIExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-APIExampleTests/Pods-APIExampleTests.debug.xcconfig"; sourceTree = "<group>"; };
@@ -501,6 +509,8 @@
501509
03896D3524F8A011008593CD /* Main.storyboard */,
502510
03896D3824F8A011008593CD /* Info.plist */,
503511
03896D3924F8A011008593CD /* APIExample.entitlements */,
512+
57887A69258856B7006E962A /* Settings.storyboard */,
513+
57887A74258859D8006E962A /* SettingsController.swift */,
504514
);
505515
path = APIExample;
506516
sourceTree = "<group>";
@@ -526,6 +536,7 @@
526536
03896D5B24F8D437008593CD /* Commons */ = {
527537
isa = PBXGroup;
528538
children = (
539+
57887A7F25885FC2006E962A /* Settings */,
529540
034C62922528474D00296ECF /* StatisticsInfo.swift */,
530541
034C62862528255F00296ECF /* WindowsCenter.swift */,
531542
034C626325257EA600296ECF /* GlobalSettings.swift */,
@@ -556,6 +567,15 @@
556567
path = ExternalVideo;
557568
sourceTree = "<group>";
558569
};
570+
57887A7F25885FC2006E962A /* Settings */ = {
571+
isa = PBXGroup;
572+
children = (
573+
57887A82258886E1006E962A /* SettingCells.swift */,
574+
57887A86258889ED006E962A /* SettingsViewController.swift */,
575+
);
576+
path = Settings;
577+
sourceTree = "<group>";
578+
};
559579
72510F6AF209B24C1F66A819 /* Pods */ = {
560580
isa = PBXGroup;
561581
children = (
@@ -693,6 +713,7 @@
693713
033A9FDB252EB05A00BC26E1 /* PrecallTest.storyboard in Resources */,
694714
033A9FFA252EB5FD00BC26E1 /* ScreenShare.storyboard in Resources */,
695715
033AA005252EBBEC00BC26E1 /* Localizable.strings in Resources */,
716+
57887A67258856B7006E962A /* Settings.storyboard in Resources */,
696717
033A9FFF252EB60800BC26E1 /* StreamEncryption.storyboard in Resources */,
697718
0301D31D2507C0F300DF3BEA /* MetalVideoView.xib in Resources */,
698719
033A9FB8252EAEF700BC26E1 /* JoinChannelAudio.storyboard in Resources */,
@@ -843,6 +864,7 @@
843864
files = (
844865
0301D3182507B4A800DF3BEA /* AgoraMetalShader.metal in Sources */,
845866
0333E63724FA32000063C5B0 /* VideoView.swift in Sources */,
867+
57887A83258886E1006E962A /* SettingCells.swift in Sources */,
846868
03B321DB24FC0D5E008EBD2C /* AgoraCameraSourceMediaIO.swift in Sources */,
847869
034C628A25282D5D00296ECF /* JoinMultiChannel.swift in Sources */,
848870
034C62A6252ABA5C00296ECF /* VoiceChanger.swift in Sources */,
@@ -863,6 +885,7 @@
863885
033A9F9F252EA86A00BC26E1 /* CustomVideoRender.swift in Sources */,
864886
0336A1CB25034F4700D61B7F /* AudioController.m in Sources */,
865887
034C62672525857200296ECF /* JoinChannelAudio.swift in Sources */,
888+
57887A87258889ED006E962A /* SettingsViewController.swift in Sources */,
866889
034C62932528474D00296ECF /* StatisticsInfo.swift in Sources */,
867890
033A9FA4252EA86A00BC26E1 /* RTMPStreaming.swift in Sources */,
868891
03267E232500C265004A91A6 /* AgoraMediaRawData.m in Sources */,
@@ -875,6 +898,7 @@
875898
033A9FA1252EA86A00BC26E1 /* CustomAudioRender.swift in Sources */,
876899
034C627C2526C43900296ECF /* ScreenShare.swift in Sources */,
877900
034C62712525A35800296ECF /* StreamEncryption.swift in Sources */,
901+
57887A75258859D8006E962A /* SettingsController.swift in Sources */,
878902
036D3A9E24FA3A1000B1D8DC /* LogUtils.swift in Sources */,
879903
033A9EE2252C191000BC26E1 /* PrecallTest.swift in Sources */,
880904
0333E63524FA30310063C5B0 /* BaseViewController.swift in Sources */,
@@ -1066,6 +1090,14 @@
10661090
name = Main.storyboard;
10671091
sourceTree = "<group>";
10681092
};
1093+
57887A69258856B7006E962A /* Settings.storyboard */ = {
1094+
isa = PBXVariantGroup;
1095+
children = (
1096+
57887A68258856B7006E962A /* Base */,
1097+
);
1098+
name = Settings.storyboard;
1099+
sourceTree = "<group>";
1100+
};
10691101
/* End PBXVariantGroup section */
10701102

10711103
/* Begin XCBuildConfiguration section */
@@ -1190,10 +1222,10 @@
11901222
buildSettings = {
11911223
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
11921224
CODE_SIGN_ENTITLEMENTS = APIExample/APIExample.entitlements;
1193-
CODE_SIGN_IDENTITY = "Developer ID Application";
1194-
CODE_SIGN_STYLE = Manual;
1225+
CODE_SIGN_IDENTITY = "Apple Development";
1226+
CODE_SIGN_STYLE = Automatic;
11951227
COMBINE_HIDPI_IMAGES = YES;
1196-
DEVELOPMENT_TEAM = GM72UGLGZW;
1228+
DEVELOPMENT_TEAM = Y695MMFA83;
11971229
ENABLE_HARDENED_RUNTIME = YES;
11981230
FRAMEWORK_SEARCH_PATHS = (
11991231
"$(inherited)",
@@ -1206,7 +1238,7 @@
12061238
);
12071239
PRODUCT_BUNDLE_IDENTIFIER = io.agora.api.example.APIExample;
12081240
PRODUCT_NAME = "$(TARGET_NAME)";
1209-
PROVISIONING_PROFILE_SPECIFIER = apiexamplemac;
1241+
PROVISIONING_PROFILE_SPECIFIER = "";
12101242
SWIFT_OBJC_BRIDGING_HEADER = "APIExample/APIExample-Bridging-Header.h";
12111243
SWIFT_VERSION = 5.0;
12121244
};
@@ -1218,10 +1250,10 @@
12181250
buildSettings = {
12191251
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
12201252
CODE_SIGN_ENTITLEMENTS = APIExample/APIExample.entitlements;
1221-
CODE_SIGN_IDENTITY = "Developer ID Application";
1222-
CODE_SIGN_STYLE = Manual;
1253+
CODE_SIGN_IDENTITY = "Apple Development";
1254+
CODE_SIGN_STYLE = Automatic;
12231255
COMBINE_HIDPI_IMAGES = YES;
1224-
DEVELOPMENT_TEAM = GM72UGLGZW;
1256+
DEVELOPMENT_TEAM = Y695MMFA83;
12251257
ENABLE_HARDENED_RUNTIME = YES;
12261258
FRAMEWORK_SEARCH_PATHS = (
12271259
"$(inherited)",
@@ -1234,7 +1266,7 @@
12341266
);
12351267
PRODUCT_BUNDLE_IDENTIFIER = io.agora.api.example.APIExample;
12361268
PRODUCT_NAME = "$(TARGET_NAME)";
1237-
PROVISIONING_PROFILE_SPECIFIER = apiexamplemac;
1269+
PROVISIONING_PROFILE_SPECIFIER = "";
12381270
SWIFT_OBJC_BRIDGING_HEADER = "APIExample/APIExample-Bridging-Header.h";
12391271
SWIFT_VERSION = 5.0;
12401272
};

macOS/APIExample/Base.lproj/Main.storyboard

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
2+
<document type="com.apple.InterfaceBuilder3.Cocoa.Storyboard.XIB" version="3.0" toolsVersion="17506" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" initialViewController="B8D-0N-5wS">
33
<dependencies>
4-
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="16097.2"/>
4+
<deployment identifier="macosx"/>
5+
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17506"/>
56
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
67
</dependencies>
78
<scenes>
@@ -749,7 +750,7 @@
749750
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
750751
<color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
751752
<tableColumns>
752-
<tableColumn width="315" minWidth="10" maxWidth="3.4028234663852886e+38" id="b03-7M-wbu">
753+
<tableColumn width="277" minWidth="10" maxWidth="3.4028234663852886e+38" id="b03-7M-wbu">
753754
<tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left">
754755
<color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
755756
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
@@ -762,11 +763,11 @@
762763
<tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
763764
<prototypeCellViews>
764765
<tableCellView identifier="menuCell" id="2hx-oV-azK">
765-
<rect key="frame" x="1" y="1" width="315" height="17"/>
766+
<rect key="frame" x="11" y="1" width="286" height="17"/>
766767
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
767768
<subviews>
768769
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Yoo-BB-x79">
769-
<rect key="frame" x="20" y="0.0" width="315" height="17"/>
770+
<rect key="frame" x="20" y="0.0" width="286" height="17"/>
770771
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
771772
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="qG2-7c-SRN">
772773
<font key="font" metaFont="system"/>
@@ -780,11 +781,11 @@
780781
</connections>
781782
</tableCellView>
782783
<tableCellView identifier="headerCell" id="uWY-5d-ieJ">
783-
<rect key="frame" x="1" y="20" width="315" height="17"/>
784+
<rect key="frame" x="11" y="20" width="286" height="17"/>
784785
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
785786
<subviews>
786787
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="QTx-vV-DAq">
787-
<rect key="frame" x="20" y="0.0" width="315" height="14"/>
788+
<rect key="frame" x="20" y="0.0" width="286" height="14"/>
788789
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
789790
<textFieldCell key="cell" lineBreakMode="truncatingTail" sendsActionOnEndEditing="YES" title="Table View Cell" id="Nlt-pS-UAz">
790791
<font key="font" metaFont="systemBold" size="10"/>

0 commit comments

Comments
 (0)