Skip to content

Conversation

IgorA100
Copy link
Contributor

Otherwise, there may be problems with the image if we were viewing using "ZMS MJPEG" and then switched, for example, to the Go2RTC secondary channel and we have different image proportions for "ZMS MJPEG" always using the primary channel and Go2RTC using the secondary channel

IgorA100 added 2 commits July 30, 2025 19:51
…() (watch.js)

Otherwise, there may be problems with the image if we were viewing using "ZMS MJPEG" and then switched, for example, to the Go2RTC secondary channel and we have different image proportions for "ZMS MJPEG" always using the primary channel and Go2RTC using the secondary channel
…ecute monitorsSetScale() (watch.js)

You also need to reset the previous state prevStateStarted, otherwise after the first triggering (document.visibilityState != "hidden") after hiding and then displaying the page, the stream will be restarted within 15 seconds, and this should not happen.
@IgorA100 IgorA100 changed the title Fix: When changing the player, you also need to call monitorsSetScale() on Watch page Fix: When changing the player and after starting the stream (hiding - displaying the page), you also need to call monitorsSetScale() on Watch page Aug 1, 2025
@IgorA100
Copy link
Contributor Author

IgorA100 commented Aug 1, 2025

I also added this to this PR:

You also need to reset the previous state prevStateStarted, otherwise after the first triggering (document.visibilityState != "hidden") after hiding and then displaying the page, the stream will be restarted within 15 seconds, and this should not happen.

@connortechnology connortechnology merged commit 4531054 into ZoneMinder:master Aug 1, 2025
16 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants