Home » API Reference » Encoding Settings » Segmented Streaming » Max HLS Protocol Version


:Integer permalink

API Versions: V1, V2

Parent: outputs / streams

Default: 3 for Live outputs, 5 for sample AES encryption; otherwise, 2.

Valid Values: 2-5

Compatible Job Types: All

Example: 4


Sets the maximum HLS protocol version to use. Special features will be used as available.

This option should be greater or equal to hls_protocol_version when provided.

Note: Only applies to HTTP Live Streaming outputs.

  "input": "s3://zencodertesting/test.mov",
  "outputs": [
      "type": "segmented",
      "max_hls_protocol_version": 4
  <outputs type="array">
      <max_hls_protocol_version type="integer">4</max_hls_protocol_version>