You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now it seems that this library will show all Google Cast devices that have device.manufacturer = "Google Inc.".
There are many different Google-made Google Cast devices out there, some of them being audio-only (like the Chromecast Audio, Google Home, Nexus Player).
As far as I know, the only way to know at discovery time if a Google Cast-compatible device (including Google's own devices) is audio-only is by matching the device.manufacturer and/or device. modelName to a list (I've pasted below the SSDP response for Google Home that is audio-only).
I'm also wondering if all Google Cast compatible devices (ex: NVIDIA Shield, Sony Bravia, etc.) will answer with device.manufacturer = "Google Inc." (I'm assuming they don't).
It would be great if this library could also returns device.modelName as a property, and potentially add an option to not filter Google Inc. as manufacturer and returns device.manufacturer as well so anyone with a more advanced use-case (and time on its hand) could offer a better experience.
Something that could be cool would be a property audioOnly that is true if we're sure it's an audio-only device, otherwise false (and a comprehensive list could be maintained in the lib, starting with the obvious Chromecast Audio and Google Home).
While I'm not sure I'm the right person for a PR, I'm definitely open to report back on any manufacturer/modelName I encounter in the wild. Maybe the folks at webtorrent-desktop knows more about this (@feross, @dcposch).
Right now it seems that this library will show all Google Cast devices that have
device.manufacturer = "Google Inc."
.As far as I know, the only way to know at discovery time if a Google Cast-compatible device (including Google's own devices) is audio-only is by matching the
device.manufacturer
and/ordevice. modelName
to a list (I've pasted below the SSDP response for Google Home that is audio-only).I'm also wondering if all Google Cast compatible devices (ex: NVIDIA Shield, Sony Bravia, etc.) will answer with
device.manufacturer = "Google Inc."
(I'm assuming they don't).It would be great if this library could also returns
device.modelName
as a property, and potentially add an option to not filter Google Inc. as manufacturer and returnsdevice.manufacturer
as well so anyone with a more advanced use-case (and time on its hand) could offer a better experience.Something that could be cool would be a property
audioOnly
that is true if we're sure it's an audio-only device, otherwise false (and a comprehensive list could be maintained in the lib, starting with the obvious Chromecast Audio and Google Home).While I'm not sure I'm the right person for a PR, I'm definitely open to report back on any manufacturer/modelName I encounter in the wild. Maybe the folks at webtorrent-desktop knows more about this (@feross, @dcposch).
I've also find this if it helps:
The text was updated successfully, but these errors were encountered: