When coming back from AYSW, maybe img.src == new src. Just set it and send a PLAY for good measure

This commit is contained in:
Isaac Connor
2025-08-18 15:52:13 -04:00
parent 0d88341712
commit b3f1d5cfe7

View File

@@ -506,15 +506,12 @@ function MonitorStream(monitorData) {
}
if (-1 == src.search('connkey')) {
src += '&connkey='+this.connKey;
}
stream.onerror = this.img_onerror.bind(this);
stream.onload = this.img_onload.bind(this);
if (stream.src != src) {
stream.src = '';
stream.src = src;
}
stream.src = src;
this.streamCommand(CMD_PLAY);
this.started = true;
this.streamListenerBind();
this.activePlayer = 'zms';