RTSPtoWebRTC icon indicating copy to clipboard operation
RTSPtoWebRTC copied to clipboard

Does not work when exposed on the internet (Ngrok)

Open roberto497 opened this issue 3 years ago • 7 comments

Locally or within the same network it works perfectly.

But I started ngrok on port 8083, and tried to access it through 4g from my cell phone, it doesn't work.

What am I doing wrong? missing some port release or turn configuration

roberto497 avatar Mar 24 '22 00:03 roberto497

I believe that the problem is related to the fact that the peers are not sharing the information of icecandidate.

roberto497 avatar Mar 25 '22 04:03 roberto497

Hi @roberto497. Have you made any progress? I have the same problem and I don't know why it only works on the local network.

jonas893 avatar Mar 26 '22 13:03 jonas893

@jonas893, I'm going to change the communication to websocket, so it's easier to send and receive information between the parties, from that start sending and receiving icecandidate events. If there's progress, I'll let you know.

roberto497 avatar Mar 26 '22 16:03 roberto497

@roberto497 Is there any progress ? are you able to solve the issue ?

Jobinjose01 avatar May 06 '22 06:05 Jobinjose01

I have a similar issue (I think). I'm running inside a docker container with only port 8083 patched through, works fine on the local system, but streams don't start on other systems on the local network.

My guess is there are other ports opened up for the stream, but because they are not patched through the stream fails to play .... just need to know what those ports are

tony-p avatar May 17 '22 20:05 tony-p

if serving your own turn server, many ports need to be exposed, coturn example https://hub.docker.com/r/instrumentisto/coturn

tony-p avatar May 17 '22 21:05 tony-p