As we learned in this article, nanoStream Webcaster (formerly known as WebRTC.live) is a powerful live encoding tool for browser-based interactive live streaming. Combining it with the unique nanoStream Cloud with integrated nanoStream H5Live Player creates an end-to-end workflow for scalable ultra-low-latency live streams worldwide.
This article shows how to use the nanoStream Webcaster demo applications from our web sites to share live streams from your web cam to your audience via the H5Live Player.
End-to-end live streaming workflow
What is H5Live?
nanoStream H5Live is a unique delivery and playback technology working on all HTML5 browsers. It is a unique development by nanocosmos based on existing HTML5 / streaming technologies like HLS, fMP4, and Websockets; dependent on the target device and browser, the stream format is automatically chosen.
nanoStream Webcaster is connected to the camera side, to ingest a live stream into nanoStream Cloud for delivery.
H5Live is connected to the delivery/playback parts of nanoStream Cloud, as Webcaster is connected to the camera/ingest/encoding part.
nanoStream Cloud and H5Live enable a scalable solution for large audiences.
nanoStream Cloud Global Footprint
nanoStream Cloud contains all software and services for interactive live streaming worldwide. It includes a global CDN (content delivery network) of ingest and edge servers which is designed for ultra-low-latency worldwide for global audiences. WebRTC.live and H5Live web clients are seemlessly integrated into this architecture and automatically choose the closest server locations available to the user.
How to use nanoStream Webcaster?
It is very simple to test and use nanoStream Webcaster as your live encoder to nanoStream Cloud. You need a camera connected to your computer or built-in on your device, and a WebRTC-compatible browser. We recommend using Google Chrome, but Webcaster also works with Firefox, Safari or Edge.
There are three options:
1 Easy and quick demo for simple test.
On the right-hand side of the page you see the Webcaster window.
Click on the image to see your webcam preview.
Click on the orange button to start the broadcast. You will need to provide your email first.
Your broadcast will then start: the live stream is sent to nanoStream Cloud.
Simple playback of your live stream: a new area with nanoStream H5Live Player will appear right below with your live stream.
The H5Live Player shows the low latency live stream coming from nanoStream Cloud. You can share the URL to test low latency live playback on any HTML5 browser.
2 Start with our sample HTML page.
You can use our sample web page with all broadcast features for further testing.
Note: You need a nanoStream Cloud / bintu.live account and API key to use this page. See below for instructions.
When opening the page, you need to add your bintu API key to the browser URL.
First, open the provided URL with a WebRTC-compatible browser.
You will see a preview of your camera image or screen in the „Local Video“ window.
If you want to choose another camera or microphone, select „options“.
You are then ready to start your broadcast. Simply click on „broadcast“ to start the live stream.
The live stream is sent to nanoStream Cloud and can be played with the H5Live player.
To start playback click on „play h5live stream“ below the Broadcast Settings.
The player will open in a new web page. You share this web page and open on all HTML5 browsers to play the live stream in ultra-low-latency.
The Webcaster configuration is automatically set to H264 video with 500 kbits/s. Audio is sent with the Opus audio codec and will be transcoded automatically to AAC for live distribution with nanoStream Cloud.
3 Embed nanoStream Webcaster as a live encoder and nanoStream H5Live Player in your own webpage. Learn more here.
You can easily embed nanoStream WebRTC.live and nanoStram H5Live Player in our own web page.
- verify that your webcam is running
- your web page needs to be accessible over https.
- you have verified that the WebRTC.live test (above) works on your browser
Create your own nanoStream Cloud account
To stream directly to nanoStream Cloud you will need to register at bintu.live . Bintu.live is the rest API and stream management tool included in nanoStream Cloud.
You can find the step-by-step guide to register by clicking here.
Once registered, you can create new URLs by calling the bintu API with a valid API key.
Finally, combining nanoStream WebRTC.live with nanostream Cloud and nanoStream H5Live Player is simply a click on “start broadcast” and your stream will be available around the world in 1 second!