HLS inputs

The Bitmovin encoder supports HLS inputs. This way a live HLS stream can be ingested and converted into any formats the Bitmovin Live encoder supports.

To ingest a HLS stream, you simply need to create a Live HLS input through the API, specify the input stream URL, and if you are inserting SSAI ads, select SEGMENTSor MANIFEST as adMarkersSource, so select whether the ads marker are read from the segments, or from the Manifest (eg. CUE-IN/CUE-OUT tags).

https://developer.bitmovin.com/encoding/reference/postencodinginputshls

Example : create a HLS input with the JavaScript SDK

var createHlsInput = function()  {
const hlsInput = new HlsInput({
  name: "my HLS input",
  url: "https://your/stream.m3u8", 
  adMarkersSource: AdMarkersSource.MANIFEST
});
return  bitmovinApi.encoding.inputs.hls.create(hlsInput)
}