kakone / GoogleCast

Implementation of the Google Cast protocol (.NET Standard 2.0 library)
GNU General Public License v3.0
141 stars 22 forks source link

[Feature] Scan from specific IP address #26

Closed Rainmaker52 closed 3 years ago

Rainmaker52 commented 5 years ago

(Possibly related to #22 )

My desktop has a large number of network interfaces, caused by the Hyper-V role and a large amount of created internal switches.

When scanning for devices using DeviceLocator, it is unable to find any devices. This seems to be due to the fact that the wrong interface is used to scan for devices.

To verify, I tried using SharpCaster. I get the same result; no devices found when using the default constructor on DeviceLocator. However, SharpCaster allows me to specify a source IP address in the constructor. When using that specific IP address, my devices are found. Unfortunately, that module is not compatible with .NET Standard.

It would be great if a similar constructor is available in GoogleCast.

highwingers commented 3 years ago

did you find any solution to this? i am having same issue. I have multiple VLAN's and GoogleCast cant find Speaks on different Vlan.

Rainmaker52 commented 3 years ago

Sorry, no. As with too many of my side projects, I abandoned it and just use Android apps instead of my laptop for streaming.

kakone commented 3 years ago

Fix available in 1.7.0