Skip to content

Commit

Permalink
fix: Fix DRM workaround for Tizen and Xbox with hvc1/hev1 boxes (shak…
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardo-a-alves-alb committed Nov 22, 2022
1 parent f904583 commit a61c084
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/media/content_workarounds.js
Expand Up @@ -69,6 +69,18 @@ shaka.media.ContentWorkarounds = class {
})
.fullBox('encv', onEncryptionMetadataBox)
.fullBox('enca', onEncryptionMetadataBox)
.fullBox('hev1', (box) => {
boxesToModify.push({
box,
newType: ContentWorkarounds.BOX_TYPE_ENCV_,
});
})
.fullBox('hvc1', (box) => {
boxesToModify.push({
box,
newType: ContentWorkarounds.BOX_TYPE_ENCV_,
});
})
.fullBox('avc1', (box) => {
boxesToModify.push({
box,
Expand Down

0 comments on commit a61c084

Please sign in to comment.