Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi 2 Server Essentials

You're reading from   Raspberry Pi 2 Server Essentials Transform your Raspberry Pi into a multi-purpose web server that supports your entire multimedia world with this practical and accessible tutorial!

Arrow left icon
Product type Paperback
Published in Apr 2016
Publisher
ISBN-13 9781783985692
Length 174 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Piotr J Kula Piotr J Kula
Author Profile Icon Piotr J Kula
Piotr J Kula
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Getting Started with the Raspberry Pi FREE CHAPTER 2. Preparing a Network 3. Configuring Extra Features 4. Using Fast Web Servers and Databases 5. Setting Up the Raspberry Pi as a File Server 6. Setting Up Game Servers 7. Streaming Live HD Video 8. Setting Up the Pi as a Media Center Server 9. Running Your Pi from a Battery's Power Source 10. Windows IoT Core 11. Running Your ownCloud 12. The Internet of Things – Sensors in the Cloud Index

Installing WebRTC


Web Real-Time Communication (WebRTC) is a protocol that allows modern web browsers to establish a peer-to-peer link to exchange data. UV4L uses WebRTC to create a socket to the Raspberry Pi and receive a live H264 video stream, eliminating the need for transcoding and allowing us to watch a high-quality, low-latency video directly in our browser.

To install the WebRTC module for uv4l-server, we just need to issue one command and restart UV4L:

sudo apt-get install uv4l-webrtc 
sudo service uv4l_raspicam restart

WebRTC streaming

Please be aware that UV4L WebRTC streams in an adaptive bitrate and resolution. The bitrate and resolution streamed to the client will adaptively adjust based on the connection quality. This means that any configuration that you have applied will not apply to WebRTC streams, but the overlay will still work. It may also disconnect other streams that do not use WebRTC.

You can now navigate to http://raspberrypi:8080, and you will be presented with a screen...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image