]> git.sesse.net Git - vlc/commit
modules/services_discovery/sap.c: Don't trust announcement down packet, but support...
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 21 Dec 2007 18:52:21 +0000 (18:52 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 21 Dec 2007 18:52:21 +0000 (18:52 +0000)
commit3c3259132706c07bf0046e922945974c0993f469
treea2ba42eeac2b10a0ce8036d99a4e5b3403320648
parent54b8548a2f59a53851ecb2ab71047d712b4639af
modules/services_discovery/sap.c: Don't trust announcement down packet, but support implicit timeout.
* As suggested in the RFC we remove the discovered media if there is no new packet after three average packet period. (implicit timeout).
* Announcement of removal packet can be used to silently replace an announce by an other.
* Add a timeout argument to net_Select.
include/vlc_network.h
modules/services_discovery/sap.c
src/network/io.c