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

Build AppRTCDemo #56

Closed
gitbase opened this issue Jan 26, 2015 · 7 comments
Closed

Build AppRTCDemo #56

gitbase opened this issue Jan 26, 2015 · 7 comments

Comments

@gitbase
Copy link

gitbase commented Jan 26, 2015

Hi,

I was able to follow the instructions from README.md and then I generated some so and jar files. But I've seen this - http://andrii.sergiienko.me/?go=all/building-webrtc-demo-for-android/ - and I think it shows us how to build an AppRTCDemo that works with http://apprtc.appspot.com/ I think.

So how can I build the same demo ? In that article it uses some ninja command. Any help would be useful!

Regards

@smithaaron
Copy link

I just created a project using the code from https://code.google.com/p/webrtc/source/browse/#svn%2Ftrunk%2Ftalk%2Fexamples%2Fandroid and dropped in the jar and so files that I'd built.

@ArikYa
Copy link
Contributor

ArikYa commented Jan 26, 2015

Running the script with build_apprtc builds the libraries and the Android demo application.

@gitbase
Copy link
Author

gitbase commented Jan 26, 2015

@smithaaron ok

@ArikYa libraries are built but where is the Android demo application ? These are the build paths/lists of files:

$ pwd
/home/gitbase/webrtc-build-scripts/android/webrtc
$ ls
libjingle_peerconnection_builds  src
$ ls libjingle_peerconnection_builds/Release/
8148.zip  jniLibs/  libs/     res/      
$ ls libjingle_peerconnection_builds/Release/jniLibs/
armeabi_v7a  x86  x86_64
$ ls libjingle_peerconnection_builds/Release/libs/
libjingle_peerconnection.jar
$ ls libjingle_peerconnection_builds/Release/res/

@ArikYa
Copy link
Contributor

ArikYa commented Jan 26, 2015

look for an .apk file in "src/out_android_armeabi_v7a/Release"

@gitbase
Copy link
Author

gitbase commented Jan 26, 2015

@ArikYa ah got it thanks! As for the source, is it also there somewhere or I have to clone from the google code URL pointed by @smithaaron ?

@ArikYa
Copy link
Contributor

ArikYa commented Jan 26, 2015

it's there under "src/talk/examples/android

@gitbase
Copy link
Author

gitbase commented Jan 26, 2015

Thanks @ArikYa

@gitbase gitbase closed this as completed Jan 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants