When switching monitors, we first destroy the current VolumeSlider and only then change its ID, and not vice versa (watch.js)
parent
4260cee91d
commit
cf2819fcc7
|
|
@ -900,8 +900,8 @@ function streamReStart(oldId, newId) {
|
|||
if (volumeControls) volumeControls.id = 'volumeControls'+newId;
|
||||
const volumeSlider = document.getElementById('volumeSlider'+oldId);
|
||||
if (volumeSlider) {
|
||||
volumeSlider.id = 'volumeSlider'+newId;
|
||||
monitorStream.destroyVolumeSlider();
|
||||
volumeSlider.id = 'volumeSlider'+newId;
|
||||
}
|
||||
const controlMute = document.getElementById('controlMute'+oldId);
|
||||
if (controlMute) controlMute.id = 'controlMute'+newId;
|
||||
|
|
|
|||
Loading…
Reference in New Issue