add dante device discovery via mdns and ptp clock master detection

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-23 00:24:36 -08:00
parent 536c2d3dc9
commit 2fa2fcd57d
6 changed files with 323 additions and 16 deletions

View File

@@ -14,6 +14,7 @@ func main() {
noIGMP := flag.Bool("no-igmp", false, "disable IGMP querier")
noMDNS := flag.Bool("no-mdns", false, "disable mDNS discovery")
noArtNet := flag.Bool("no-artnet", false, "disable Art-Net discovery")
noDante := flag.Bool("no-dante", false, "disable Dante discovery")
logEvents := flag.Bool("log-events", false, "log node events")
logNodes := flag.Bool("log-nodes", false, "log full node details on changes")
debugARP := flag.Bool("debug-arp", false, "debug ARP discovery")
@@ -22,6 +23,7 @@ func main() {
debugIGMP := flag.Bool("debug-igmp", false, "debug IGMP querier")
debugMDNS := flag.Bool("debug-mdns", false, "debug mDNS discovery")
debugArtNet := flag.Bool("debug-artnet", false, "debug Art-Net discovery")
debugDante := flag.Bool("debug-dante", false, "debug Dante discovery")
flag.Parse()
t := tendrils.New()
@@ -32,6 +34,7 @@ func main() {
t.DisableIGMP = *noIGMP
t.DisableMDNS = *noMDNS
t.DisableArtNet = *noArtNet
t.DisableDante = *noDante
t.LogEvents = *logEvents
t.LogNodes = *logNodes
t.DebugARP = *debugARP
@@ -40,5 +43,6 @@ func main() {
t.DebugIGMP = *debugIGMP
t.DebugMDNS = *debugMDNS
t.DebugArtNet = *debugArtNet
t.DebugDante = *debugDante
t.Run()
}