实例介绍
【实例简介】
【实例截图】
【核心代码】
Table of Contents Preface v Chapter 1: Getting Started with WebRTC 1 Audio and video communication today 1 Enabling audio and video on the Web 2 Camera and microphone capture 3 Encoding and decoding audio and video 3 Transportation layer 4 Session management 4 Creating web standards 5 Browser support 6 Compatibility with Chrome, Firefox, and Opera 6 Compatibility with Android OS 6 Compatibilty with Apple 6 Compatibility with Internet Explorer 7 Using WebRTC in your browser 7 Applications enabled by WebRTC 8 Self-test questions 8 Summary 9 Chapter 2: Getting the User's Media 11 Getting access to media devices 11 Setting up a static server 12 Creating our first MediaStream page 13 Constraining the media stream 15 Constraining the video capture 17 Handling multiple devices 22 Creating a photo booth application 24 Modifying the media stream 26 Self-test questions 28 Summary 29 www.it-ebooks.info Table of Contents [ iii ] Starting a peer connection 88 Initiating a call 91 Inspecting the traffic 92 Hanging up a call 94 A complete WebRTC client 94 Improving the application 100 Self-test questions 100 Summary 101 Chapter 6: Sending Data with WebRTC 103 Stream Control Transmission Protocol and data transportation 103 The RTCDataChannel object 105 Data channel options 107 Sending data 108 Encryption and security 109 Adding text-based chat 110 Use cases 113 Self-test questions 115 Summary 116 Chapter 7: File Sharing 117 Getting a file with the File API 118 Setting up our page 121 Getting a reference to a file 126 Breaking down a file into chunks 128 Making chunks readable 129 Reading and sending the file 131 Putting it together on the other side 133 Showing progress to the user 136 Self-test questions 137 Summary 138 Chapter 8: Advanced Security and Large-scale Optimization 139 Securing the signaling server 139 Using encryption 140 Using an OAuth provider 140 Supporting mobile devices 142 Introduction to mesh networking 144 Types of network meshes 146 Everyone to everyone 146 Star network 147 Partial mesh 149 Limits of mesh networking 150 www.it-ebooks.info Table of Contents [ iv ] Video conferencing with more users 151 The future of conference calls 153 Self-test questions 154 Summary 155 Appendix: Answers to Self-test Questions 157 Chapter 1, Getting Started with WebRTC 157 Chapter 2, Getting the User's Media 157 Chapter 3, Creating a Basic WebRTC Application 158 Chapter 4, Creating a Signaling Server 158 Chapter 5, Connecting Clients Together 158 Chapter 6, Sending Data with WebRTC 158 Chapter 7, File Sharing 159 Chapter 8, Advanced Security and Large-scale Optimization 159 Index 161
好例子网口号:伸出你的我的手 — 分享!
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论