lukeweber / webrtc-jingle-client

Webrtc audio + jingle protocol brought to IOS and Android.
https://groups.google.com/forum/?fromgroups#!forum/webrtc-jingle
BSD 3-Clause "New" or "Revised" License
336 stars 136 forks source link

Create IPhone skew #42

Closed lukeweber closed 11 years ago

lukeweber commented 11 years ago

Refactor codebase to support an IPhone build.

voice-client-core/jni/tuenti/ is mostly the client core, which could be reused as an interface on IPhone as well.

Android specific files in tuenti directory that would need to be moved, probably up to jni voice-client-core/jni/tuenti/helpers.cc voice-client-core/jni/tuenti/threadpriorityhandler.cc

General movement might be: voice-client-core/jni/tuenti/ => /src or /core voice-client-core => android/core (Have to think about this a bit more as we have (voice-client-aidl, voice-client-example) new directory iphone/core? (Not sure if we'll even need this new directory iphone/example

./tools/ => Probably we would create additional tools to build iphone here, and rename others to make it clear they're for android.

Please comment if anyone has an idea how this should be managed.

lukeweber commented 11 years ago

I've done a first pass and gotten an xcode project to be generated for IOS.

It's still a ways from compiling, but you can mess around with it but running this command, and then opening up the xcode project.

./build/gyp_chromium --depth=. -DOS=ios -Dtarget_arch=arm -Dinclude_tests=0 -Denable_protobuf=0 -Denable_video=0 webrtcjingle.gyp

lukeweber commented 11 years ago

Screen Shot 2012-12-12 at 9 50 32 PM

Building.

lukeweber commented 11 years ago

IPhone build works.