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:
Sean DuBois
2020-10-05 15:03:12 -07:00
committed by Sean DuBois
parent 4c280289af
commit 89c51a156c
4 changed files with 20 additions and 18 deletions

View File

@@ -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)