万本电子书0元读

万本电子书0元读

顶部广告

Learning WebRTC电子书

售       价:¥

12人正在读 | 0人评论 9.8

作       者:Dan Ristic

出  版  社:Packt Publishing

出版时间:2015-06-30

字       数:63.2万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
If you are a web developer who wants to create well designed WebRTC applications for your users, this is the book for you. Even if you are early in your web development career, this book aims to provide a complete understanding of the WebRTC API. It is assumed that you have previous exposure to web development using HTML5 and JavaScript technologies.
目录展开

Learning WebRTC

Table of Contents

Learning WebRTC

Credits

About the Author

About the Reviewers

www.PacktPub.com

Support files, eBooks, discount offers, and more

Why subscribe?

Free access for Packt account holders

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Errata

Piracy

Questions

1. Getting Started with WebRTC

Audio and video communication today

Enabling audio and video on the Web

Camera and microphone capture

Encoding and decoding audio and video

Transportation layer

Session management

Creating web standards

Browser support

Compatibility with Chrome, Firefox, and Opera

Compatibility with Android OS

Compatibilty with Apple

Compatibility with Internet Explorer

Using WebRTC in your browser

Applications enabled by WebRTC

Self-test questions

Summary

2. Getting the User's Media

Getting access to media devices

Setting up a static server

Creating our first MediaStream page

Constraining the media stream

Constraining the video capture

Handling multiple devices

Creating a photo booth application

Modifying the media stream

Self-test questions

Summary

3. Creating a Basic WebRTC Application

Understanding UDP transport and real-time transfer

The WebRTC API

The RTCPeerConnection object

Signaling and negotiation

Session Description Protocol

Finding a clear route to another user

Session Traversal Utilities for NAT

Traversal Using Relays around NAT

Interactive Connectivity Establishment

Building a basic WebRTC application

Creating a RTCPeerConnection

Creating the SDP offer and response answer

Finding ICE candidates

Adding streams and polishing

Running your first WebRTC application

Self-test questions

Summary

4. Creating a Signaling Server

Building a signaling server

Setting up our environment

Getting a connection

Testing our server

Identifying users

Initiating a call

Answering a call

Handling ICE candidates

Hanging up a call

Complete signaling server

Signaling in the real world

The woes of WebSockets

Connecting with other services

XMPP

Session Initiation Protocol

Self-test questions

Summary

5. Connecting Clients Together

The client application

Setting up the page

Getting a connection

Logging in to the application

Starting a peer connection

Initiating a call

Inspecting the traffic

Hanging up a call

A complete WebRTC client

Improving the application

Self-test questions

Summary

6. Sending Data with WebRTC

Stream Control Transmission Protocol and data transportation

The RTCDataChannel object

Data channel options

Sending data

Encryption and security

Adding text-based chat

Use cases

Self-test questions

Summary

7. File Sharing

Getting a file with the File API

Setting up our page

Getting a reference to a file

Breaking down a file into chunks

Making chunks readable

Reading and sending the file

Putting it together on the other side

Showing progress to the user

Self-test questions

Summary

8. Advanced Security and Large-scale Optimization

Securing the signaling server

Using encryption

Using an OAuth provider

Supporting mobile devices

Introduction to mesh networking

Types of network meshes

Everyone to everyone

Star network

Partial mesh

Limits of mesh networking

Video conferencing with more users

The future of conference calls

Self-test questions

Summary

A. Answers to Self-test Questions

Chapter 1, Getting Started with WebRTC

Chapter 2, Getting the User's Media

Chapter 3, Creating a Basic WebRTC Application

Chapter 4, Creating a Signaling Server

Chapter 5, Connecting Clients Together

Chapter 6, Sending Data with WebRTC

Chapter 7, File Sharing

Chapter 8, Advanced Security and Large-scale Optimization

Index

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部