From e6ae5d072fac4d7fcacba86e6fee916a9c2c1fd4 Mon Sep 17 00:00:00 2001 From: Kasper Olsson Hans Date: Fri, 13 Oct 2023 10:04:49 +0200 Subject: [PATCH] fix: vMix connection - check if vMix channel is assigned to a fader --- server/src/utils/mixerConnections/VMixMixerConnection.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/utils/mixerConnections/VMixMixerConnection.ts b/server/src/utils/mixerConnections/VMixMixerConnection.ts index f126c4af..3078d293 100644 --- a/server/src/utils/mixerConnections/VMixMixerConnection.ts +++ b/server/src/utils/mixerConnections/VMixMixerConnection.ts @@ -195,6 +195,9 @@ export class VMixMixerConnection { state.channels[0].chMixerConnection[this.mixerIndex] .channel[input.number - 1] const assignedFaderIndex = this.getAssignedFaderIndex(input.number - 1) + if (!state.faders[0].fader[assignedFaderIndex]) { + return + } const { inputGain, muteOn, pflOn, pgmOn, voOn } = state.faders[0].fader[assignedFaderIndex] let sendUpdate = false