Use "MiniDexed" as the mDNS-SD service name

network
probonopd 6 days ago committed by GitHub
parent 8d26e20441
commit 2a6d966aa1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      src/minidexed.cpp

@ -2219,7 +2219,7 @@ void CMiniDexed::UpdateNetwork()
CmDNSPublisher *pmDNSPublisher = new CmDNSPublisher (m_pNet); CmDNSPublisher *pmDNSPublisher = new CmDNSPublisher (m_pNet);
assert (pmDNSPublisher); assert (pmDNSPublisher);
static const char ServiceName[] = "minidexed-rtpmidi"; static const char ServiceName[] = "MiniDexed";
static const char *ppText[] = {"RTP-MIDI Receiver", nullptr}; // TXT record strings static const char *ppText[] = {"RTP-MIDI Receiver", nullptr}; // TXT record strings
if (!pmDNSPublisher->PublishService (ServiceName, CmDNSPublisher::ServiceTypeAppleMIDI, if (!pmDNSPublisher->PublishService (ServiceName, CmDNSPublisher::ServiceTypeAppleMIDI,
5004, ppText)) 5004, ppText))
@ -2284,4 +2284,4 @@ bool CMiniDexed::InitNetwork()
m_pNetDevice = CNetDevice::GetNetDevice(NetDeviceType); m_pNetDevice = CNetDevice::GetNetDevice(NetDeviceType);
} }
return m_pNet != nullptr; return m_pNet != nullptr;
} }

Loading…
Cancel
Save