Search code examples
chromecast

How to get devices name list in sender application using chrome-cast API


I want to develop a sender application where I can get chrome cast devices name in drop down and on selection of devices we can map any url to selected device.

So Right now problem is that i am not getting any devices name using api. API don't have such method if anyone have any idea about this please help me out ...


Solution

  • Presenting the list of device and allowing the user to select a particular device is done by the Cast extension in Chrome. The sender code cannot get the list of devices in Chrome.