You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Address review feedback on TR-10-9 DNS-SD browse strategy
- Use string_enum for dns_sd_browse_mode (nmos::dns_sd_browse_modes::{both,unicast,mdns})
- Add dns_sd_browse_mode example + behaviour table to nmos-cpp-node config.json
- Add expected-behaviour table to settings.h
- Mark unused URI-returning resolve_service overload as deprecated (comment)
- Refresh resolve_service / resolve_service_ doc comments in mdns.h/.cpp
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: Development/nmos-cpp-node/config.json
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,21 @@
85
85
// domain [registry, node]: the domain on which to browse for services or an empty string to use the default domain (specify "local." to explictly select mDNS)
86
86
//"domain": "",
87
87
88
+
// dns_sd_browse_mode [node]: DNS-SD browse method per TR-10-9 Section 15
89
+
// "both" (default) = unicast DNS first, mDNS fallback if unsuccessful
90
+
// "unicast" = unicast DNS only
91
+
// "mdns" = mDNS only
92
+
// Expected resolve behaviour for each (mode, domain) combination:
93
+
// mode | domain | behaviour
94
+
// --------+-------------+--------------------
95
+
// both | example.com | unicast -> mdns
96
+
// both | local. | mdns
97
+
// unicast | example.com | unicast
98
+
// unicast | local. | mdns
99
+
// mdns | example.com | mdns
100
+
// mdns | local. | mdns
101
+
//"dns_sd_browse_mode": "both",
102
+
88
103
// host_address/host_addresses [registry, node]: IP addresses used to construct response headers (e.g. 'Link' or 'Location'), and host and URL fields in the data model
Copy file name to clipboardExpand all lines: Development/nmos/settings.h
+14-4Lines changed: 14 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -82,10 +82,20 @@ namespace nmos
82
82
// domain [registry, node]: the domain on which to browse for services or an empty string to use the default domain (specify "local." to explictly select mDNS)
// host_address/host_addresses [registry, node]: IP addresses used to construct response headers (e.g. 'Link' or 'Location'), and host and URL fields in the data model
0 commit comments