O'Reilly logo

WebRTC Blueprints by Andrii Sergiienko

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Security and Authentication

In the previous chapter, we learned how to deal with the HTML5 File API to read files from a JavaScript application. We obtained knowledge on how to work with the media streaming the WebRTC API.

We also developed an application based on our newly acquired knowledge, which provides two useful features: screen casting and streaming of prerecorded media. Using the first feature, a customer can show their screen to a remote peer. Using the second feature, a customer can stream a prerecorded media file directly to a remote peer without any upload/download file operations. Both features just work in a web browser.

While developing our application, we also acquired basic knowledge on HTTPS and its configuration at ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required