talk icon indicating copy to clipboard operation
talk copied to clipboard

Localhost access only

Open Erispoe1 opened this issue 4 years ago • 8 comments

hello,

Talk is great !! I like it and i install it on a VM on my network. But I have a question? I have access with "Locahost" with a ssh Tunnel . But how can I use it with en IP of my local network ? I tried with Haproxy with Frontend Ip of local network and Backend "localhost" , I tried with an IP of my local network....But nothing, I just have static page of talk nevertheless I can't use it (camera, microphone...)

Thanks

Erispoe1 avatar Jun 25 '21 18:06 Erispoe1

Looks like the repo can't be built

asher-lab avatar Jun 26 '21 12:06 asher-lab

The browsers won't allow video & audio access to IP addresses. Try setting up a domain for your local IP and check it out. Let me know your results. Also, if you see any console errors, please do share them as well.

vasanthv avatar Jun 27 '21 07:06 vasanthv

hello,

With HAPROXY, I create an HTTPS reverse-proxy and now TALK is active with IP of local network . Nevertheless, I can't see and listen the another client. I just see Myself in talk :):) In Progress...:):)

Erispoe1 avatar Jun 29 '21 16:06 Erispoe1

the video and audio streaming works if you run locally. not sure what cause this. it might be related to the stun and turn servers. free ones are not working maybe.

MuzafferDede avatar Jul 05 '21 11:07 MuzafferDede

@MuzafferDede were you able to use the service using https://usetalk.io ? or even that can be used only in the local network?

vasanthv avatar Jul 05 '21 12:07 vasanthv

I actually pulled this repo and deployed to heroku, it works fine. I am also working on a project and i face this issue that if i connect between different ip address, can't transfer video and audio, but there is no error at all. all i seen that people says it's because stun and turn servers... i use same as yours, still doesn't work

MuzafferDede avatar Jul 05 '21 13:07 MuzafferDede

@MuzafferDede Can you try to change the ICE_SERVERS to use only Turn server and check if its working across networks?

Change the following line https://github.com/vasanthv/talk/blob/master/www/script.js#L2-L19 to

const ICE_SERVERS = [{ urls: "turn:numb.viagenie.ca", username: "[email protected]", credential: "d0ntuseme" }];

The reason I couldn’t test it, I couldn't find a Symmetric NAT implementation to test it. As symmetric Nat needs TURN servers and STUN servers won't work for it.

vasanthv avatar Aug 09 '21 09:08 vasanthv

I'm agree with @vasanthv,

If that doesn't work with viagenie.ca, try also this one:

const ICE_SERVERS = [{ urls: "turn:openrelay.metered.ca:443", username: "openrelayproject", credential: "openrelayproject"}];
Regards.

miroslavpejic85 avatar Jul 27 '22 14:07 miroslavpejic85

@Erispoe1 Closing this for now. Reopen it if this is not fixed for you yet.

vasanthv avatar Dec 24 '22 13:12 vasanthv