17using namespace std::chrono_literals;
20#include <QHostAddress>
26static constexpr const char*
SSDP_GROUP {
"239.255.255.250" };
61 int m_nServicePort {0};
77 static inline const QString kBackendURI =
"urn:schemas-mythtv-org:device:MasterMediaServer:1";
79 static SSDP* Instance();
80 static void Shutdown();
86 void PerformSearch(
const QString &sST, std::chrono::seconds
timeout = 2s);
88 void EnableNotifications (
int nServicePort );
89 void DisableNotifications();
92 if (m_pNotifyTask !=
nullptr)
void processPendingDatagrams()
const QHostAddress m_groupAddress
void performSearch(const QString &sST, std::chrono::seconds timeout=2s)
int getNotificationPort() const
static constexpr uint16_t SSDP_PORT
static constexpr const char * SSDP_GROUP