News for hackers. Stuff that matters.
Re:A simple C implementation to stream H.264 to browser usin... by sublimefire on Thursday April 08, 2021 @07:50AM (#26737614)
Just for completeness sake this is what docs [1] state:

"For most WebRTC applications to function a server is required for relaying the traffic between peers, since a direct socket is often not possible between the clients (unless they reside on the same local network). <...>"

[1] https://webrtc.org/getting-started/turn-server

Re:A simple C implementation to stream H.264 to browser usin... by Sean-Der on Thursday April 08, 2021 @10:57AM (#26739553)
It’s a little more nuanced than this.

https://medium.com/the-making-of-whereby/what-kind-of-turn-s... fippo pulled the stats and saw 17%

This also depends on your clients network. You can determine your NAT mapping type[0] and now ahead of time if you need a TURN server.

To understand NAT behaviors more check out [1]

[0] https://github.com/pion/stun/tree/master/cmd/stun-nat-behavi...

[1] https://webrtcforthecurious.com/docs/03-connecting/#nat-mapp...

Re:A simple C implementation to stream H.264 to browser usin... by BlueTemplar on Friday April 09, 2021 @05:37AM (#26748468)
Modern networks use IPv6 only, so don't have NAT.