Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit eded85a

Browse files
committed
fixed RTMP Streaming ui
1 parent a97c599 commit eded85a

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

iOS/APIExample/Base.lproj/Main.storyboard

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -238,18 +238,18 @@
238238
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
239239
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
240240
<subviews>
241+
<textField hidden="YES" opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter RTMP URL" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="8Mz-FP-egY">
242+
<rect key="frame" x="20" y="297" width="283" height="34"/>
243+
<fontDescription key="fontDescription" type="system" pointSize="14"/>
244+
<textInputTraits key="textInputTraits"/>
245+
</textField>
241246
<button hidden="YES" opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6UB-N4-z8k">
242-
<rect key="frame" x="165.5" y="297" width="51" height="30"/>
247+
<rect key="frame" x="343" y="297" width="51" height="30"/>
243248
<state key="normal" title="Publish"/>
244249
<connections>
245250
<action selector="onPublish" destination="X1U-3n-3dG" eventType="touchUpInside" id="PbF-KA-FmE"/>
246251
</connections>
247252
</button>
248-
<textField hidden="YES" opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter RTMP URL" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="8Mz-FP-egY">
249-
<rect key="frame" x="20" y="297" width="135.5" height="34"/>
250-
<fontDescription key="fontDescription" type="system" pointSize="14"/>
251-
<textInputTraits key="textInputTraits"/>
252-
</textField>
253253
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="A93-pu-sGt" userLabel="Video View" customClass="AGEVideoContainer" customModule="AGEVideoLayout">
254254
<rect key="frame" x="0.0" y="44" width="414" height="233"/>
255255
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
@@ -260,11 +260,11 @@
260260
</subviews>
261261
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
262262
<constraints>
263-
<constraint firstItem="8Mz-FP-egY" firstAttribute="leading" secondItem="LzH-os-m3e" secondAttribute="leading" constant="20" id="6BF-Nr-pei"/>
264263
<constraint firstItem="A93-pu-sGt" firstAttribute="top" secondItem="LzH-os-m3e" secondAttribute="top" id="8iE-Z7-SaW"/>
265-
<constraint firstItem="6UB-N4-z8k" firstAttribute="trailing" secondItem="LzH-os-m3e" secondAttribute="trailing" constant="-20" id="ByP-i8-qM3"/>
266-
<constraint firstItem="8Mz-FP-egY" firstAttribute="trailing" secondItem="6UB-N4-z8k" secondAttribute="leading" constant="-10" id="CX8-ax-iTG"/>
264+
<constraint firstItem="8Mz-FP-egY" firstAttribute="leading" secondItem="A93-pu-sGt" secondAttribute="leading" constant="20" id="ByP-i8-qM3"/>
265+
<constraint firstItem="8Mz-FP-egY" firstAttribute="trailing" secondItem="6UB-N4-z8k" secondAttribute="leading" constant="-20" id="CX8-ax-iTG"/>
267266
<constraint firstItem="6UB-N4-z8k" firstAttribute="top" secondItem="8Mz-FP-egY" secondAttribute="top" id="I7I-Ss-j27"/>
267+
<constraint firstItem="6UB-N4-z8k" firstAttribute="trailing" secondItem="A93-pu-sGt" secondAttribute="trailing" constant="-20" id="MhZ-Hh-AeG"/>
268268
<constraint firstItem="LzH-os-m3e" firstAttribute="trailing" secondItem="A93-pu-sGt" secondAttribute="trailing" id="NPf-hE-k2V"/>
269269
<constraint firstItem="8Mz-FP-egY" firstAttribute="top" secondItem="A93-pu-sGt" secondAttribute="bottom" constant="20" id="RPK-4Y-BTd"/>
270270
<constraint firstItem="A93-pu-sGt" firstAttribute="leading" secondItem="LzH-os-m3e" secondAttribute="leading" id="f2L-eF-d58"/>
@@ -280,7 +280,7 @@
280280
</viewController>
281281
<placeholder placeholderIdentifier="IBFirstResponder" id="05J-FY-zaU" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
282282
</objects>
283-
<point key="canvasLocation" x="151" y="931"/>
283+
<point key="canvasLocation" x="150.72463768115944" y="930.80357142857133"/>
284284
</scene>
285285
<!--Injection-->
286286
<scene sceneID="C44-jT-LGp">

0 commit comments

Comments
 (0)