mpegts.js
mpegts.js copied to clipboard
Destroying and re-creating a player with active workers produce errors in console
if (player) {
player.unload();
if (player._media_element) {
player.detachMediaElement();
}
player.destroy();
player = null;
}
abe4220e-7606-4074-934d-453779e58c9e:1 [MSEController] > Failed to execute 'abort' on 'SourceBuffer': Worker MediaSource attachment is closing
e.e @ abe4220e-7606-4074-934d-453779e58c9e:1
e.flush @ abe4220e-7606-4074-934d-453779e58c9e:1
E @ abe4220e-7606-4074-934d-453779e58c9e:8
(anonymous) @ abe4220e-7606-4074-934d-453779e58c9e:8
2blob:https://xxxxxxxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:1 [MSEController] > Failed to execute 'removeSourceBuffer' on 'MediaSource': Worker MediaSource attachment is closing
e.e @ blob:https://xxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:1
e.shutdown @ blob:https://xxxxxxxxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:1
b @ blob:https://xxxxxxxxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:8
(anonymous) @ blob:https://xxxxxxxxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:8
blob:https://xxxxxxxxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:1 [MSEController] > Failed to execute 'endOfStream' on 'MediaSource': Worker MediaSource attachment is closing
e.e @ blob:https://xxxxxxxxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:1
e.shutdown @ blob:https://xxxxxxxxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:1
b @ blob:https://xxxxxxxxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:8
(anonymous) @ blob:https://xxxxxxxxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:8
blob:https://xxxxxxxxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:1 Uncaught InvalidStateError: Failed to read the 'buffered' property from 'SourceBuffer': Worker MediaSource attachment is closing
at e.flush (blob:https://xxxxxxxxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:1:205527)
at E (blob:https://xxxxxxxxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:8:10190)
at blob:https://xxxxxxxxxxxxxxx/abe4220e-7606-4074-934d-453779e58c9e:8:11563
bump!
Do you solve it? I have a same question
Nope, still an issue.
For me, downgrade mpegts version to 1.7.3 resolve that issue