May 30, 2017

Using SLDP with Nimble Streamer

Recently we introduced new real-time low latency protocol called SLDP. It allows sub-second delay for live streaming delivery for the cases when it's truly important.

From the setup perspective it's just another output protocol from the list of supported once which you can see on our live streaming digest page.
However, let's see how it can be added to your streaming scenarios based on Nimble Streamer, step-by-step.


Nimble Streamer upgrade


SLDP works on any latest Nimble Streamer version. So you can either install it or upgrade - the least version you should consider is 3.2.2.5. SLDP is not working in earlier versions.

Operating SLDP


Enabling protocol


From the control perspective, SLDP is just another output protocol which needs to be enabled either for entire server or for specific application.

Notice that if you use published RTMP or announced RTSP as a source, you will need to re-publish the stream after enabling the protocol. Any newly applied protocol is enabled only when on the stream's start.

Click on Nimble Streamer -> Live Streams Settings menu. You will see Global tab for server-wise settings.



Click on Softvelum Low Delay and save settings to enable SLDP output.

You can also click on Applications tab to see list of available applications with their specific settings.



Click on edit icon to see app details dialog.



Check Softvelum Low Delay and save settings to enable it for this application.

As we noticed earlier, you need to re-publish the stream after enabling the protocol if it uses a publishing source.

Setting ABR


SLDP supports adaptive bitrate and it needs to be set up before any usage. It is done the same way as for HLS and MPEG-DASH. Read this article to see all the details.

Setting paywall


Nimble Streamer Paywall feature set supports SLDP just as all other protocols. So if you apply geo-location block to some application, its SLDP streams will be blocked properly, the same is valid for other blocking features.

If you create hotlink protection rule, you will need to select SLDP to protect it from re-streaming.



Play SLDP


SLDP is available for playback in our players. As example, Nimble Streamer allows playback via direct link which you can insert into your HTML5 player code.
The link will be similar to other URLs: if you have http://server/app/stream/playlist.m3u8 stream then your SLDP stream URL will be ws://server/app/stream

To see sample a URL, click on Nimble Streamer -> Live Streams menu, select the required server and then click on Outgoing streams area to see all produced streams.


Then click on question mark to see Sample URL for Player dialog.


It will include full URL of stream and also a sample code for HTML5 SLDP player.

You can also play it in iOS applications built with SLDP Player SDK.

Using SSL connection


SLDP can be secured with SSL and it's set up the same way as other HTTP protocols which Nimble Streamer supports. Read this article for all details regarding the setup.

The output URL for SSL connection will start with wss:// prefix, e.g. wss://server/app/stream.


FAQ


Take a look at the answers for frequent questions to improve your SLDP usage.



Please visit SLDP website and contact us in case of any questions .

Related documentation


No comments:

Post a Comment