Updated HLS Player
This commit is contained in:
@@ -189,7 +189,7 @@ const id = `${Math.random().toString(36).slice(2)}`;
|
||||
|
||||
if (["disconnected", "failed", "closed"].includes(state)) {
|
||||
emit("disconnected", { msg: "Stream Ended" });
|
||||
onEnded();
|
||||
if (onEnded) onEnded();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user