mirror of
https://github.com/pion/webrtc.git
synced 2025-11-03 09:40:59 +08:00
Rename SettingEngine mDNS Config option
GenerateMulticastDNSCandidates -> SetICEMulticastDNSMode. Before a user wasn't able to disable mDNS. By changing it we can do more with this API.
This commit is contained in:
@@ -838,7 +838,7 @@ func TestMulticastDNSCandidates(t *testing.T) {
|
||||
defer report()
|
||||
|
||||
s := SettingEngine{}
|
||||
s.GenerateMulticastDNSCandidates(true)
|
||||
s.SetICEMulticastDNSMode(ice.MulticastDNSModeQueryAndGather)
|
||||
|
||||
pcOffer, pcAnswer, err := NewAPI(WithSettingEngine(s)).newPair(Configuration{})
|
||||
assert.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user