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

@@ -22,6 +22,7 @@ type Tendrils struct {
DisableIGMP bool
DisableMDNS bool
DisableArtNet bool
DisableDante bool
LogEvents bool
LogNodes bool
DebugARP bool
@@ -30,6 +31,7 @@ type Tendrils struct {
DebugIGMP bool
DebugMDNS bool
DebugArtNet bool
DebugDante bool
}
func New() *Tendrils {
@@ -195,4 +197,7 @@ func (t *Tendrils) startInterface(ctx context.Context, iface net.Interface) {
if !t.DisableArtNet {
go t.listenArtNet(ctx, iface)
}
if !t.DisableDante {
go t.listenDante(ctx, iface)
}
}