• Home
  • History
  • Annotate
  • only in /external/webrtc/talk/app/webrtc/objc/
NameDateSize

..23-Aug-20164 KiB

.clang-format23-Aug-2016287

avfoundationvideocapturer.h23-Aug-20163 KiB

avfoundationvideocapturer.mm23-Aug-201614.7 KiB

OWNERS23-Aug-201618

public/23-Aug-20164 KiB

README23-Aug-20162.5 KiB

RTCAudioTrack+Internal.h23-Aug-20161.6 KiB

RTCAudioTrack.mm23-Aug-20161.8 KiB

RTCAVFoundationVideoSource+Internal.h23-Aug-20161.6 KiB

RTCAVFoundationVideoSource.mm23-Aug-20162.8 KiB

RTCDataChannel+Internal.h23-Aug-20162.1 KiB

RTCDataChannel.mm23-Aug-20167.7 KiB

RTCEAGLVideoView.m23-Aug-20168.7 KiB

RTCEnumConverter.h23-Aug-20163.6 KiB

RTCEnumConverter.mm23-Aug-20168.9 KiB

RTCFileLogger.mm23-Aug-20166.1 KiB

RTCI420Frame+Internal.h23-Aug-20161.6 KiB

RTCI420Frame.mm23-Aug-20162.9 KiB

RTCICECandidate+Internal.h23-Aug-20161.7 KiB

RTCICECandidate.mm23-Aug-20162.9 KiB

RTCICEServer+Internal.h23-Aug-20161.7 KiB

RTCICEServer.mm23-Aug-20162.6 KiB

RTCLogging.mm23-Aug-20162.5 KiB

RTCMediaConstraints+Internal.h23-Aug-20161.7 KiB

RTCMediaConstraints.mm23-Aug-20162.9 KiB

RTCMediaConstraintsNative.cc23-Aug-20162.1 KiB

RTCMediaConstraintsNative.h23-Aug-20162.2 KiB

RTCMediaSource+Internal.h23-Aug-20161.7 KiB

RTCMediaSource.mm23-Aug-20162.2 KiB

RTCMediaStream+Internal.h23-Aug-20161.7 KiB

RTCMediaStream.mm23-Aug-20164.7 KiB

RTCMediaStreamTrack+Internal.h23-Aug-20161.8 KiB

RTCMediaStreamTrack.mm23-Aug-20163.7 KiB

RTCNSGLVideoView.m23-Aug-20165.1 KiB

RTCOpenGLVideoRenderer.mm23-Aug-201615.5 KiB

RTCPair.m23-Aug-20161.8 KiB

RTCPeerConnection+Internal.h23-Aug-20162.3 KiB

RTCPeerConnection.mm23-Aug-201611.1 KiB

RTCPeerConnectionFactory+Internal.h23-Aug-20161.7 KiB

RTCPeerConnectionFactory.mm23-Aug-20166 KiB

RTCPeerConnectionInterface+Internal.h23-Aug-20161.7 KiB

RTCPeerConnectionInterface.mm23-Aug-20164.7 KiB

RTCPeerConnectionObserver.h23-Aug-20163 KiB

RTCPeerConnectionObserver.mm23-Aug-20164.2 KiB

RTCSessionDescription+Internal.h23-Aug-20161.8 KiB

RTCSessionDescription.mm23-Aug-20162.7 KiB

RTCStatsReport+Internal.h23-Aug-20161.6 KiB

RTCStatsReport.mm23-Aug-20162.6 KiB

RTCVideoCapturer+Internal.h23-Aug-20161.7 KiB

RTCVideoCapturer.mm23-Aug-20162.8 KiB

RTCVideoRendererAdapter.h23-Aug-20161.8 KiB

RTCVideoRendererAdapter.mm23-Aug-20162.9 KiB

RTCVideoSource+Internal.h23-Aug-20161.6 KiB

RTCVideoSource.mm23-Aug-20161.8 KiB

RTCVideoTrack+Internal.h23-Aug-20161.7 KiB

RTCVideoTrack.mm23-Aug-20164.2 KiB

README

1This directory contains the ObjectiveC implementation of the
2webrtc::PeerConnection API.  This can be built for Mac or iOS.  This
3file describes building the API, unit test, and AppRTCDemo sample app.
4
5Prerequisites:
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:
13function 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
19function 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
26function wrios32() {
27  wrios
28  export GYP_DEFINES="$GYP_DEFINES target_arch=arm"
29}
30
31function wrios64() {
32  wrios
33  export GYP_DEFINES="$GYP_DEFINES target_arch=arm64"
34}
35
36function 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
43function 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
51Example 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