fix(subtitle): join cues that a segment boundary splits in stpp and wvtt

Share one append_cue join across DASH fTTML, ISM and fVTT parsing. Also map "geo-block" and "geolocation" errors to GEOFENCE in the API.
This commit is contained in:
imSp4rky
2026-10-31 15:59:12 -06:00
parent c6c0331007
commit 65e807bf5f
5 changed files with 36 additions and 15 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ format-appropriate clean-up to make a single, valid file:
`‎` / `‏` bidirectional entities.
- **Segment merging**: when a WebVTT or boxed subtitle arrives as many DASH/HLS
segments, unshackle merges the segments back into one continuous document with
correct timing.
correct timing. A cue that a segment boundary cuts in two comes out as one cue.
- **WebVTT sanitization**: merged WebVTT runs through a repair pipeline that clamps
negative timestamps to `00:00:00.000`, removes stray cue identifiers (like `Q0`, `Q1`)
that confuse downstream parsers, and merges multi-line cues that a service split into