第三版WebRTC-APIs and RTCWEB Protocols of the HTML5 Real-Time Web原版完整.pdf
《第三版WebRTC-APIs and RTCWEB Protocols of the HTML5 Real-Time Web原版完整.pdf》由会员分享,可在线阅读,更多相关《第三版WebRTC-APIs and RTCWEB Protocols of the HTML5 Real-Time Web原版完整.pdf(368页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、TABLE OF CONTENTSPreface1.Introduction to Web Real-Time Communications2.How to Use WebRTC3.Local Media4.Signaling5.Peer-to-Peer Media6.Peer Connection and Offer/Answer Negotiation7.Data Channel8.W3C Documents9.NAT and Firewall Traversal10.Protocols11.IETF Documents 12.IETF Related RFC Documents13.Se
2、curity and Privacy14.Implementations and UsesA.The W3C Standards Process B.The IETF Standards ProcessC.GlossaryD.Supplementary Reading and SourcesAbout the Authors Alan B.Johnston Daniel C.BurnettThird EditionC:Digital Codex LLC 1 Copyright 2014 Digital Codex LLCP.O.Box 9131,St.Louis,MO 63117,USA ht
3、tp:/Kindle eBook Edition All rights reserved.All trademarks are the property of their respective holders.ISBN-13:978-0-98597887-7ISBN-10:0985978872DEDICATIONFor Aidan&Nora,and Craig&Fiona ACKNOWLEDGMENTS We would like to thank our technical reviewers Alex Agranovsky,CarolDavids,Emil Ivov,David Kemp,
4、Henry Sinnreich,Harvey Waxman,and DanYork.We would also like to thank Marina Burnett and Chris Comfort for theirproofreading and comments.We would also like to thank our families for theirencouragement and support.And finally,we would like to acknowledge our colleagues in W3C and theIETF who are wor
5、king incredibly hard at creating the WebRTC standards.PREFACE The changes in the world of WebRTC are amazing,but they sometimes feelsschizophrenic.At times,it is moving forward rapidly,making major strides.Atother times,it seems slow and almost glacial in its progress.Interoperabilitytoday is superb
6、,and making our demo application work between browsers(Chrome and Firefox)and platforms(Windows and Mac)with voice,video,and the data channel has been a breeze.On the other hand,there are someinteroperability clouds on the horizon with potential video interop issues andeven alternative APIs.Time wil
7、l tell which personality will dominate going forward.Certainly,thestandards and implementations are maturing and converging,and this makesour code writing and book writing much easier than it was back in the days ofthe first edition.This edition has new content in the form of an enhanced demo applic
8、ationwhich now shows the use of the data channel for realtime text sent directlybetween browsers.Also,a full description of the browser media negotiationprocess including actual SDP session descriptions from Firefox and Chrome.Hints on how to use Wireshark to monitor WebRTC protocols,and examplecapt
9、ures are also included.TURN server support for NAT and firewalltraversal is also new.This edition also features a step-by-step introduction to WebRTC,withconcepts such as local media,signaling,and the Peer Connection introducedthrough separate runnable demos.As always,all our code is available fordo
10、wnload at http:/ and is up and running athttp:/ for you to try.eBook Note:Code and lists will look best with the smallest font size of yourdevice.We hope this new edition will be helpful to you in your WebRTCdevelopment and integration.PREFACE TO SECOND EDITION WebRTC continues to evolve and grow in
11、 the handful of months since wepublished the first edition of WebRTC:APIs and Protocols of the HTML5RealTime Web.There has been real progress in many areas in the IETF and W3C standards,although much work remains.Eventing,stream representation at the protocollevel,and even the syntax for some callba
12、cks are all still very much underdiscussion,while details such as how multiple video tracks within a singleMediaStream work and what should happen when a MediaStream attached toan HTML element has tracks added or removed are only now beginning to beconsidered.Nevertheless,the core APIs are firming u
13、p.On the usage side,conferences,meetups,and startups have sprung up and are growing rapidly insize,with the World seeking to understand WebRTCs impact andopportunities.Other trends have become clear as well.The disagreement about codecs,especially video codecs is escalating from a fight,to a war,to
14、MutuallyAssured Patent Destruction.The authors sincerely hope that the standards andindustry come to agreement quickly on the mandatory to implement videocodec very soon.While the basic parts of WebRTC are working well in demos andapplications today,many of the concerns and issues with WebRTC revolv
15、earound security and the signaling channel,which have complete new chaptersin this second edition.Additionally,the sample code out there on the Webtoday is often either too complex or insufficiently explained,motivating thecomplete running and completely explained example in this new edition.Thisdem
16、o code,running on both Chrome and Firefox,is also on our website athttp:/.We hope that this new updated edition keeps you excited and informed aboutWebRTC.Happy reading!PREFACE TO FIRST EDITION The Internet and the World Wide Web have changed our world.When thehistory of this period is written,much
17、will be said about the impact of thesetechnologies on life in the late 20th and early 21st centuries.The web haschanged the way we receive information,interact with others,work,and play.Now,the web is about to dramatically change the way we communicate usingvoice and video.This book gives an up-to-t
18、he-minute snapshot of the standardsand industry effort known as WebRTC,which is short for Web RealTimeCommunications.This technology,along with other advances in HTML5browsers,has the potential to revolutionize the way we all communicate,inboth personal and business spheres.The authors have been inv
19、olved in the Internet Communications industry formany years,and have seen the advances and impact of the Internet on voice andvideo communications.We have worked on signaling protocols such asSession Initiation Protocol(SIP),Session Description Protocol(SDP),andsecurity protocols such as ZRTP for vo
20、ice and video communication systemsthat will form the basis of what will inevitably replace the telephone system(called the Public Switched Telephone Network or PSTN).These InternetCommunications technologies have brought an amazing wave of disruption,butwe believe WebRTC has the potential to create
21、 even greater disruption.This book provides information for web developers and telephonydevelopers who want to catch this new wave while it is still building.Thestandards and protocols needed for WebRTC are still being developed andinvented.Browsers are starting to support WebRTC functionality,littl
22、e bylittle.However,the authors have seen the need for a book to explain this still-developing technology.This book will explain the technical goals,architectures,protocols,and Application Programming Interfaces(APIs)ofWebRTC.In a publishing experiment,we plan to produce frequent editions ofthis book
23、,perhaps as often as three per year,and focus on digital delivery andon-demand publishing to keep costs down and for maximum hyper linkingusefulness.For information on the latest edition and for a list of updates andchanges,visit http:/.This book begins with an introduction to WebRTC and discusses w
24、hat isnew about it.The unique aspects of WebRTC peer-to-peer media flows areexplored,and Network Address Translation(NAT)traversal explained.Wethen discuss the working documents and finalized documents that togethercomprise the WebRTC standards-in-progress in both the World Wide WebConsortium(W3C)an
25、d the Internet Engineering Task Force(IETF).Eachchapter ends with a references section,listing the various standardsdocuments.References of the form RFC are IETF Request For Commentsdocuments.References of the form draft-are IETF Internet-Drafts,working documents,whose content may have been updated
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 第三版WebRTC-APIs and RTCWEB Protocols of the HTML5 Real-Time Web原版完整 第三 WebRTC APIs Real Time
链接地址:https://www.taowenge.com/p-89739228.html
限制150内