Skip to content

Commit

Permalink
fix: vMix connection - check if vMix channel is assigned to a fader
Browse files Browse the repository at this point in the history
  • Loading branch information
olzzon committed Oct 13, 2023
1 parent 71736a1 commit e6ae5d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/src/utils/mixerConnections/VMixMixerConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6ae5d0

Please sign in to comment.