mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 19:55:07 +02:00
mixer needs to send port as unsigned short
This commit is contained in:
parent
612662c475
commit
c3c0793ddc
2 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ int simulate_on = 1;
|
|||
|
||||
const int MAX_PACKET_SIZE = 1500;
|
||||
char DOMAIN_HOSTNAME[] = "highfidelity.below92.com";
|
||||
char DOMAIN_IP[100] = "192.168.1.47"; // IP Address will be used first if not empty string
|
||||
char DOMAIN_IP[100] = ""; // IP Address will be used first if not empty string
|
||||
const int DOMAINSERVER_PORT = 40102;
|
||||
UDPSocket agentSocket(AGENT_UDP_PORT);
|
||||
|
||||
|
|
|
@ -229,7 +229,7 @@ void *reportAliveToDS(void *args) {
|
|||
while (true) {
|
||||
gettimeofday(&lastSend, NULL);
|
||||
|
||||
sprintf(output, "%c %f,%f,%f,54.241.92.53 %hd", 'M', 0.f, 0.f, 0.f, MIXER_LISTEN_PORT);
|
||||
sprintf(output, "%c %f,%f,%f,54.241.92.53 %hd", 'M', 0.f, 0.f, 0.f, (unsigned short)MIXER_LISTEN_PORT);
|
||||
int packetSize = strlen(output);
|
||||
audioSocket.send(DOMAIN_IP, DOMAINSERVER_PORT, output, packetSize);
|
||||
|
||||
|
|
Loading…
Reference in a new issue