Checkout step by step tutorial.
Start contributing to this project by forking it. Let's make it bigger together.
- Open
VideoWebRTC/app/src/main/java/com/shivam/androidwebrtc/tutorial/CompleteActivity.java
and replace"https://calm-badlands-59575.herokuapp.com/"
with the ip address of your webserver.
$ hostname -I
- Install node
$ cd SignalingServer && npm i && node index.js
- Open
VideoWebRTC
in Android Studio and run on your device - Open
http://localhost:3000
in your webbrowser from your computer
- You'll need a camera/webcam otherwise you'll receive a
navigators.mediaDevices is undefined
error - Likely the port will be
3000
instead of8080
(ex:localhost:3000
). This is set inSignalingServer/index.js