We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30d0544 commit fd15f72Copy full SHA for fd15f72
web/js/MonitorStream.js
@@ -972,7 +972,8 @@ function MonitorStream(monitorData) {
972
const oldAlarm = ( !isAlarmed && wasAlarmed );
973
974
if (newAlarm) {
975
- if (ZM_WEB_SOUND_ON_ALARM !== '0') {
+ console.log(ZM_WEB_SOUND_ON_ALARM);
976
+ if (parseInt(ZM_WEB_SOUND_ON_ALARM) == 1) {
977
console.log('Attempting to play alarm sound');
978
if (ZM_DIR_SOUNDS != '' && ZM_WEB_ALARM_SOUND != '') {
979
const sound = new Audio(ZM_DIR_SOUNDS+'/'+ZM_WEB_ALARM_SOUND);
0 commit comments