An interesting application of the recent addition of the WebRTC extension for the UV4L Streaming Server is Audio/Video Conferencing in pure HTML5 (NO configuration required).
If you want to try it out, just install UV4L and visit this Web Page with any browser (in the future this page will be part of the UV4L Streaming Server as well).
Not only you will be able to stream your local media to all the participants of the conference, but from the same page you will be also able to add any Remote UV4L Peers (i.e. a RaspberryPi2 with a Camera and Microphone attached) to the same conference.
Shortly after the announcement of the first release of the WebRTC extension for the UV4L Streaming Server, here's another update! As promised, Audio from an input device (i.e. microphone) can now be optionally added to the live stream!
A pure HTML5 test page is here.
Please read the documentation for all the available options.
Video & Audio streams have been successfully tested on Chrome, Opera, Firefox and Android. Due to a bug in Firefox prior to version 37.0, when audio is enabled, Firefox does not display the Video track. The problem has been fixed since v.37.
Yes, it's true! The native WebRTC extension for the UV4L Streaming Server is now ready!
At the moment, this extension is available for Raspberry Pi 2 only. Packages for x86 will be provided soon. The Raspberry Pi 1 will not be supported. Again, do NOT install the WebRTC extension on the Rasperry Pi 1.
To know how to install UV4L and the WebRTC extension please refer to the appropriate documentation section. Here are the instructions for Raspbian.
Support for audio is work-in-progress. Among the nice things which are now possible there are NAT traversal, VP8 encoding, efficient adaptive streaming, echo cancellation, encryption, very short delays, etc...
Once installed, to quickly try it, go to the Streaming Server page, navigate to the WebRTC Page and press "Start" to get a live stream. You can take the source of that HTML5 page and modify/use it as you prefer.
Tested on recent versions of Firefox, Chrome, Opera, Android. Safari does not seem to support WebRTC (deliberately).
A first screenshot (~200ms delay example) is here.
New, improved releases of the raspicam driver and streaming server are out.
New features include:
- support for multiple clients in the Streaming Server
- new --intra-refresh-mode H264 option
Please check the appropriate material under the Documentation section for manuals or informations on how to install the software.
These are the features on which there is some work-in-progress at the moment:
- Support for multiple (simultaneous) clients in the Streaming Server
- Record while streaming option
- HLS (MPEG-TS) in the Streaming Server