HLS Support
HLS (HTTP Live Streaming) allows content to be deployed using standard web servers and content delivery networks (CDNs).
Since it can use MPEG-TS, HLS is a great fit for distributing STANAG VOD content.
StPlayer supports:
- Standard HLS features
- Local file playback (no HTTP server required)
HLS Modes
There are two main usage scenarios supported:
- HLS Video On Demand (VOD)
- HLS Live Streaming
On-Demand Mode
In Video On Demand (VOD) mode, the playlist (.m3u8 file) contains a static list of all media segments from the beginning of the recording.
This gives the client access to the full content timeline.
📝 Example VOD Playlist
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:11
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:10.560000,
#EXT-X-PROGRAM-DATE-TIME:2017-12-03T12:15:16.000+0200
StHls0.ts
#EXTINF:9.760000,
#EXT-X-PROGRAM-DATE-TIME:2017-12-03T12:15:26.560+0200
StHls1.ts
...
#EXTINF:9.960000,
#EXT-X-PROGRAM-DATE-TIME:2017-12-03T12:18:36.440+0200
StHls20.ts
#EXT-X-ENDLIST