Skip to content

Commit

Permalink
fix(text): support stpp.ttml codec in Mp4TtmlParser (#3754)
Browse files Browse the repository at this point in the history
  • Loading branch information
valotvince authored Nov 15, 2021
1 parent bd7b384 commit 9e5b9ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/text/mp4_ttml_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ shaka.text.Mp4TtmlParser = class {

shaka.text.TextEngine.registerParser(
'application/mp4; codecs="stpp"', () => new shaka.text.Mp4TtmlParser());
shaka.text.TextEngine.registerParser(
'application/mp4; codecs="stpp.ttml"',
() => new shaka.text.Mp4TtmlParser());
shaka.text.TextEngine.registerParser(
'application/mp4; codecs="stpp.ttml.im1t"',
() => new shaka.text.Mp4TtmlParser());
Expand Down

0 comments on commit 9e5b9ac

Please sign in to comment.