Brian
Brian

Reputation: 121

Is it possible to programmatically send a webpage to a specific chromecast while bypassing the extension?

My company has several Chromecasts setup around our facility, each displaying a web page with different data depending on where it is set up. In my database I have a list of Chromecast names and the URL of the web page they are tied to. In the UI of my application, there is a table displaying this data. I would like to have a button for each Chromecast, that when clicked could programmatically pass in the name and URL and begin casting that page - bypassing the Chrome Extension pop-up that automatically populates with a list of receivers.

As of now, I am manually opening 10 tabs and casting each to the specified chromecast; clearly a bit inefficient. I have searched a few hours today but have not found any example of the specific behavior that I'd like to implement. I am curious if this type of functionality is possible at this time, it would be of great benefit to me. Thank you!

Upvotes: 0

Views: 1043

Answers (2)

Dennis Mitchell
Dennis Mitchell

Reputation: 17

The best I have found to do this is to use AutoHotKey to script the manual procedure. It is a bit fragile, but it usually gets the job done

Upvotes: 0

Simon Tretter
Simon Tretter

Reputation: 21

I've written a program in node js that can do that.

Check out:

https://github.com/simllll/stream-tab

Performance can be improved a lot by using

"directRenderMode": true

Upvotes: 1

Related Questions