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 committed May 17, 2024
1 parent 4f58aad commit 1e28ce6
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 @@ -980,7 +980,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 1e28ce6

Please sign in to comment.