Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture sample buffer bug #47

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions ScreenShare/ScreenShare.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<plist version="1.0">
<dict>
<key>com.apple.security.application-groups</key>
<array>
<string>group.io.antmedia.ios.webrtc.sample</string>
</array>
<array/>
</dict>
</plist>
44 changes: 22 additions & 22 deletions WebRTC-Sample-App/Base.lproj/Main.storyboard
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
<device id="retina6_0" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22684"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
Expand All @@ -18,18 +18,18 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="logo" translatesAutoresizingMaskIntoConstraints="NO" id="U8S-UW-oXC">
<rect key="frame" x="95" y="87" width="200" height="200"/>
<rect key="frame" x="87.666666666666686" y="87" width="200" height="200"/>
<constraints>
<constraint firstAttribute="width" constant="200" id="1mh-o1-svn"/>
<constraint firstAttribute="width" secondItem="U8S-UW-oXC" secondAttribute="height" multiplier="1:1" id="KfE-gR-cN6"/>
<constraint firstAttribute="height" constant="200" id="uGw-jw-7QC"/>
</constraints>
</imageView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dMz-6A-4JU">
<rect key="frame" x="65" y="257" width="260" height="439"/>
<rect key="frame" x="65" y="257" width="245" height="325"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" usesAttributedText="YES" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wtb-z3-Op3">
<rect key="frame" x="12.666666666666686" y="10" width="235" height="62"/>
<rect key="frame" x="5" y="10" width="235" height="62"/>
<constraints>
<constraint firstAttribute="width" constant="235" id="0c1-KP-HAt"/>
<constraint firstAttribute="height" constant="62" id="4qM-Ld-Ubq"/>
Expand All @@ -47,7 +47,7 @@ WebRTC Live Streaming</string>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Room name" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="WPm-03-EZ0">
<rect key="frame" x="6" y="90" width="248" height="30"/>
<rect key="frame" x="6" y="90" width="233" height="30"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="lDx-qO-ch4"/>
</constraints>
Expand All @@ -58,14 +58,14 @@ WebRTC Live Streaming</string>
</connections>
</textField>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Sor-To-6JJ">
<rect key="frame" x="3" y="124" width="254" height="1.6666666666666714"/>
<rect key="frame" x="3" y="124" width="239" height="1.6666666666666714"/>
<color key="backgroundColor" red="0.8666666666666667" green="0.13725490196078433" blue="0.12941176470588237" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1.5" id="K1Q-Vw-hNs"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5ym-6R-Akx">
<rect key="frame" x="3" y="374" width="254" height="35"/>
<rect key="frame" x="3" y="260" width="239" height="35"/>
<color key="backgroundColor" red="0.86666666670000003" green="0.13725490200000001" blue="0.12941176469999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="35" id="th5-xa-8Fc"/>
Expand All @@ -80,7 +80,7 @@ WebRTC Live Streaming</string>
</connections>
</button>
<segmentedControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="top" segmentControlStyle="plain" selectedSegmentIndex="0" translatesAutoresizingMaskIntoConstraints="NO" id="tve-qy-d3T">
<rect key="frame" x="3" y="155.66666666666669" width="254" height="32"/>
<rect key="frame" x="3" y="155.66666666666669" width="239" height="32"/>
<segments>
<segment title="Publish"/>
<segment title="Play"/>
Expand All @@ -89,7 +89,7 @@ WebRTC Live Streaming</string>
<color key="tintColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</segmentedControl>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Inj-Ay-988">
<rect key="frame" x="6" y="340" width="248" height="36"/>
<rect key="frame" x="6" y="226" width="233" height="36"/>
<constraints>
<constraint firstAttribute="height" constant="36" id="vla-6X-HS0"/>
</constraints>
Expand Down Expand Up @@ -125,7 +125,7 @@ WebRTC Live Streaming</string>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GZ9-KN-4BS" customClass="RPSystemBroadcastPickerView">
<rect key="frame" x="162.66666666666666" y="696" width="65" height="50"/>
<rect key="frame" x="162.66666666666666" y="582" width="50" height="50"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstAttribute="width" constant="50" id="27V-Uq-gnp"/>
Expand Down Expand Up @@ -168,27 +168,27 @@ WebRTC Live Streaming</string>
<objects>
<viewController storyboardIdentifier="Conference" id="E4n-9I-LrE" customClass="ConferenceViewController" customModule="WebRTC_Sample_App" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="CM5-Lj-3ty">
<rect key="frame" x="0.0" y="0.0" width="390" height="787"/>
<rect key="frame" x="0.0" y="0.0" width="390" height="834"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zBK-Om-nWf">
<rect key="frame" x="16" y="47" width="179" height="370"/>
<rect key="frame" x="16" y="0.0" width="179" height="417"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PKz-rN-me0">
<rect key="frame" x="206.66666666666663" y="47" width="175.33333333333337" height="346.66666666666669"/>
<rect key="frame" x="206.66666666666663" y="0.0" width="175.33333333333337" height="417"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qPy-8E-T6N">
<rect key="frame" x="16" y="417" width="179" height="350"/>
<rect key="frame" x="16" y="417" width="179" height="397"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LXN-aK-Wm3">
<rect key="frame" x="195" y="417" width="196" height="350"/>
<rect key="frame" x="195" y="417" width="196" height="397"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Zwp-DO-5T7">
<rect key="frame" x="267" y="607" width="90" height="160"/>
<rect key="frame" x="267" y="654" width="90" height="160"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstAttribute="height" constant="160" id="dnu-X9-a9W"/>
Expand Down Expand Up @@ -233,30 +233,30 @@ WebRTC Live Streaming</string>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="6tn-JR-W3G" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="1194.4000000000001" y="869.41529235382313"/>
<point key="canvasLocation" x="1193.8461538461538" y="868.72037914691941"/>
</scene>
<!--Video View Controller-->
<scene sceneID="pqe-YK-PtD">
<objects>
<viewController storyboardIdentifier="Video" id="xVm-wQ-O5q" customClass="VideoViewController" customModule="WebRTC_Sample_App" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="LyJ-zl-XYS">
<rect key="frame" x="0.0" y="0.0" width="390" height="787"/>
<rect key="frame" x="0.0" y="0.0" width="390" height="834"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view hidden="YES" contentMode="center" translatesAutoresizingMaskIntoConstraints="NO" id="cFD-yb-BM7" customClass="RTCEAGLVideoView">
<rect key="frame" x="0.0" y="47" width="390" height="740"/>
<rect key="frame" x="0.0" y="0.0" width="390" height="834"/>
<color key="backgroundColor" red="0.32549019607843138" green="0.32549019607843138" blue="0.32549019607843138" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
<view contentMode="scaleAspectFit" translatesAutoresizingMaskIntoConstraints="NO" id="lwh-ZV-HkX" customClass="RTCEAGLVideoView">
<rect key="frame" x="270" y="637" width="90" height="120"/>
<rect key="frame" x="270" y="684" width="90" height="120"/>
<color key="backgroundColor" red="0.086274509803921567" green="0.086274509803921567" blue="0.086274509803921567" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="120" id="FEQ-6q-T1I"/>
<constraint firstAttribute="width" constant="90" id="pW9-Zi-CJA"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="H3f-3T-91O">
<rect key="frame" x="15" y="293.66666666666669" width="45" height="200"/>
<rect key="frame" x="15" y="317" width="45" height="200"/>
<subviews>
<button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5j2-CR-zdD" userLabel="Audio Button">
<rect key="frame" x="2" y="0.0" width="40" height="40"/>
Expand Down
Loading