Programming WebRTC - Karl Stolley

Programming WebRTC

Build Real-Time Streaming Applications for the Web

(Autor)

Buch | Softcover
220 Seiten
2024
The Pragmatic Programmers (Verlag)
978-1-68050-903-8 (ISBN)
41,50 inkl. MwSt
After almost a decade of development, the WebRTC specification was finalized, and this book provides faithful coverage of that finalized specification. You'll start by building a basic but complete WebRTC application for video chatting. Chapter by chapter, you'll refine that app and its core logic to spin up new and exciting WebRTC-powered apps.
Build your own video chat application - but that's just the beginning. With WebRTC, you'll create real-time applications to stream any kind of user media and data directly from one browser to another, all built on familiar HTML, CSS, and JavaScript. Power real-time activities like text-based chats, secure peer-to-peer file transfers, collaborative brainstorming sessions - even multiplayer gaming. And you're not limited to two connected users: an entire chapter of the book is devoted to engineering multipeer WebRTC apps that let groups of people communicate in real time. You'll create your own video conferencing app. It's all here.

WebRTC is an API exposed in all modern web browsers. After almost a decade of development, the WebRTC specification was finalized, and this book provides faithful coverage of that finalized specification. You'll start by building a basic but complete WebRTC application for video chatting. Chapter by chapter, you'll refine that app and its core logic to spin up new and exciting WebRTC-powered apps that will have your users sharing all manner of data with one another, all in real time. No third-party libraries or heavy downloads are required for you or your users: you'll be writing and strengthening your knowledge of vanilla JavaScript and native browser APIs.
You'll learn how to directly connect multiple browsers over the open internet using a signaling channel. You will gain familiarity with a whole set of Web APIs whose features bring WebRTC to life: requesting access to users' cameras and microphones; accessing and manipulating arbitrary user files, right in the browser; and web storage for persisting shared data over the life of a WebRTC call. Like any Web API, WebRTC doesn't enjoy a perfect implementation in any browser. But this book will guide you in writing elegant code to the specification, with backward-compatible fallback code for use in almost all modern browsers.

Use WebRTC to build the next generation of web applications that stream media and data in real time, directly from one user to another - all by working in the browser.

What You Need:

Readers need a text editor, an up-to-date copy of Chrome or Firefox, and a POSIX-style command-line shell. They'll also need to install a little bit of open-source software, especially Node.js. All necessary setup is covered in full in the book's introductory chapter.

Karl Stolley is an associate professor of information technology and management at Illinois Institute of Technology in Chicago. He's been teaching, researching, and practicing web development up and down the stack since the blink tag was still a thing. He's a frequent speaker at national and international conferences, and a routine presenter and participant in professional developer groups and meetups in Chicago.

Erscheinungsdatum
Verlagsort Raleigh
Sprache englisch
Maße 191 x 235 mm
Themenwelt Informatik Grafik / Design Film- / Video-Bearbeitung
Mathematik / Informatik Informatik Web / Internet
ISBN-10 1-68050-903-9 / 1680509039
ISBN-13 978-1-68050-903-8 / 9781680509038
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Philippe Fontaine; Burghard Vogel

Buch | Hardcover (2023)
Rheinwerk (Verlag)
79,90
Schritt für Schritt zum perfekten Film: Videoschnitt, Effekte, Sound

von Robert Klaßen

Buch | Hardcover (2021)
Rheinwerk (Verlag)
49,90