Skip to content

Commit

Permalink
chore: the implementation of abort() on SourceBuffer in Safari, now w…
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed Feb 28, 2023
1 parent 8818a02 commit 7da65a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/polyfill/mediasource.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ shaka.polyfill.MediaSource = class {
// Offsetting the end of the removal range seems to help.
// Bug filed: https://bugs.webkit.org/show_bug.cgi?id=177884
shaka.polyfill.MediaSource.patchRemovalRange_();
} else {
shaka.log.info('Patching Safari 13 MSE bugs.');
} else if (safariVersion <= 15) {
shaka.log.info('Patching Safari 13 & 14 & 15 MSE bugs.');
// Safari 13 does not correctly implement abort() on SourceBuffer.
// Calling abort() before appending a segment causes that segment to be
// incomplete in the buffer.
Expand Down

0 comments on commit 7da65a1

Please sign in to comment.