peer-stream icon indicating copy to clipboard operation
peer-stream copied to clipboard

Unable to stream out of local network using ngrok

Open Amir3022 opened this issue 3 years ago • 3 comments

I tried running the signal.js using the commands provided in this repo for demo. But when I tried to stream to external network using ngrok, the URL would only display black screen with no video or audio. Is there anything that can be done to fix this problem? Or I am doing something wrong

Amir3022 avatar Sep 27 '22 11:09 Amir3022

you need iceServers: https://github.com/inveta/peer-stream/blob/main/signal.js#L28 https://github.com/inveta/peer-stream/blob/main/peer-stream.js#L328

xosg avatar Sep 28 '22 01:09 xosg

This solved the problem, thanks a lot

Amir3022 avatar Sep 28 '22 08:09 Amir3022

In my case, I tried to stream with ngrock and it works locally, but outside my network it's a black screen. I tested the ice servers and also my own stun server, but it's the same. What can I do ?

madaracelio avatar May 23 '23 16:05 madaracelio