pchab / ProjectRTC

WebRTC Live Streaming on nodeJS (+ android client !)
Other
1.04k stars 476 forks source link

How to connect the server? #59

Open zhangkom opened 5 years ago

zhangkom commented 5 years ago

1, Firstly, I have do following, and in Chrome I have look at the mac local video. git clone https://github.com/pchab/ProjectRTC.git cd ProjectRTC/ npm install npm start The server will run on port 3000. You can test it in the (Chrome or Firefox) browser at localhost:3000.

2, I have install apk-debug.apk on a android phone, how can I use the android phone to connect the mac localhost:3000 address.

thanks.

acaliaro commented 3 years ago

@zhangkom have you found a solution?

Saceone commented 3 years ago

you need to enable port forwarding in orther to access the port 3000 of your computer from your phone

you can do it easily from chrome://inspect

https://developers.google.com/web/tools/chrome-devtools/remote-debugging/local-server