SamDel / ChromeCast-Desktop-Audio-Streamer

Stream the sound of your desktop to your Chromecast Audio device
MIT License
412 stars 30 forks source link

No IP addresses found on your device. #38

Closed pr0t3us closed 5 years ago

pr0t3us commented 5 years ago

Facing a strange issue on my windows laptop: screenshot

Log window:

Add IP4 addresses:

Set size, height: 550 width: 850

No IP addresses found on your device.

SamDel commented 5 years ago

Strange. Does it happen every time, or only once? And if you open a command prompt, are there IP4 addresses when you run 'ipconfig'?

pr0t3us commented 5 years ago

Every time. ipconfig is showing several network adapters including Wireless LAN adapter(with IPv4 Address) together with the virtual ones(like Hyper-V Ethernet adapter vEthernet).

SamDel commented 5 years ago

The application uses all IP4 addresses that are not down, that are not loopback and that do have gateway addresses. Somewhere that goes wrong with your setup.

In 2.1.1 the check on gateway addresses is removed when there are no addresses found. Can you try?

pr0t3us commented 5 years ago

2.1.1 Doesn't show any gui or tray icon, but it is in memory (I've tried on two systems)

SamDel commented 5 years ago

Sorry for creating an infinite loop for your situation, and thanks for the patience.

In 2.1.2 all IP addresses found on your desktop are in the dropdown list. Can you try if there's one that's working for you? I also added logging with the network information to the log tab.

pr0t3us commented 5 years ago

Wow, thank you. 2.1.2 works as expected: All network cards are listed and all cast devices found 👍

SamDel commented 5 years ago

Nice 😃! I'm filtering the IP addresses because it makes no sense to show network interfaces that are down, etc. Now I'm curious why they didn't show up at first. Are the IP addresses not in the local ip ranges? Can you post some of the network interface logging I added? (Especially from the network card your using!)

pr0t3us commented 5 years ago

Sure, that's the network card I'm using:


Name networkInterface: Wi-Fi 2

Address: fe80:**************

Address family: InterNetworkV6

Operational status: Up

NetworkInterface type: Wireless80211

GatewayAddresses count: 1

Address: 192.1**************

Address family: InterNetwork

Operational status: Up

NetworkInterface type: Wireless80211

GatewayAddresses count: 1
SamDel commented 5 years ago

Thanks, for me it looks exactly the same.

Are you using the 'Start application when Windows starts' option? Maybe the wifi wasn't up when the application started, and something goes wrong adding the IP addresses later.

pr0t3us commented 5 years ago

'Start application when Windows starts' option

No, I just started it manually. Anyway 2.1.2 works 👍