Forked from https://github.com/pchab/AndroidRTC.git To be deleted after this library is integrated on: https://notabug.org/aleph/socket.io-p2p-client-java

Pierre Chabardes 20920c819f Merge branch 'master' of https://github.com/pchab/AndroidRTC 9 years ago
libs db90e76fa7 updated libjingle, switch to socket.io android lib 9 years ago
res db90e76fa7 updated libjingle, switch to socket.io android lib 9 years ago
src 40d6c97f3e fixed activity cycle issues 9 years ago
.gitignore 0e9c772c70 refactoring 10 years ago
AndroidManifest.xml 40d6c97f3e fixed activity cycle issues 9 years ago
AndroidRTC.iml db90e76fa7 updated libjingle, switch to socket.io android lib 9 years ago
LICENSE.txt da0e557697 Added Apache 2.0 LICENSE 9 years ago
README.md 570af301e8 modified socket.io library 9 years ago
project.properties db90e76fa7 updated libjingle, switch to socket.io android lib 9 years ago

README.md

AndroidRTC

WebRTC Live Streaming

An Android client for ProjectRTC.

It is designed to demonstrate WebRTC video calls between androids and/or desktop browsers, but WebRtcClient could be used in other scenarios.

How To

You need ProjectRTC up and running, and it must be somewhere that your android can access. (You can quickly test this with your android browser). Modify the host string (in res/values/strings.xml) to the server IP.

When you launch the app, you will be given several options to send a message : "Call someone" Use this menu to send a link of your stream. This link can be opened with a WebRTC-capable browser or by another AndroidRTC. The video call should then start.

Your stream should appear as "android_test" in ProjectRTC, so you can also use the call feature there.

Libraries

libjingle peerconnection

socket.io-client

If you want to use them in your project, I recommend working with IntelliJ IDEA :

  • Start a new android application project
  • Add the .jar and .so in the libs folder
  • Right-click "add as library"

Author

  • Pierre Chabardes