Skip to content

Commit e1673cd

Browse files
authored
fix: Try to reset MSE on STREAMING_NOT_ALLOWED error (#8625)
1 parent b2595ce commit e1673cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/player.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8724,6 +8724,7 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
87248724
(error.code == shaka.util.Error.Code.VIDEO_ERROR ||
87258725
error.code == shaka.util.Error.Code.MEDIA_SOURCE_OPERATION_FAILED ||
87268726
error.code == shaka.util.Error.Code.MEDIA_SOURCE_OPERATION_THREW ||
8727+
error.code == shaka.util.Error.Code.STREAMING_NOT_ALLOWED ||
87278728
error.code == shaka.util.Error.Code.TRANSMUXING_FAILED)) {
87288729
if (shaka.util.Platform.isApple() &&
87298730
error.code == shaka.util.Error.Code.VIDEO_ERROR) {

0 commit comments

Comments
 (0)