mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Merge pull request #891 from movie-web/fix/#887
Fix HTTP error 403 on HLS stream after switching source
This commit is contained in:
commit
2948e74c22
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ export function makeVideoElementDisplayInterface(): DisplayInterface {
|
|||
});
|
||||
hls.on(Hls.Events.ERROR, (event, data) => {
|
||||
console.error("HLS error", data);
|
||||
if (data.fatal) {
|
||||
if (data.fatal && src?.url === data.frag?.baseurl) {
|
||||
emit("error", {
|
||||
message: data.error.message,
|
||||
stackTrace: data.error.stack,
|
||||
|
|
Loading…
Reference in a new issue