News for hackers. Stuff that matters.
Re:Peer Calls: WebRTC peer to peer calls for everyone by toast0 on Monday September 30, 2024 @07:16PM (#41703110)
I've setup TCP and TCP+TLS for an SFU, and at least for my client base, it's barely used, but it is used. Almost everyone can do UDP.

For 1:1 calling, I suspect the number of peers that can do peer to peer TCP, but not UDP is so small that it's not worth bothering.

But that doesn't answer your question, sorry. I know the application I work on doesn't listen for incoming tcp on clients, but I think there is support for it in the WebRTC library. (Not sure if Firefox pulls that in, or wrote their own implementation?)

Re:Peer Calls: WebRTC peer to peer calls for everyone by ranger_danger on Monday September 30, 2024 @08:37PM (#41703578)
Many public wifi spots like stores, hotels, airplanes etc. often block UDP (other than local DHCP).
Re:Peer Calls: WebRTC peer to peer calls for everyone by toast0 on Monday September 30, 2024 @09:03PM (#41703709)
Yeah, so your SFU or your TURN server needs to support TCP.

But if you're on public wifi, chances are you can't get inbound tcp to work. And the majority of the peers you might connect to probably can't either. It's not worth the effort to eek a tiny % more peer to peer when you have to build the relay server fallback anyway.