Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

webrtc xcode build for Mac OS X

Does anyone know if there is a way to obtain a build for Mac OS X (not iOS) for use in an Xcode project? the only examples I've found have been for obtaining iOS based Xcode workspaces, ex:

export GYP_GENERATOR_FLAGS="xcode_project_version=3.2 xcode_ninja_target_pattern=All_iOS xcode_ninja_executable_target_pattern=AppRTCDemo|libjingle_peerconnection_unittest|libjingle_peerconnection_objc_test output_dir=out_ios"

export GYP_GENERATORS="ninja,xcode-ninja"

Is there any flag that will get me something for use in Mac OS X? I'm just trying to build an app using webrtc for Mac OS X.

like image 296
TSIguy Avatar asked Nov 10 '22 21:11

TSIguy


1 Answers

Google has an example app in their webrtc repo, although I don't think it's built using Xcode.

git clone https://chromium.googlesource.com/external/webrtc

In that repo, you can find it in: webrtc/examples/objc/AppRTCDemo/

See the README in webrtc/talk/app/webrtc/objc/README for build instructions.


Another option would be to build a native app using a Node.js/Chromium runtime like NW.js or Electron.

like image 139
Dan Sandland Avatar answered Nov 15 '22 05:11

Dan Sandland