Skip to content

Commit

Permalink
fix: Automationprotocol - return address data structure is to.address…
Browse files Browse the repository at this point in the history
… not to.ip
  • Loading branch information
olzzon committed Sep 24, 2019
1 parent 672f86d commit 75ceb9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/AutomationConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export class AutomationConnection {
}
}

sendOutMessage(oscMessage: string, channel: number, value: string, type: string, to: { ip: string, port: number }) {
sendOutMessage(oscMessage: string, channel: number, value: string, type: string, to: { address: string, port: number }) {
let channelString = this.automationProtocol.leadingZeros ? ("0"+channel).slice(-2) : channel.toString();
let message = oscMessage.replace(
"{value1}",
Expand All @@ -232,7 +232,7 @@ export class AutomationConnection {
value: value
}
]
}, to.ip, to.port);
}, to.address, to.port);
}
}
}
Expand Down

0 comments on commit 75ceb9a

Please sign in to comment.