diff --git a/apps/transmitmedia.cpp b/apps/transmitmedia.cpp index 7ab167c9f..b024eb6d8 100644 --- a/apps/transmitmedia.cpp +++ b/apps/transmitmedia.cpp @@ -1012,6 +1012,9 @@ class UdpTarget: public Target, public UdpCommon public: UdpTarget(string host, int port, const map& attr ) { + if (host.empty()) + cerr << "\nWARN Host for UDP target is not provided. Will send to localhost:" << port << ".\n"; + Setup(host, port, attr); if (adapter != "") {