<story><title>Untangling the WebRTC Flow</title><url>https://www.pkcsecurity.com/untangling-webrtc-flow.html</url></story><parent_chain></parent_chain><comment><author>moron4hire</author><text>&amp;gt; Step 9 · failure. Just log the error to console and call it a day.&lt;p&gt;There is not a single WebRTC guide that says anything else on the matter of error handling. There is zero guidance on how to handle fail over, what parts are recoverable, how to sequence multiple users joining a session at the same time, what to do if the signal process hangs--basically anything other the default one-to-one successful scenario. All we ever get is the same rehashing of the signalling process, for the last 5 years now. It&amp;#x27;s ridiculously bad.&lt;p&gt;I think once you understand the handshake, it make a lot of sense. But the success case is just one. And we don&amp;#x27;t need 20 guides on it with 0 on any error cases.&lt;p&gt;I&amp;#x27;ve probably read 90% of the available literature, including several full length books. They pad their length with code listings, like people copy code out of books anymore. You are on your own if you are trying to develop a good app using WebRTC.</text></comment>
<story><title>Untangling the WebRTC Flow</title><url>https://www.pkcsecurity.com/untangling-webrtc-flow.html</url></story><parent_chain></parent_chain><comment><author>kodablah</author><text>I&amp;#x27;ve found this[0] chapter has a great overview of WebRTC communication. I do wish the transports were a bit more pluggable so I could use, say, an onion service to bust NAT for me.&lt;p&gt;In general I believe WebRTC, as a set of multiple protocols, has too few full implementations (i.e. w&amp;#x2F; the stun&amp;#x2F;turn&amp;#x2F;ice server AND client sides, media extensions, etc). I think with more implementations, WebRTC will become a decent p2p standard even without the browser. I personally am starting to toy w&amp;#x2F; a Rust impl of some of the RFCs.&lt;p&gt;0 - &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;hpbn.co&amp;#x2F;webrtc&amp;#x2F;&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;hpbn.co&amp;#x2F;webrtc&amp;#x2F;&lt;/a&gt;</text></comment>