If the system volume was set to 0, change the state of the "Mute" icon in the volume slider (MonitorStream.js)
parent
5561829450
commit
1fc68a3e84
|
|
@ -1029,7 +1029,7 @@ function MonitorStream(monitorData) {
|
|||
volumeSlider.setAttribute('data-volume', parseInt(audioStream.volume * 100));
|
||||
if (volumeSlider.allowSetValue) {
|
||||
volumeSlider.noUiSlider.set(audioStream.volume * 100);
|
||||
if (audioStream.muted === true) {
|
||||
if (audioStream.muted === true || audioStream.volume === 0) {
|
||||
this.changeStateIconMute('off');
|
||||
volumeSlider.classList.add('noUi-mute');
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue