Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WebRTC Blueprints
  • Table Of Contents Toc
  • Feedback & Rating feedback
WebRTC Blueprints

WebRTC Blueprints

By : Andrii Sergiienko
4.2 (9)
close
close
WebRTC Blueprints

WebRTC Blueprints

4.2 (9)
By: Andrii Sergiienko

Overview of this book

Table of Contents (13 chapters)
close
close
WebRTC Blueprints
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 3. The Media Streaming and Screen Casting Services

In the previous chapter, we learned about data channels and developed a simple file-sharing application that uses direct peer-to-peer connections. We learned about data channel types, got introduced to terms such as TLS/DTLS and SRTP/SCTP, and also covered which data channel type is suitable for what kind of tasks.

We also utilized the HTML5 File API functions when working with the file system in the JavaScript code, and we will use this knowledge when developing the demo application in this chapter.

In this chapter, we will use our knowledge about data channels and develop an application that provides two new useful features: streaming prerecorded videos and screen casting (demonstrating a screen to the remote side in real time).

Streaming prerecorded media is a standard feature of the WebRTC technology. It allows peer A to stream the prerecorded media to peer B, who can play it online. How can this be useful in real life? For example...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY