pchab / ProjectRTC

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

Remote screen is not showing(black) when ported my app to public ip (http://androidrtc.alphatesting.de:3000) but working fine locally #23

Open varunprashar5 opened 9 years ago

varunprashar5 commented 9 years ago

Hello, Thanks for the service provided by you.

Actually I am facing issue with this app , Earlier with your demo version I tried and it was working fine. But now when I tried to use my own signalling server as mentioned by you , It creates the connection and establishes two way communication but the remote stream dont show and shows the black screen.

These are the logs : This appears to be Chrome rtcClient.js:85 received init from iHVl6rf-igXzBUxcAAAE rtcClient.js:111 sending offer to iHVl6rf-igXzBUxcAAAE 8rtcClient.js:111 sending candidate to iHVl6rf-igXzBUxcAAAE rtcClient.js:85 received init from iHVl6rf-igXzBUxcAAAE rtcClient.js:111 sending offer to iHVl6rf-igXzBUxcAAAE rtcClient.js:85 received init from iHVl6rf-igXzBUxcAAAE rtcClient.js:111 sending offer to iHVl6rf-igXzBUxcAAAE rtcClient.js:85 received answer from iHVl6rf-igXzBUxcAAAE 4rtcClient.js:85 received candidate from iHVl6rf-igXzBUxcAAAE rtcClient.js:85 received init from iHVl6rf-igXzBUxcAAAE rtcClient.js:111 sending offer to iHVl6rf-igXzBUxcAAAE 2rtcClient.js:85 received answer from iHVl6rf-igXzBUxcAAAE

so these are the logs & found that the conection and session info is passed accurately but the blob I am getting in video tag is showing the black screen.

I tried this on my test server with all the access , As I thought may be there is firewall issue on my port but it didn't worked. It dnt have any server side issue with port or access or firewall jammer now.

or I thought there might be the issue with

socket = io(); on "rtcClient.js" so I also tried this : socket = io('http://androidrtc.alphatesting.de:3000'); as well.

I tried to use different stun server as well by :

iceServers: [ {url:'stun:stun01.sipphone.com'} //{"url": "stun:stun.l.google.com:19302"} ]

but didn't get my issue resolved. The app is running on : http://androidrtc.alphatesting.de:3000

Please have a look at the issue .

futurealecks commented 8 years ago

Hello, did you solve this issue?

ummuzz commented 7 years ago

give permissions for camera.