mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-07 04:39:24 +00:00
Update base.ts
This commit is contained in:
parent
bc6e6ff1af
commit
38d4e6928a
1 changed files with 8 additions and 0 deletions
|
|
@ -187,6 +187,14 @@ export function makeVideoElementDisplayInterface(): DisplayInterface {
|
|||
errorName: data.error.name,
|
||||
type: "hls",
|
||||
});
|
||||
} else if (data.details === "manifestLoadError") {
|
||||
// Handle manifest load errors specifically
|
||||
emit("error", {
|
||||
message: "Failed to load HLS manifest",
|
||||
stackTrace: data.error?.stack || "",
|
||||
errorName: data.error?.name || "ManifestLoadError",
|
||||
type: "hls",
|
||||
});
|
||||
}
|
||||
});
|
||||
hls.on(Hls.Events.MANIFEST_LOADED, () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue