A webRTC low latency streaming app capable of delivering 4k streams with just a few lines of JavaScript. The app includes basic functionality such as joining and leaving streams and UI features for stream events such as a stream being live or offline.
This code is a suppliment for this blog here: Building a Low Latency Live Stream Viewer
Main: Current branch.
Simple-chat: A live stream app with a basic chatroom powered by PubNub In-App Chat. To learn more switch branches and check out this guide here.
Multiviewer: If you are interested in building a more advanced version of this project that can ingest multiple WebRTC streams switch branches and check out this guide here.
Requires a code editor and a Dolby.io account. The project is built with vanilla JS.
For a more detailed guide check out the blog.
- Create a free Dolby.io account.
- Create a new streaming token and save the Account ID and Stream Name for later.
- Start a broadcast from the Dolby.io dashboard.
- Clone the repo. Since the project is built in Vanilla JS you can just open the index.html file to run the project.
- Inside the app add the Account ID and Stream Name from the token created in step 2.
- Enjoy the stream!
In the case any bugs occur, report it using Github issues, and we will see to it.
We welcome your interest in trying to experiment with our repos.
If there are any suggestions or if you would like to deliver any positive notes, feel free to open an issue and let us know!
- Dolby.io Streaming
- More Dolby.io Tools
- Dolby.io Streaming Web SDK Documentation
- More Streaming Samples and News
Using decades of Dolby's research in sight and sound technology, Dolby.io provides APIs to integrate real-time streaming, voice & video communications, and file-based media processing into your applications. Sign up for a free account to get started building the next generation of immersive, interactive, and social apps.