售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
WebRTC Blueprints
Table of Contents
WebRTC Blueprints
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What is WebRTC?
Supported platforms and devices
Codecs that are supported in WebRTC
Why should I use WebRTC?
Applications you can easily build using WebRTC
More ideas
Benefits of using WebRTC in your business
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. Developing a WebRTC Application
Establishing a peer-to-peer connection
The Session Description Protocol
ICE and ICE candidates
NAT traversal
WebSocket
Preparing the environment
Installing Erlang
Installing Rebar
Configuring a web server
A simple p2p video conference – the browser application
Developing a WebRTC API adapter
Developing a WebRTC API wrapper
Developing an index page
Local and remote video objects
A simple p2p video conference – the server application
The application description file
The application module
The server supervisor
The WebSocket handler
Developing a configuration script for Rebar
Compiling and running the signaling server
Let's start the conference!
Configuring and installing your own STUN server
Summary
2. Using the WebRTC Data API
Introducing the Data API
Introducing protocols
Introducing HTML5
Introducing the HTML5 File API
Known limitations
Preparing the environment
A simple file-sharing service – the browser application
The WebRTC API wrapper
Developing the main page of the application
Running the application
Summary
3. The Media Streaming and Screen Casting Services
Preparing our environment
Using HTTPS and SSL
Configuring a WebSocket proxy
The web browser configuration
Preparing a media file
Developing the application
Developing a signaling server
Limitations
The media streaming and screen casting service
Developing a WebRTC API wrapper
Creating the application's index page
Starting the application and testing it
Summary
4. Security and Authentication
Preparing our environment
Signaling
Using STUN and TURN
Using the TURN authentication
The TURN transport layer
The TURN REST API
Using web-based identity providers
Deploying the TURN server
Configuring HTTPS and self-signed certificates
Configuring the server's firewall
Configuring the TURN server
The TURN REST API flag
Integrating the TURN server with our application
Improving the signaling server
Improving the JavaScript browser-side code
Starting the application and testing
Summary
5. Mobile Platforms
Preparing the environment
Supporting WebRTC on mobile platforms
Android
iOS
Windows Phones
Blackberry
Utilizing WebRTC via a native browser
Utilizing WebRTC using browser applications
Developing native mobile applications
Looking at WebRTC on mobile platforms
Hardware
Environment
Using third-party libraries and SDKs
Building a WebRTC native demo application
Building a WebRTC demo application for Android
Configuring the build environment
Obtaining the source code
Installing Oracle JDK
Preparing for compilation
Installing Android Development Tools
Compiling the code
Running the Android demo application on an emulator
Running the Android demo application on your device
Testing the Android demo application
Building a WebRTC demo for iOS
Preparing the environment
Creating a work directory
Downloading the source code
Getting the chromium depot tools
Downloading the WebRTC source code
Building and running a demo application on the iOS 7 simulator
Building and running a demo application on the iOS device
Fixing possible issues in iOS 7
Changing the code
Summary
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜