quick fix to allow mixer on machine with domain server

This commit is contained in:
Stephen Birarda 2013-02-18 09:11:57 -08:00
parent c57e98cde5
commit 615f04982c
2 changed files with 2 additions and 2 deletions

View file

@ -199,7 +199,7 @@ void setAgentPing(char * address, unsigned short port) {
void kludgyMixerUpdate(Audio audio) {
for (int i = 0; i < num_agents; i++) {
if (agents[i].agentType == 'M') {
audio.updateMixerParams(agents[i].public_address, agents[i].public_port);
audio.updateMixerParams(agents[i].private_address, agents[i].private_port);
}
}
}

View file

@ -229,7 +229,7 @@ void *reportAliveToDS(void *args) {
while (true) {
gettimeofday(&lastSend, NULL);
sprintf(output, "%c %f,%f,%f", 'M', 0.f, 0.f, 0.f);
sprintf(output, "%c %f,%f,%f,54.241.92.53 %hd", 'M', 0.f, 0.f, 0.f, MIXER_LISTEN_PORT);
int packetSize = strlen(output);
audioSocket.send(DOMAIN_IP, DOMAINSERVER_PORT, output, packetSize);