achingbrain / ssdp

Simple Service Discovery Protocol implemented for Node.js
Other
53 stars 19 forks source link

Advertise interval ignored #49

Open PolishEagle opened 1 year ago

PolishEagle commented 1 year ago

bus.advertise({ usn: 'unique-name', // unique service name, interval: 5000, // how often to broadcast service adverts in ms ipv4: true, // whether or not to broadcast the advert over IPv4 ipv6: false, // whether or not to broadcast the advert over IPv6 });

When using the above advertise options, the interval setting is completely ignored. The advertisements always come out at a fixed interval of 10 seconds.