Re:How Discord Handles Two and Half Million Concurrent Voice...
by anderspitman on Monday September 10, 2018 @02:42PM
(#17954024)
Would it be a problem to keep a list of DHT peers in the git repo?
Re:How Discord Handles Two and Half Million Concurrent Voice...
by marknadal on Monday September 10, 2018 @03:01PM
(#17954156)
Good idea. I need to get approval they are OK with their peers being publicly listed (easy DDoS potential, we don't have code yet to [but working on it] mitigate it).
I'll start one with just mine, and then others can PR to opt-in. You want to join?
Re:How Discord Handles Two and Half Million Concurrent Voice...
by anderspitman on Monday September 10, 2018 @04:29PM
(#17954916)
Awesome, thanks.
I'm not actually using WebRTC (or GUN) yet, but I hope to for a project relatively soon and the possibility of not requiring a STUN/ICE server is very enticing to me.
Re:How Discord Handles Two and Half Million Concurrent Voice...
by Orphis on Tuesday September 11, 2018 @05:43AM
(#17958309)
If you need to request more APIs, you should try to talk about your usecase to the WebRTC working group using the users mailing list ( https://groups.google.com/forum/#!forum/discuss-webrtc ). Depending on the question, you may also ask on the spec Github project ( https://github.com/w3c/webrtc-pc ).
Source: Google employee, in the WebRTC WG.
After getting frustrated with all the other WebRTC libraries over the last 4 years, I finally wrote our own ( https://github.com/amark/gun/blob/master/lib/webrtc.js ) which is capable of using a set of decentralized DHT relay-peers in GUN for signaling - and once peers are already on WebRTC, they can signal (daisy-chain "DAM" as we call it) to other WebRTC peers via WebRTC!
Meaning, you don't/won't have to run any servers!!! Ping us on our chatroom if you want the list of DHT peers.
Parent:
Chuck! Sounds like you'd be a very useful person to know. Me, Feross, etc., plenty others have been requesting additional API/protocol access over the last 4 years (some of which FireFox is adding in libdweb extension!). Any chance we could connect and chat? Ping me at [email protected] ?