DemocraseeClub / website

Tools and resources to turn ideas and intentions into action
4 stars 0 forks source link

Create reliable iceServers #12

Closed eliataylor closed 3 years ago

eliataylor commented 3 years ago

When testing the WebRTC tools in #2 , we often run into

According to this - https://stackoverflow.com/questions/40902001/ice-failed-see-aboutwebrtc-for-more-detail-showing-in-firefox-but-not-in-chr - our iceServers might not be reliable over the great distances we're testing.

It seems we need to create and configure a reliable turn iceServer for the PeerConnection object: https://github.com/eliataylor/clock-agendas/blob/master/src/Config.js#L17

While it appears there are many available here: https://gist.github.com/sagivo/3a4b2f2c7ac6e1b5267c2f1f59ac6c6b

I'm open to exploring what it takes to set one up on GCP.

Screen Shot 2021-03-01 at 4 18 55 PM

eliataylor commented 3 years ago

notes for myself:

https://www.twilio.com/pricing https://www.red5pro.com/docs/server/webrtc/turnstun/ https://ourcodeworld.com/articles/read/1175/how-to-create-and-configure-your-own-stun-turn-server-with-coturn-in-ubuntu-18-04

eliataylor commented 3 years ago

@Branyer / @Aujemd , estoy pensando debemos intentar socket.io en Firebase - ej. https://github.com/muaz-khan/RTCMultiConnection ?

Han usado uno de estos?

eliataylor commented 3 years ago

I created a turn server using coturn on my GCP ubuntu instance for trackauthoritymusic.com:

https://github.com/eliataylor/clock-agendas/blob/rtc-refactor/src/Config.js#L38