Skip to content

Commit

Permalink
fix: Filter unsupported H.264 streams in Xbox (shaka-project#4493)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Sep 19, 2022
1 parent 89777dd commit 8475214
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/util/stream_utils.js
Expand Up @@ -474,7 +474,8 @@ shaka.util.StreamUtils = class {
if (shaka.util.Platform.isXboxOne() && video &&
((video.width && video.width > 1920) ||
(video.height && video.height > 1080)) &&
video.codecs.includes('avc1.')) {
(video.codecs.includes('avc1.') ||
video.codecs.includes('avc3.'))) {
shaka.log.debug('Dropping variant - not compatible with platform',
shaka.util.StreamUtils.getVariantSummaryString_(variant));
return false;
Expand Down

0 comments on commit 8475214

Please sign in to comment.