Home | History | Annotate | only in /external/webrtc/talk/app/webrtc/objc
Up to higher level directory
NameDateSize
.clang-format21-Aug-2018287
avfoundationvideocapturer.h21-Aug-20183K
avfoundationvideocapturer.mm21-Aug-201814.7K
public/21-Aug-2018
README21-Aug-20182.5K
RTCAudioTrack+Internal.h21-Aug-20181.6K
RTCAudioTrack.mm21-Aug-20181.8K
RTCAVFoundationVideoSource+Internal.h21-Aug-20181.6K
RTCAVFoundationVideoSource.mm21-Aug-20182.8K
RTCDataChannel+Internal.h21-Aug-20182.1K
RTCDataChannel.mm21-Aug-20187.7K
RTCEAGLVideoView.m21-Aug-20188.7K
RTCEnumConverter.h21-Aug-20183.6K
RTCEnumConverter.mm21-Aug-20188.9K
RTCFileLogger.mm21-Aug-20186.1K
RTCI420Frame+Internal.h21-Aug-20181.6K
RTCI420Frame.mm21-Aug-20182.9K
RTCICECandidate+Internal.h21-Aug-20181.7K
RTCICECandidate.mm21-Aug-20182.9K
RTCICEServer+Internal.h21-Aug-20181.7K
RTCICEServer.mm21-Aug-20182.6K
RTCLogging.mm21-Aug-20182.5K
RTCMediaConstraints+Internal.h21-Aug-20181.7K
RTCMediaConstraints.mm21-Aug-20182.9K
RTCMediaConstraintsNative.cc21-Aug-20182.1K
RTCMediaConstraintsNative.h21-Aug-20182.2K
RTCMediaSource+Internal.h21-Aug-20181.7K
RTCMediaSource.mm21-Aug-20182.2K
RTCMediaStream+Internal.h21-Aug-20181.7K
RTCMediaStream.mm21-Aug-20184.7K
RTCMediaStreamTrack+Internal.h21-Aug-20181.8K
RTCMediaStreamTrack.mm21-Aug-20183.7K
RTCNSGLVideoView.m21-Aug-20185.1K
RTCOpenGLVideoRenderer.mm21-Aug-201815.5K
RTCPair.m21-Aug-20181.8K
RTCPeerConnection+Internal.h21-Aug-20182.3K
RTCPeerConnection.mm21-Aug-201811.1K
RTCPeerConnectionFactory+Internal.h21-Aug-20181.7K
RTCPeerConnectionFactory.mm21-Aug-20186K
RTCPeerConnectionInterface+Internal.h21-Aug-20181.7K
RTCPeerConnectionInterface.mm21-Aug-20184.7K
RTCPeerConnectionObserver.h21-Aug-20183K
RTCPeerConnectionObserver.mm21-Aug-20184.2K
RTCSessionDescription+Internal.h21-Aug-20181.8K
RTCSessionDescription.mm21-Aug-20182.7K
RTCStatsReport+Internal.h21-Aug-20181.6K
RTCStatsReport.mm21-Aug-20182.6K
RTCVideoCapturer+Internal.h21-Aug-20181.7K
RTCVideoCapturer.mm21-Aug-20182.8K
RTCVideoRendererAdapter.h21-Aug-20181.8K
RTCVideoRendererAdapter.mm21-Aug-20182.9K
RTCVideoSource+Internal.h21-Aug-20181.6K
RTCVideoSource.mm21-Aug-20181.8K
RTCVideoTrack+Internal.h21-Aug-20181.7K
RTCVideoTrack.mm21-Aug-20184.2K

README

      1 This directory contains the ObjectiveC implementation of the
      2 webrtc::PeerConnection API.  This can be built for Mac or iOS.  This
      3 file describes building the API, unit test, and AppRTCDemo sample app.
      4 
      5 Prerequisites:
      6 - Make sure gclient is checking out tools necessary to target iOS: your
      7   .gclient file should contain a line like:
      8   target_os = ['ios', 'mac']
      9   Make sure to re-run gclient sync after adding this to download the tools.
     10 
     11 - Set up webrtc-related $GYP_DEFINES; example shell functions that set
     12   up for building for iOS-device, iOS-simulator, and Mac (resp) are:
     13 function wrbase() {
     14   cd /path/to/webrtc/trunk
     15   export GYP_DEFINES="build_with_libjingle=1 build_with_chromium=0"
     16   export GYP_GENERATORS="ninja"
     17 }
     18 
     19 function wrios() {
     20   wrbase
     21   export GYP_DEFINES="$GYP_DEFINES OS=ios"
     22   export GYP_GENERATOR_FLAGS="$GYP_GENERATOR_FLAGS output_dir=out_ios"
     23   export GYP_CROSSCOMPILE=1
     24 }
     25 
     26 function wrios32() {
     27   wrios
     28   export GYP_DEFINES="$GYP_DEFINES target_arch=arm"
     29 }
     30 
     31 function wrios64() {
     32   wrios
     33   export GYP_DEFINES="$GYP_DEFINES target_arch=arm64"
     34 }
     35 
     36 function wrsim() {
     37   wrbase
     38   export GYP_DEFINES="$GYP_DEFINES OS=ios target_subarch=arm32 target_arch=ia32"
     39   export GYP_GENERATOR_FLAGS="$GYP_GENERATOR_FLAGS output_dir=out_sim"
     40   export GYP_CROSSCOMPILE=1
     41 }
     42 
     43 function wrmac() {
     44   wrbase
     45   export GYP_DEFINES="$GYP_DEFINES OS=mac target_subarch=arm64 target_arch=x64"
     46   export GYP_GENERATOR_FLAGS="$GYP_GENERATOR_FLAGS output_dir=out_mac"
     47 }
     48 
     49 - Finally, run "webrtc/build/gyp_webrtc" to generate ninja files.
     50 
     51 Example of building & using the unittest & app:
     52 
     53 - To build & run the unittest (must target mac):
     54   wrmac && ./webrtc/build/gyp_webrtc && \
     55       ninja -C out_mac/Debug libjingle_peerconnection_objc_test && \
     56       ./out_mac/Debug/libjingle_peerconnection_objc_test.app/Contents/MacOS/libjingle_peerconnection_objc_test
     57 
     58 - To build & launch the sample app on OSX:
     59   wrmac && ./webrtc/build/gyp_webrtc && ninja -C out_mac/Debug AppRTCDemo && \
     60       ./out_mac/Debug/AppRTCDemo.app/Contents/MacOS/AppRTCDemo
     61 
     62 - To build & launch the sample app on the iOS simulator:
     63   wrsim && ./webrtc/build/gyp_webrtc && ninja -C out_sim/Debug iossim AppRTCDemo && \
     64       ./out_sim/Debug/iossim out_sim/Debug/AppRTCDemo.app
     65 
     66 - To build & sign the sample app for an iOS device (32 bit):
     67   wrios32 && ./webrtc/build/gyp_webrtc && ninja -C out_ios/Debug-iphoneos AppRTCDemo
     68 
     69 - To build & sign the sample app for an iOS device (64 bit):
     70   wrios64 && ./webrtc/build/gyp_webrtc && ninja -C out_ios/Debug-iphoneos AppRTCDemo
     71