Skip to content
HALOWERK

File Formats and Conversion

media playlist initialization switches

HLS initialization planning counts distinct map files and changes in the map required by successive segments. Use it when an agent needs the initialization work for fragmented media.

POST https://format.halowerk.com/v1/media-playlist-initialization-switches

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
playliststringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "playlist": {
      "type": "string",
      "maxLength": 18000,
      "minLength": 1
    }
  },
  "required": [
    "playlist"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "playlist": "#EXTM3U\n#EXT-X-VERSION:3\n#EXT-X-TARGETDURATION:2\n#EXT-X-MEDIA-SEQUENCE:10\n#EXT-X-PLAYLIST-TYPE:VOD\n#EXTINF:2.005333,\nstudio-tone-010.ts\n#EXTINF:2.005333,\nstudio-tone-011.ts\n#EXTINF:2.005333,\nstudio-tone-012.ts\n#EXTINF:0.526667,\nstudio-tone-013.ts\n#EXT-X-ENDLIST\n"
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "distinct_maps": {
          "type": "integer"
        },
        "segments_with_map": {
          "type": "integer"
        },
        "switches": {
          "type": "integer"
        }
      },
      "required": [
        "distinct_maps",
        "segments_with_map",
        "switches"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’