Driftwatch

Mux / Mux API /

Breakingdirection flip: their tools call this safe

text_type can now return "chapters"

What changed

Producer-side tools call this additive. It breaks exhaustive switches, strict parsers and generated client enums.

Affects text_type on Track reachable from 9 operations.

New value: chapters.

can now return "chapters"

Who is affected

Code that reads Mux's Track objects, used by 14 Mux operations.

Before and after

WhereBeforeAfter
Track.text_type"subtitles""chapters", "subtitles"
InputSettings.text_type"subtitles""chapters", "subtitles"

Code that breaks

switch (response.text_type) {
  // existing branches …
  // no branch for "chapters"
  default:
    throw new Error("unexpected text_type");
}

Based on Mux’s published API specification. How severity is decided.