Posts Tagged peer connection

Third Edition of the WebRTC Book

WebRTC BookI 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.

16The 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.

Screen Shot 2014-04-02 at 3.40.26 PMFinally, 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+.

, , , , ,

Leave a comment

My New Book – WebRTC: APIs and RTCWEB Protocols of the HTML5 Real-Time Web

WebRTC: APIs and RTCWEB Protocols of the HTML5 Real-Time Web Book Cover

WebRTC: APIs and RTCWEB Protocols of the HTML5 Real-Time Web

Today, I’m excited to announce the publication of my new technical book entitled “WebRTC: APIs and RTCWEB Protocols of the HTML5 Real-Time Web”. The book introduces and explains Web Real-Time Communicatons (RTC), a hot topic in the web and Internet Communications industry right now.

Many of us enjoy services such as Skype, but you have to download the app and install it before you can talk to anyone. WebrRTC browsers have all this built into them – no download, no codecs, no Flash, no plugins needed! This will be really popular with web users. Imagine what Google or Facebook could do with this?

If you are a developer wanting to add voice or video communication to your site or app, in the past it was a complicated business. You needed to write or license a media stack and signaling stack and then integrate them into your own plugin. With WebRTC, you just add a few lines of JavaScript and you are done!

Oh, and I can’t forget gaming! WebRTC allows peer-to-peer data channels to be established between browsers. And again, just a few lines of JavaScript is needed.

If you want to try WebRTC today, it is already in Google’s Chrome Canary (developers version). There are sites out there today live – I’ll share them in future posts. It will be available in most browsers starting next year.

If you want to learn about WebRTC, you might find my book, written with my co-author Daniel C. Burnett from Voxeo), useful. I enjoyed writing it!

Feel free to interact with us on social media, Google+ or Twitter. Comments, suggestions, and opinions are most welcome.

, , , , ,

1 Comment