-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is not possible to display only the video supported devices in discovery #49
Comments
Well, it's a little bit off-topic. You may have to deal with the service name or with its attributes, but I can't tell you more since I've never been interested in this question. Sorry. |
Hi Skyost, Thank you for your quick response. I apologize for not conveying the importance of this topic clearly. We are currently using the library and it works well to detect the devices. However, we also need to know the device capabilities, which is not possible with the service name and properties received from the library. The device name can be different if a third party has integrated the Chromecast in their device. It could be helpful to have some way similar to android native castDevices methods mentioned here. Below are examples of a video device and an audio device: Video Device
Audio Device
For security reason, I have changed the ip address in the above response. Thank you. |
I see. But I maintain that's a little bit out of scope for this library : the goal here is only to discover the MDNS devices on your network. To achieve what you want, I'm affraid that you may have to dive into the internal documentation of how Chromecasts work. I've did a little search for you :
Now ; the cast type Reference : https://github.com/home-assistant-libs/pychromecast/blob/master/pychromecast/discovery.py#L211. |
Hi Skyost, Thank you for your valuable response and for searching for the information I requested. I appreciate your effort and I will look into the reference you provided. Thankyou. |
No problem 👍 |
@RaghuMudem hi! did you ever set this up working for chromecasts or other video-audio devices? If so, did you open source it or would you be open for that? I am looking for solutions in this line and Bonsoir looks a great option to me ... (sorry for continuing the slight offtopic) |
Question: In my Flutter application, I am using Bonsoir 2.0.0 to fetch the available devices. I use service type as
_googlecast._tcp
. This displays the available devices which are running under the same network. The problem is, it displays both the video and audio supported devices. But I wanted only the video supported devices. How to filter only the video devices?The listed audio devices service info has shown below. Which is same a video device service info. So it became hard to filter audio devices and list only video devices.
Appreciate your response with suggestion.
Library version
The text was updated successfully, but these errors were encountered: