Posts Tagged demo
I am very proud of the Third Edition of the WebRTC Book that came out just a few weeks ago. My co-author Dan and I have been working on it for months, and it is always exciting to launch a new edition!
We worked feverishly during the IETF-89 meeting in London to get all the updates finished – all the APIs, protocols, and standards referenced should be up to date as of then (first week in March). We also had a lot of fun testing and doing screen captures of the new Demo Application, which now utilizes the WebRTC data channel for Real-Time Text (RTT) between the two browsers. I’ll write another day about RTT and how much fun it is compared to normal texting or instant messaging in another post. For us, to make use of the data channel APIs and protocols and show the interoperability between Chrome and Firefox browsers was a lot of fun as well.
The Demo Application also can now utilize a TURN server for enhanced NAT traversal. In some circumstances, NATs or firewalls will prevent a direct peer-to-peer Peer Connection from being established between two browsers, and a relay in the cloud is needed. If the Demo Application fails for you, try reloading the page adding a ?turnuri=1 to the URL and see if it works for you!
Also new for this edition is a description of how to analyze WebRTC protocols on your computer using the excellent open source packet capture and analysis tool Wireshark. Between Wireshark and various browser tools (try Tools/Developer Tools in Chrome and Tools/Web Developer in Firefox, or chrome://webrtc-internals in Chrome for lots of useful WebRTC info), you can learn a lot just by playing with WebRTC. If your application is not working, these tools allow you to debug and analyze what is happening.
Finally, Dan’s introduction to the WebRTC API has been greatly expanded with step-by-step introductions to the various functional parts of the client and server code. As always, you can download all of our Demo Application code from our book website, and also see it running as well.
We have received so much excellent feedback in the one and a half years since we published the first edition. We can’t wait to hear from you on what you think of the Third Edition. We enjoy hearing from you on Twitter, Facebook, or Google+.