Janus WebRTC Server can be used to make the stream available to more viewers. One thing that I should note in advance is that only one peer will be able to watch the stream at a time. The goal is to set up a U4VL streaming server to serve our own custom web streaming page and we're going to do so in this tutorial.
You can check UV4L page for a documentation, custom drivers and tutorials on how to install and quickly set up a UV4L Streaming server, but we'll take matters further and talk about more advanced stuff you can do with it. WebRTC extension for the UV4L Streaming Server by Linux Projects There are already few projects that aim to do just that and today we're going to use one of it to accomplish our goals: Our Pi in this scenario becomes a remote peer!
They all use WebRTC for their real time communication implementations.Īnd while WebRTC wasn't developed with the Raspberry Pi in mind particularly, we can actually use it for high resolution and low latency audio and video streaming. Facebook's Messenger, Google's Hangouts, Discord.
It allows audio and video communication to work inside web pages by allowing direct peer-to-peer communication, eliminating the need to install plugins or download native apps. WebRTC is a free, open project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. So after doing some research I actually found a solution - WebRTC.
The version number of the Firefox web browser should be displayed. To see the version of the Firefox web browser you’re running, click on the hamburger menu () from the top right corner of the Firefox web browser and go to Help. Once the Firefox web browser is installed, you can start Firefox from the Raspberry Pi OS Menu > Internet > Firefox ESR, as shown in the screenshot below. It may take a while to complete.Īt this point, Firefox should be installed. The APT package manager will download and install all the required packages from the internet. To confirm the installation, press Y and then press.