ionorg / ion

Real-Distributed RTC System by pure Go and Flutter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add an area directly inside of the sfu that allows users to point to their ssl certs

mattjslaton opened this issue · comments

I've gotten this locally on my system inside of a docker container, everything works fine but when I got to upload everything to my server, the client written in javascript wont connect because it is not secure. I've tried to use Caddy to build a secure connection using keys but Caddy was not working as expected. I decided to use a server written in node to upgrade the connection using the package http-proxy. That seemed to have worked, but for some reason the video is not showing up. Which should not be an issue unless the proxy server is not relaying all the information the webrtc client needs. What would be more ideal would be having a config file for this sfu where I can put in the certs and not have to worry about installing a separate reverse proxy to handle the ssl

Hi @mattjslaton

Would you mind describing your setup a little more. Are you running ion-app-web?

If you set the names here you should get a certificate via LetsEncrypt.

im accessing my server using ip, still the remote video stream doesn't show

you need a real domain to get the ssl cert via LetsEncrypt, if you want to test locally you can try to use here , the free plan will do want you wanted, as ngrok will give you a subdomain that has ssl. hope that helps