Skip to content

Commit

Permalink
fix: Reject TS content on Edge (#5043)
Browse files Browse the repository at this point in the history
Fixes #4955
  • Loading branch information
avelad authored and joeyparrish committed Mar 1, 2023
1 parent 2e3c720 commit c5c4d0f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/polyfill/mediasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ shaka.polyfill.MediaSource = class {
// Bug filed: https://bugs.webkit.org/show_bug.cgi?id=165342
shaka.polyfill.MediaSource.stubAbort_();
}
} else if (shaka.util.Platform.isEdge()) {
shaka.log.info('Rejecting TS container.');
// TS content is broken on Edge in general.
// See https://github.com/shaka-project/shaka-player/issues/4955
shaka.polyfill.MediaSource.rejectTsContent_();
} else if (shaka.util.Platform.isTizen2() ||
shaka.util.Platform.isTizen3() ||
shaka.util.Platform.isTizen4()) {
Expand Down

0 comments on commit c5c4d0f

Please sign in to comment.