mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 10:14:52 +02:00
Merge remote-tracking branch 'origin'
This commit is contained in:
commit
c0968e9967
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue