Skip to content

Commit 4b78de1

Browse files
author
Arlin
committed
[iOS] Add ContentInspect base v3.8.202
1 parent 9711bd1 commit 4b78de1

6 files changed

Lines changed: 297 additions & 2 deletions

File tree

iOS/APIExample.xcodeproj/project.pbxproj

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,13 @@
9292
57FE7C4426B2D0B3002D9043 /* ScreenShare+Socket.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 57FE7C4026B2D0B3002D9043 /* ScreenShare+Socket.storyboard */; };
9393
57FE7C4526B2D0B3002D9043 /* ScreenShare+Socket.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57FE7C4226B2D0B3002D9043 /* ScreenShare+Socket.swift */; };
9494
57FE7C4B26B2D103002D9043 /* CircularBuffer.c in Sources */ = {isa = PBXBuildFile; fileRef = 57FE7C4726B2D103002D9043 /* CircularBuffer.c */; };
95+
670936FD282DFE1600BC3954 /* ContentInspect.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 670936FF282DFE1600BC3954 /* ContentInspect.storyboard */; };
9596
6709B23B2806B0EA000BCC58 /* RawAudioData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6709B23A2806B0EA000BCC58 /* RawAudioData.swift */; };
9697
6709B23C2806BB4A000BCC58 /* RawAudioData.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6709B23E2806BB4A000BCC58 /* RawAudioData.storyboard */; };
9798
671BD6B827E1DB2D0076D5E1 /* CustomAudioRender.strings in Resources */ = {isa = PBXBuildFile; fileRef = 671BD6B327E1DB2D0076D5E1 /* CustomAudioRender.strings */; };
9899
671BD6B927E1DB2D0076D5E1 /* CustomAudioRender.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 671BD6B527E1DB2D0076D5E1 /* CustomAudioRender.storyboard */; };
99100
671BD6BA27E1DB2D0076D5E1 /* CustomAudioRender.swift in Sources */ = {isa = PBXBuildFile; fileRef = 671BD6B727E1DB2D0076D5E1 /* CustomAudioRender.swift */; };
101+
67450169282D5D8B00E79F2F /* ContentInspect.swift in Sources */ = {isa = PBXBuildFile; fileRef = 67450168282D5D8B00E79F2F /* ContentInspect.swift */; };
100102
67B8C7B028056B7600195106 /* RawVideoData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 67B8C7AE28056B7600195106 /* RawVideoData.swift */; };
101103
67B8C7B52805757200195106 /* MediaUtils.m in Sources */ = {isa = PBXBuildFile; fileRef = 67B8C7B42805757200195106 /* MediaUtils.m */; };
102104
67B8C7B628057D1500195106 /* RawVideoData.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 67B8C7B828057D1500195106 /* RawVideoData.storyboard */; };
@@ -320,12 +322,15 @@
320322
57FE7C4D26B2D1A4002D9043 /* NetworkExtension.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = NetworkExtension.framework; path = System/Library/Frameworks/NetworkExtension.framework; sourceTree = SDKROOT; };
321323
5A45F3A50A20714335E46364 /* Pods_Agora_ScreenShare_Extension_Socket_.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Agora_ScreenShare_Extension_Socket_.framework; sourceTree = BUILT_PRODUCTS_DIR; };
322324
5B3A20457BD332886F0CC52F /* Pods-SimpleAudioFilter.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleAudioFilter.debug.xcconfig"; path = "Target Support Files/Pods-SimpleAudioFilter/Pods-SimpleAudioFilter.debug.xcconfig"; sourceTree = "<group>"; };
325+
670936FE282DFE1600BC3954 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/ContentInspect.storyboard; sourceTree = "<group>"; };
326+
67093701282DFE1B00BC3954 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/ContentInspect.strings"; sourceTree = "<group>"; };
323327
6709B23A2806B0EA000BCC58 /* RawAudioData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RawAudioData.swift; sourceTree = "<group>"; };
324328
6709B23D2806BB4A000BCC58 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/RawAudioData.storyboard; sourceTree = "<group>"; };
325329
6709B2402806BB4D000BCC58 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/RawAudioData.strings"; sourceTree = "<group>"; };
326330
671BD6B427E1DB2D0076D5E1 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/CustomAudioRender.strings"; sourceTree = "<group>"; };
327331
671BD6B627E1DB2D0076D5E1 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/CustomAudioRender.storyboard; sourceTree = "<group>"; };
328332
671BD6B727E1DB2D0076D5E1 /* CustomAudioRender.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CustomAudioRender.swift; sourceTree = "<group>"; };
333+
67450168282D5D8B00E79F2F /* ContentInspect.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentInspect.swift; sourceTree = "<group>"; };
329334
67B8C7AE28056B7600195106 /* RawVideoData.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RawVideoData.swift; sourceTree = "<group>"; };
330335
67B8C7B32805757200195106 /* MediaUtils.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MediaUtils.h; sourceTree = "<group>"; };
331336
67B8C7B42805757200195106 /* MediaUtils.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MediaUtils.m; sourceTree = "<group>"; };
@@ -804,6 +809,15 @@
804809
path = CustomAudioRender;
805810
sourceTree = "<group>";
806811
};
812+
67450167282D5C7A00E79F2F /* ContentInspect */ = {
813+
isa = PBXGroup;
814+
children = (
815+
67450168282D5D8B00E79F2F /* ContentInspect.swift */,
816+
670936FF282DFE1600BC3954 /* ContentInspect.storyboard */,
817+
);
818+
path = ContentInspect;
819+
sourceTree = "<group>";
820+
};
807821
67B8C7AD28056B2600195106 /* RawVideoData */ = {
808822
isa = PBXGroup;
809823
children = (
@@ -940,6 +954,7 @@
940954
036CBA372519181400D74FAD /* StreamEncryption */,
941955
0339BE65251DE88D007D4FDD /* PrecallTest */,
942956
67CB2F0927EB312200CB19D2 /* SpatialAudio */,
957+
67450167282D5C7A00E79F2F /* ContentInspect */,
943958
);
944959
path = Advanced;
945960
sourceTree = "<group>";
@@ -1118,6 +1133,7 @@
11181133
8BC751D6273E502700552265 /* LiveStreaming.storyboard in Resources */,
11191134
03B12DAC251127DC00E55818 /* VideoViewMetal.xib in Resources */,
11201135
033A9F89252D8B6C00BC26E1 /* PrecallTest.storyboard in Resources */,
1136+
670936FD282DFE1600BC3954 /* ContentInspect.storyboard in Resources */,
11211137
033A9F61252D8B0A00BC26E1 /* VideoMetadata.storyboard in Resources */,
11221138
5744CE0A25BA99FF0099AB66 /* VideoChat.storyboard in Resources */,
11231139
033A9F3F252D89BC00BC26E1 /* RTMPStreaming.storyboard in Resources */,
@@ -1313,6 +1329,7 @@
13131329
8BE7ABC4279E065000DFBCEF /* FusionCDN.swift in Sources */,
13141330
57FE7C4B26B2D103002D9043 /* CircularBuffer.c in Sources */,
13151331
03DF1D9124CFC29700DF7151 /* UIColor+CSRGB.m in Sources */,
1332+
67450169282D5D8B00E79F2F /* ContentInspect.swift in Sources */,
13161333
67B8C7B52805757200195106 /* MediaUtils.m in Sources */,
13171334
03D13C0124488F1F00B599B3 /* KeyCenter.swift in Sources */,
13181335
03BEED08251C35E7005E78F4 /* AudioMixing.swift in Sources */,
@@ -1561,6 +1578,15 @@
15611578
name = "ScreenShare+Socket.storyboard";
15621579
sourceTree = "<group>";
15631580
};
1581+
670936FF282DFE1600BC3954 /* ContentInspect.storyboard */ = {
1582+
isa = PBXVariantGroup;
1583+
children = (
1584+
670936FE282DFE1600BC3954 /* Base */,
1585+
67093701282DFE1B00BC3954 /* zh-Hans */,
1586+
);
1587+
name = ContentInspect.storyboard;
1588+
sourceTree = "<group>";
1589+
};
15641590
6709B23E2806BB4A000BCC58 /* RawAudioData.storyboard */ = {
15651591
isa = PBXVariantGroup;
15661592
children = (
Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="19529" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
3+
<device id="retina6_1" orientation="portrait" appearance="light"/>
4+
<dependencies>
5+
<deployment identifier="iOS"/>
6+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="19519"/>
7+
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
8+
<capability name="System colors in document resources" minToolsVersion="11.0"/>
9+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
10+
</dependencies>
11+
<scenes>
12+
<!--Content Inspect View Controller-->
13+
<scene sceneID="s0d-6b-0kx">
14+
<objects>
15+
<viewController storyboardIdentifier="ContentInspect" id="Y6W-OH-hqX" customClass="ContentInspectViewController" customModule="APIExample" customModuleProvider="target" sceneMemberID="viewController">
16+
<view key="view" contentMode="scaleToFill" id="5EZ-qb-Rvc">
17+
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
18+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
19+
<subviews>
20+
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zSG-kO-G9c">
21+
<rect key="frame" x="0.0" y="44" width="414" height="852"/>
22+
<color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
23+
</view>
24+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Use the camera point to picture and check content inspect effect" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9PU-6P-kJP">
25+
<rect key="frame" x="0.0" y="44" width="414" height="36"/>
26+
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.29999999999999999" colorSpace="custom" customColorSpace="calibratedRGB"/>
27+
<constraints>
28+
<constraint firstAttribute="height" relation="lessThanOrEqual" constant="45" id="QAp-j8-FjT"/>
29+
</constraints>
30+
<fontDescription key="fontDescription" type="system" pointSize="15"/>
31+
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
32+
<nil key="highlightedColor"/>
33+
</label>
34+
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bcn-3s-hFS">
35+
<rect key="frame" x="0.0" y="80" width="414" height="25"/>
36+
<color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.29999999999999999" colorSpace="custom" customColorSpace="calibratedRGB"/>
37+
<constraints>
38+
<constraint firstAttribute="height" constant="25" id="fIs-nQ-YDD"/>
39+
</constraints>
40+
<fontDescription key="fontDescription" type="boldSystem" pointSize="17"/>
41+
<color key="textColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
42+
<nil key="highlightedColor"/>
43+
</label>
44+
</subviews>
45+
<viewLayoutGuide key="safeArea" id="vDu-zF-Fre"/>
46+
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
47+
<constraints>
48+
<constraint firstItem="9PU-6P-kJP" firstAttribute="leading" secondItem="vDu-zF-Fre" secondAttribute="leading" id="9Iw-il-Tbu"/>
49+
<constraint firstItem="zSG-kO-G9c" firstAttribute="leading" secondItem="vDu-zF-Fre" secondAttribute="leading" id="D4L-Mh-wNP"/>
50+
<constraint firstItem="zSG-kO-G9c" firstAttribute="top" secondItem="vDu-zF-Fre" secondAttribute="top" id="H1P-Zt-4hi"/>
51+
<constraint firstAttribute="bottom" secondItem="zSG-kO-G9c" secondAttribute="bottom" id="Lk3-zF-P0z"/>
52+
<constraint firstItem="Bcn-3s-hFS" firstAttribute="top" secondItem="9PU-6P-kJP" secondAttribute="bottom" id="VBN-4D-0Qg"/>
53+
<constraint firstItem="vDu-zF-Fre" firstAttribute="trailing" secondItem="zSG-kO-G9c" secondAttribute="trailing" id="dCl-fi-VYv"/>
54+
<constraint firstItem="9PU-6P-kJP" firstAttribute="top" secondItem="vDu-zF-Fre" secondAttribute="top" id="fxa-E3-09m"/>
55+
<constraint firstItem="9PU-6P-kJP" firstAttribute="trailing" secondItem="vDu-zF-Fre" secondAttribute="trailing" id="j9T-Cu-6MY"/>
56+
<constraint firstItem="Bcn-3s-hFS" firstAttribute="leading" secondItem="vDu-zF-Fre" secondAttribute="leading" id="x1X-2R-v7i"/>
57+
<constraint firstItem="Bcn-3s-hFS" firstAttribute="trailing" secondItem="vDu-zF-Fre" secondAttribute="trailing" id="x38-6W-3FI"/>
58+
</constraints>
59+
</view>
60+
<connections>
61+
<outlet property="inspectResultLabel" destination="Bcn-3s-hFS" id="F80-LZ-txO"/>
62+
<outlet property="localVideoView" destination="zSG-kO-G9c" id="5JS-tk-n1y"/>
63+
</connections>
64+
</viewController>
65+
<placeholder placeholderIdentifier="IBFirstResponder" id="Ief-a0-LHa" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
66+
</objects>
67+
<point key="canvasLocation" x="11.594202898550726" y="52.901785714285715"/>
68+
</scene>
69+
<!--Content Inspect Entry View Controller-->
70+
<scene sceneID="7XO-s2-Kxb">
71+
<objects>
72+
<viewController storyboardIdentifier="EntryViewController" id="cNN-hM-nB5" customClass="ContentInspectEntryViewController" customModule="APIExample" customModuleProvider="target" sceneMemberID="viewController">
73+
<view key="view" contentMode="scaleToFill" id="CBy-yV-nJM">
74+
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
75+
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
76+
<subviews>
77+
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="h3Z-AE-u7E">
78+
<rect key="frame" x="20" y="293.5" width="374" height="138"/>
79+
<subviews>
80+
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter channel name" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="PmB-t9-yOK" userLabel="channelName">
81+
<rect key="frame" x="37.5" y="20" width="299" height="34"/>
82+
<fontDescription key="fontDescription" type="system" pointSize="14"/>
83+
<textInputTraits key="textInputTraits" keyboardType="alphabet"/>
84+
</textField>
85+
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Nsf-MZ-fEg" userLabel="joinBtn">
86+
<rect key="frame" x="172" y="74" width="30" height="30"/>
87+
<state key="normal" title="Join"/>
88+
<connections>
89+
<action selector="joinBtnClickedWithSender:" destination="cNN-hM-nB5" eventType="touchUpInside" id="D3e-lO-CPD"/>
90+
</connections>
91+
</button>
92+
</subviews>
93+
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
94+
<constraints>
95+
<constraint firstItem="PmB-t9-yOK" firstAttribute="top" secondItem="h3Z-AE-u7E" secondAttribute="top" constant="20" id="3bE-bk-FVd"/>
96+
<constraint firstItem="PmB-t9-yOK" firstAttribute="centerX" secondItem="h3Z-AE-u7E" secondAttribute="centerX" id="5an-1g-tHf"/>
97+
<constraint firstItem="Nsf-MZ-fEg" firstAttribute="top" secondItem="PmB-t9-yOK" secondAttribute="bottom" constant="20" id="NM7-ud-kUq"/>
98+
<constraint firstItem="Nsf-MZ-fEg" firstAttribute="centerX" secondItem="PmB-t9-yOK" secondAttribute="centerX" id="P59-JG-ifj"/>
99+
<constraint firstAttribute="bottom" secondItem="Nsf-MZ-fEg" secondAttribute="bottom" constant="34" id="Rii-v6-dox"/>
100+
<constraint firstItem="PmB-t9-yOK" firstAttribute="width" secondItem="h3Z-AE-u7E" secondAttribute="width" multiplier="0.8" id="ojG-dR-aTc"/>
101+
</constraints>
102+
</view>
103+
</subviews>
104+
<viewLayoutGuide key="safeArea" id="BPU-mi-sd8"/>
105+
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
106+
<constraints>
107+
<constraint firstItem="h3Z-AE-u7E" firstAttribute="centerY" secondItem="BPU-mi-sd8" secondAttribute="centerY" multiplier="0.8" id="99M-Ih-u6f"/>
108+
<constraint firstItem="h3Z-AE-u7E" firstAttribute="leading" secondItem="BPU-mi-sd8" secondAttribute="leading" constant="20" id="AGq-O4-D4j"/>
109+
<constraint firstItem="BPU-mi-sd8" firstAttribute="trailing" secondItem="h3Z-AE-u7E" secondAttribute="trailing" constant="20" id="oWd-fU-qLA"/>
110+
</constraints>
111+
</view>
112+
<connections>
113+
<outlet property="channelTextField" destination="PmB-t9-yOK" id="yyi-zU-Lox"/>
114+
</connections>
115+
</viewController>
116+
<placeholder placeholderIdentifier="IBFirstResponder" id="4ly-c9-nRm" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
117+
</objects>
118+
<point key="canvasLocation" x="-804" y="60"/>
119+
</scene>
120+
</scenes>
121+
<resources>
122+
<systemColor name="systemBackgroundColor">
123+
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
124+
</systemColor>
125+
</resources>
126+
</document>

0 commit comments

Comments
 (0)