May 3, 2017

Pulling HLS streams to process

Nimble Streamer has a transmuxing engine which allows taking any stream of any transport protocol in and generate streams in all available protocols as well. You can check our Live Streaming feature set to see full list.
Usually our customers use RTMP, RTSP or MPEG-TS to deliver streams to media server and create outgoing streams that can be consumed by end-users. However, there are cases when only HLS streams are available as a source. So now Nimble Streamer also supports HLS as an input.

The setup is similar to MPEG-TS input setup and uses the same approach of input and output streams. Let's see how you can set this up.

Go to Nimble Streamer -> Live Streams Settings top menu, select required server and choose MPEGTS In tab as shown below.

Here you can add several types of streams as input. Click on Add HLS stream button.

Here you will enter your HLS playlist Stream URL to pull from.

You may also optionally define any number of Fallback URLs which will be used in case your main stream goes down. You can specify both HTTP and HTTPS streams' URLs. The backup streams will remain the source of the stream as long they are active.

If you'd like Nimble Streamer to check primary stream to switch back, click on "Add primary check interval" to enter that value. Notice that interval check feature requires Addenda premium package license registered on the server where you process these streams.

You also need to specify Alias which will be used in other settings as a name for this incoming stream.

If you playlist contains several chunk lists, eg. in case you have ABR stream, then only the first chunk list will be processed.

Once you save it, click on MPEGTS Out tab to set up outgoing stream.

Here you need to click Add outgoing stream to see the dialog below.

Here you will specify Application name and Stream name which will be used for naming of your outgoing result stream. Also, as in case of MPEGTS streams setup, you will need to pick up your input stream as Video source and Audio source for this stream. 

After saving this new stream settings, you will see it being synced up with your server.

Once it's complete, you can go to Nimble Streamer -> Live streams menu to select your server Outgoing streams and check your stream output. It will be available via the protocols which you specified in Global tab for your server or in Applications tab for individual application. These settings allow to define how your stream will be handled.

If you pull hundreds of live streams, you may use live_pull_threads parameter to set the number of threads to pull HLS streams for processing. It's 1 by default. Check params reference for details.

That's it, you can now use your outgoing stream.

Contact us
if you have any feedback or questions regarding Nimble Streamer functionality and usage.

Related documentation

No comments:

Post a Comment

If you face any specific issue or want to ask some question to our team,

This will give much faster and precise response.
Thank you.

Note: Only a member of this blog may post a comment.