]> git.basschouten.com Git - openhab-addons.git/commit
[chromecast] Fix constant disconnections (#14105)
authorjimtng <2554958+jimtng@users.noreply.github.com>
Thu, 29 Dec 2022 10:52:25 +0000 (20:52 +1000)
committerGitHub <noreply@github.com>
Thu, 29 Dec 2022 10:52:25 +0000 (11:52 +0100)
commitf87ff2f9cef16a7110403e23174bc2333950efba
treefcc71e00e40ee5ad51c5083bbd5de035997bcaa2
parent3bf6f5219bc753e6580166ed06dce915fd7f5abe
[chromecast] Fix constant disconnections (#14105)

When ipv6 is configured on the network, Chromecast devices will randomly
return ipv4 and/or multiple ipv6 addresses during mdns discovery.
This would trigger a thingUpdated call which will call dispose/initialize,
causing the thing to go offline/online.

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
bundles/org.openhab.binding.chromecast/src/main/java/org/openhab/binding/chromecast/internal/discovery/ChromecastDiscoveryParticipant.java