johnvuko / flutter_cast

Dart package to discover and connect with Chromecast devices
MIT License
46 stars 38 forks source link

Stream widget tree to chromecast #34

Open eighty4 opened 1 year ago

eighty4 commented 1 year ago

I've seen a lot of casting libraries that enable streaming video and pictures to a device. I'd like to stream a rendered portion of my app and I'm not sure how I would do that without creating a jpg of the app and cropping it.

Ideally, I'd like the app itself to have a different interface during casting and to render an app on the screen from widgets. In the dom realm this would be something like an off-screen canvas that could be captured as a stream.

Is this possible with a casting connection from a Flutter app?

jsmeke commented 1 year ago

@eighty4 were you able to do that? I need to do the same.

eighty4 commented 1 year ago

Either screenshot update via Chromecast or use leanback mode for Android and communicate between the apps running on an Android phone or tablet and and on a Google TV.