johnvuko / flutter_cast

Dart package to discover and connect with Chromecast devices
MIT License
46 stars 38 forks source link

Can not find any devices #33

Open ondra-pfld opened 2 years ago

ondra-pfld commented 2 years ago

Hello,

Can you help me please. I connected plugin by manual, but I can not find any device nearby. Should I do some another necessary steps to search some devices (like permissions, ... )? I used google to find some more informations, but without success. I have problem on ios and android too.

[✓] Flutter (Channel unknown, 3.0.5, on macOS 12.6 21G115 darwin-arm (Rosetta), locale cs-CZ) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 14.0) [✓] Android Studio (version 2021.2) [✓] VS Code (version 1.71.2) [✓] Connected device (2 available) [✓] HTTP Host Availability

I received no errors for CastDiscoveryService().search(), just empty list. Chromecast is 1 meter from my device, but can not be searched.

Thank you for any advice.

Adamteh commented 2 years ago

Same issue. No devices are detected even tho they are on the same network

astheras commented 1 year ago

same, youtube app found all devices nearby, but CastDiscoveryService().search returns nothing

guyluz11 commented 1 week ago

Try the example from my fork


  cast: 
    git: 
      url: "https://github.com/guyluz11/flutter_cast.git"
      ref: "multicast_version"