mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-16 18:44:45 -04:00
Merge pull request #4288 from IgorA100/patch-193100
Fix: Requires using MediaSourse existence check (MonitorStream.js)
This commit is contained in:
@@ -1238,7 +1238,7 @@ function mseListenerSourceopen(context, videoEl, url) {
|
||||
if (this.started) this.restart();
|
||||
};
|
||||
context.wsMSE.onmessage = function(event) {
|
||||
if (context.mse.readyState !== "open") return;
|
||||
if (!context.mse || (context.mse && context.mse.readyState !== "open")) return;
|
||||
const data = new Uint8Array(event.data);
|
||||
if (data[0] === 9) {
|
||||
let mimeCodec;
|
||||
|
||||
Reference in New Issue
Block a user