mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2025-12-23 22:37:53 -05:00
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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user