Getting Started with WebRTC

Rob Manson

  • 出版商: Packt Publishing
  • 出版日期: 2013-09-06
  • 售價: $1,490
  • 貴賓價: 9.5$1,416
  • 語言: 英文
  • 頁數: 114
  • 裝訂: Paperback
  • ISBN: 1782166300
  • ISBN-13: 9781782166306
  • 海外代購書籍(需單獨結帳)

買這商品的人也買了...

相關主題

商品描述

If you have basic HTML and JavaScript, you're well on the way to adding real time, peer-to-peer communication to your web applications using WebRTC. This book shows you how through a totally practical, structured course.

Overview

  • Set up video calls easily with a low bandwidth audio only option using WebRTC
  • Extend your application using real-time text-based chat, and collaborate easily by adding real-time drag-and-drop file sharing
  • Create your own fully working WebRTC application in minutes

In Detail

WebRTC delivers web-based real-time communication and is set to revolutionize our view of what the Web really is. Streaming audio and video from browser to browser, as well as opening raw access to the camera and microphone, is already creating a whole new dynamic web. WebRTC also introduces real-time data channels that will allow interaction with dynamic data feeds from sensors and other devices. This really is a great time to be a web developer!

Getting Started with WebRTC provides all of the practical information you need to quickly understand what WebRTC is, how it works, and how you can add it to your own web applications. It includes clear working examples designed to help you get started building your own WebRTC-enabled applications right away.

Getting Started with WebRTC will guide you through the process of creating your own WebRTC application that can be applied in a number of different real-world situations, using well documented and clearly explained code examples.

You will learn how to quickly and easily create a practical peer-to-peer video chat application, an audio only call option, and how a Web-Socket-based signaling server can also be used to enable real-time text-based chat. You will also be shown how this same server and application structure can easily be extended to include simple drag-and-drop file sharing with transfer updates and thumbnail previews.

What you will learn from this book

  • Discover how to offer an audio only option as an alternative
  • Create an extensible Web Socket signaling server
  • Detect which browsers support WebRTC
  • Extend your application with real-time text-based chat
  • Add rich collaboration with drag-and-drop file sharing
  • Use RTCDataChannels to share real-time data
  • Design a state-based user interface for WebRTC apps
  • Explore the options available for image and audio post-processing and analysis

Approach

The book will follow a step-by-step tutorial approach to construct an application that allows video conferencing and calls between two browsers and a system for sharing files among a group.

Who this book is written for

This book is ideal for developers new to the WebRTC standards who are interested in adding sensor-driven, real-time, peer-to-peer communication to their web applications. You will only need basic experience with HTML and JavaScript.

商品描述(中文翻譯)

如果您具備基本的HTML和JavaScript知識,那麼您已經在使用WebRTC將實時點對點通信添加到您的Web應用程序上迈出了重要的一步。本書將通過一個完全實用、結構化的課程向您展示如何實現這一目標。

概述:
- 使用WebRTC輕鬆設置視頻通話,並提供低帶寬的僅音頻選項
- 通過實時基於文本的聊天擴展您的應用程序,並通過添加實時拖放文件共享來輕鬆協作
- 在幾分鐘內創建您自己完全可工作的WebRTC應用程序

詳細內容:
WebRTC提供基於Web的實時通信,將徹底改變我們對Web的看法。從瀏覽器到瀏覽器的音頻和視頻流,以及對攝像頭和麥克風的原始訪問,已經創造了一個全新的動態Web。WebRTC還引入了實時數據通道,允許與來自傳感器和其他設備的動態數據源進行交互。對於Web開發人員來說,這真是一個很好的時代!

《入門WebRTC》提供了您快速了解WebRTC是什麼、它如何工作以及如何將其添加到您自己的Web應用程序中所需的所有實用信息。它包含清晰的實例,旨在幫助您立即開始構建自己的WebRTC應用程序。

《入門WebRTC》將引導您完成創建自己的WebRTC應用程序的過程,並可以應用於多種不同的現實世界情境,使用有文檔記錄和清晰解釋的代碼示例。

您將學習如何快速輕鬆地創建一個實用的點對點視頻聊天應用程序,僅提供音頻通話選項,以及如何使用基於Web Socket的信令服務器實現實時基於文本的聊天。您還將了解如何通過擴展,使該服務器和應用程序結構輕鬆地包括具有傳輸更新和縮略圖預覽的簡單拖放文件共享。

本書的學習重點:
- 發現如何提供僅音頻選項作為替代方案
- 創建可擴展的Web Socket信令服務器
- 檢測支持WebRTC的瀏覽器
- 通過實時基於文本的聊天擴展您的應用程序
- 添加豐富的協作功能,包括拖放文件共享
- 使用RTCDataChannels共享實時數據
- 為WebRTC應用程序設計基於狀態的用戶界面
- 探索圖像和音頻後處理和分析的可用選項

方法:
本書將採用逐步教程的方式,構建一個允許兩個瀏覽器之間進行視頻會議和通話,以及在一個群組中共享文件的應用程序。

本書適合對WebRTC標準尚不熟悉但有興趣將基於傳感器的實時點對點通信添加到其Web應用程序中的開發人員。您只需要基本的HTML和JavaScript經驗即可。