channel-engine icon indicating copy to clipboard operation
channel-engine copied to clipboard

BUG: CE Multivariant Manifest Not Returning Correct Subtitle-Track, When Input HLS VOD Is Missing LANGUAGE Attribute

Open Nfrederiksen opened this issue 7 months ago • 0 comments

Problem

The subtitle track feature was developed with having the LANGUAGE attribute in mind. i.e. assuming that the loaded HLS VOD's multivariant manifest has that as an attribute in the #EXT-X-MEDIA subtitle tag.

The Channel Engine will substitute the language for the value in the NAME attribute in that case, and it is expected to work as well. But when testing, something is off, as the Channel Engine will only serve dummy vtt segments in the subtitle track is generated, when this is the case.

Desired Behavior

It would be great if the Channel Engine could still run the subtitle track properly even if the HLS VOD only has a NAME attribute and no LANGUAGE, I suspect that parts that hade expectedSubtitleTracks will need to be revised a little

Nfrederiksen avatar May 12 '25 14:05 Nfrederiksen