Skip to content

Commit

Permalink
fix(HLS): Add .tsa and .tsv file extensions as valid MPEG2-TS. (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianDomingo committed Feb 27, 2023
1 parent c7c5e94 commit a22bdc5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/hls/hls_parser.js
Expand Up @@ -3646,6 +3646,7 @@ shaka.hls.HlsParser.AUDIO_EXTENSIONS_TO_MIME_TYPES_ = {
'cmfa': 'audio/mp4',
// MPEG2-TS also uses video/ for audio: https://bit.ly/TsMse
'ts': 'video/mp2t',
'tsa': 'video/mp2t',
};


Expand All @@ -3662,6 +3663,7 @@ shaka.hls.HlsParser.VIDEO_EXTENSIONS_TO_MIME_TYPES_ = {
'm4f': 'video/mp4',
'cmfv': 'video/mp4',
'ts': 'video/mp2t',
'tsv': 'video/mp2t',
};


Expand Down

0 comments on commit a22bdc5

Please sign in to comment.