Skip to content
HALOWERK

File Formats and Conversion

hls playlist clock drift

HLS program clock drift compares explicit program timestamps with accumulated media duration inside each continuity period. Use it when an agent needs checking broadcast timeline consistency.

POST https://format.halowerk.com/v1/hls-playlist-clock-drift

Inputs

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

Open original schema

Published input example

{
  "playlist": "#EXTM3U\n#EXT-X-VERSION:4\n#EXT-X-TARGETDURATION:2\n#EXT-X-MEDIA-SEQUENCE:0\n#EXT-X-PROGRAM-DATE-TIME:2024-06-01T12:00:00Z\n#EXTINF:2,\na.ts\n#EXT-X-PROGRAM-DATE-TIME:2024-06-01T12:00:02.000Z\n#EXTINF:2,\nb.ts\n#EXT-X-ENDLIST"
}

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": {
        "compared": {
          "type": "integer"
        },
        "max_abs_ms": {
          "type": "number"
        }
      },
      "required": [
        "compared",
        "max_abs_ms"
      ]
    },
    "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 โ†’