Skip to content

Commit

Permalink
fix: Fix EC-3 box support in DRM workaround on smart TVs (shaka-proje…
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-michael committed Jun 2, 2021
1 parent f16e026 commit 87786f4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/media/content_workarounds.js
Expand Up @@ -75,6 +75,12 @@ shaka.media.ContentWorkarounds = class {
newType: ContentWorkarounds.BOX_TYPE_ENCV_,
});
})
.fullBox('ec-3', (box) => {
boxesToModify.push({
box,
newType: ContentWorkarounds.BOX_TYPE_ENCA_,
});
})
.fullBox('mp4a', (box) => {
boxesToModify.push({
box,
Expand Down

0 comments on commit 87786f4

Please sign in to comment.