Skip to content

Conversation

IgorA100
Copy link
Contributor

@IgorA100 IgorA100 commented Aug 26, 2025

The code implements support for disabling ALL players, including "ZMS MJPEG", but the UI does not currently use disabling all players. Because at the moment I am not sure that it is necessary to disable all players.
To implement enabling/disabling "ZMS MJPEG" you need to uncomment some lines of code and add a field to the DB ALTER TABLE MonitorsADD COLUMNZMSEnabledBOOLEAN NOT NULL default true AFTERDecoding``

It looks like this: #4393 (comment)

Also added the ability for <input> to use ".disabled", because if you use the "disabled" attribute for <input>, then the value of <input> will not be used in the form. And now, if you add the "disabled" class, then the value of <input> will be used in the form, but you cannot change its value manually in the UI.

If this PR is approved, then in the future you can remove the checkboxes for controlling player enablement from the UI and visually combine the options into the Go2RTC, RTSP2Web & Janus groups

I'm not sure about the feasibility of this PR, but I had some ideas and decided to publish them. Probably, choosing to enable/disable players in one place (in "multi select") is better than many checkboxes.

@IgorA100 IgorA100 marked this pull request as ready for review August 26, 2025 21:42
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.

1 participant