Skip to content

Commit

Permalink
fix(HLS): Fix bad detection in some MediaPlaylist (#6608)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored and joeyparrish committed May 31, 2024
1 parent 511787c commit f3f2c04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/hls/hls_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,8 @@ shaka.hls.HlsParser = class {
return basicInfo;
}
} else if (extension == 'mp4' || extension == 'cmfv' ||
extension == 'm4s' || contentMimeType == 'video/mp4' ||
extension == 'm4s' || extension == 'fmp4' ||
contentMimeType == 'video/mp4' ||
contentMimeType == 'audio/mp4' ||
contentMimeType == 'video/iso.segment') {
const basicInfo = shaka.media.SegmentUtils.getBasicInfoFromMp4(
Expand Down

0 comments on commit f3f2c04

Please sign in to comment.