Skip to content

Commit

Permalink
fix(HLS): Fix m4s extension detection (#5951)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Nov 29, 2023
1 parent 918c30b commit d89945f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/hls/hls_parser.js
Expand Up @@ -934,7 +934,8 @@ shaka.hls.HlsParser = class {
return basicInfo;
}
} else if (extension == 'mp4' || extension == 'cmfv' ||
contentMimeType == 'video/mp4' || contentMimeType == 'audio/mp4' ||
extension == 'm4s' || contentMimeType == 'video/mp4' ||
contentMimeType == 'audio/mp4' ||
contentMimeType == 'video/iso.segment') {
const basicInfo = shaka.media.SegmentUtils.getBasicInfoFromMp4(
initData, response.data);
Expand Down

0 comments on commit d89945f

Please sign in to comment.