@jeffeb3 Thanks for your comments!
Not easily. Of course whatever you pair the Chromecast to will sync up. I’ve been looking for a Node (npm) module that will do Chromecast sending - all the ones I’ve found so far do Chromecast emulation (receiving).
But… There is a Chromium project (https://www.chromium.org/) that you can create a custom browser with - and it includes the Chromecast protocols:
https://blog.chromium.org/2020/07/chrome-85-upload-streaming-human.html
I haven’t tried it yet as I’m happy with my Chrometastic Mirror. Frankly, it’s a bit of a disappointment in that it’s basically a 19" TV behind a mirror. And that’s how I use it. (also at 16 lbs, it is really heavy. I think a less “ambitious” frame would be in order.)
Alternatively, you might try using Selenium to create a script that can control the browser on your laptop/desktop. Selenium is a software library that sends events (like mouse clicks) to the browser and and then waits for responses. It’s programmable in both Java and JavaScript.
As an aside: I’ve also had trouble with connecting the Bluetooth transmitter. When connected to the USB power, the output is distorted. I’ve used two different brands of transmitter with the same result. If I disconnect the power (or connect the Bluetooth transmitter to a separate power source) I don’t have the problem. It’s possible I have the audio wires reversed - but I doubt it. I was pretty careful to make sure I had ground-to-ground.
Thanks again for commenting. Let me know how your project works out!