[mythtv-commits] Ticket #12011: upnp NOTIFY messages are not sent
MythTV
noreply at mythtv.org
Fri Jan 10 22:40:55 UTC 2014
#12011: upnp NOTIFY messages are not sent
--------------------------------------+-------------------------
Reporter: steve_g@… | Owner: dblain
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - UPnP | Version: Unspecified
Severity: medium | Keywords: soap upnp
Ticket locked: 0 |
--------------------------------------+-------------------------
Myth is only visible to clients who actively request are you there.
libs/libmythupnp/mmulticastsocketdevice.h does not initialize
m_local_addresses during instantiation and is never set anywhere else.
The result is that no interfaces are found and no messages sent. This
behavior can be seen with any client that does not actively request
(PS2's, Samsungs, some LG's). This fix puts the initialize in the header
QList<QHostAddress> m_local_addresses = QNetworkInterface::allAddresses();
It could be put in the routines that use it with a "m_local_addresses =
QNetworkInterface::allAddresses();"
What I havent checked yet is that this message is redone periodical in
case of router failure or the max-age expiring in the router.
build is v0.28-pre-678-g6530ac6-dirty
--
Ticket URL: <http://code.mythtv.org/trac/ticket/12011>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list