STANAG On Demand  Version 1.0.40
Live HLS playback and recording

STANAG On Demand Server provides live HLS playback and recording functionality.

Session Types

STANAG On Demand Server supports two types of sessions:

VOD Sessions

For VOD sessions, media files are available representing the entire duration of the mission. The manifest file is static and contains a complete list of all segments created since the beginning of the mission. This kind of session allows the client full access to the entire mission.

Live Sessions

Live sessions (events) can be presented as a complete record of an event, or as a sliding window with a limited time range the user can seek within. STANAG On Demand Server uses EVENT type session in order to record and ingest the mission. For live sessions, as new media files are created and made available, the manifest file is updated. When user stops a live mission, its session type is changed from EVENT to VOD and the mission is finalized (by adding #EXT-X-ENDLIST tag to the manifest).

Creating Live HLS mission.

In order to create Live HLS mission, add new mission, selecting Live mode and HLS mission format.

LiveHlsCreate.png
Creating Live HLS mission

Next, configure the session.

LiveHlsConfig.png
Configuring Live HLS mission

By default, if no transcoding is activated, the stream will be presented and recorded at its original quality. If needed (for example for making it available over the Internet), you can transcode the stream, reducing required resolution and bandwidth.

LiveHlsTransode.png
Configuring Live HLS mission transcoding

To leave original resolution, set Width / Height values to -1.

Start the mission.

livePlayerStart.PNG
Starting Live HLS mission

Now, if the stream is available, the mission's state should change to WaitingForData and a bit later, after the first segment is created, to Running. From this moment, your live mission is available for client access.

Note, the latency depends on the segment length and usually won't be less than 6 - 15 sec.

Finalizing Live HLS mission.

When you stop a Live HLS mission, the server automatically finalizes the manifest and changes mission mode from Live to VOD.

Note, if during recording your server had experienced an unexpected shutdown, all active live HLS missions will be automatically finalized on the server's restart.

DVR Mode

In addition to providing a live video streaming, STANAG On Demand Server allows users to jump back in time and look at the recorded video content (at a specific moment). At any time it is possible to return to the live mode.

DVR Live steaming.

In live mode operation, a LIVE button (green color) appears on the control bar.

DvrLiveCntrl.png
DVR live mode

DVR Seek.

You can seek back in time using the slider. LIVE button will turn white in this mode. To return to the live stream just press the LIVE button.

DvrSeekCntrl.png
DVR seek mode

Step Frame by Frame.

When in the Paused mode, you can step, frame by frame using < and > buttons.

DvrStepCntrl.png
DVR seek mode

Autostart

There are quite a few reasons why you want to automatically start mission recording or stop it after some predefined period. You can schedule a live mission streaming / recording to run at some specific time or just split a continues event into some smaller recordings. You can do this by scheduling a cron task for the live mission. In this case, the original mission will act as a template and at the specified time, a new (clone) mission will be automatically created and started. New mission will have a name of the parent mission with addition of the "-YYYYMMDDHHMM" suffix.

Scheduling live mission recording auto-start.

LiveAutostart.png
Cron task scheduling

Now, a new live recording job is scheduled. It will automatically start when the time comes.

Note, if the server has been shut down, all pending tasks are automatically rescheduled upon startup.

Please note, if you schedule overlapped recording tasks that take unicast stream as an input, you'll get an error, as the newer mission won't be able to open the stream. You should use a multicast in this case or adjust the recording duration so that no two missions are supposed to be active at the same time.

Untitled 1




 Copyright 2017,    IMPLEOTV SYSTEMS LTD