2

I am working on flutter app where I playing live videos. Now I want to cast my device screen using Roku, FireTv, Chromecast and Airplay. I want to know is it possible cast screen using these technologies? I used cast dart package to discover and connect with chromecast devices but not able to scan any device. Please help me how it working with flutter?

Thanks Advance.

Gursewak Singh
  • 1,576
  • 1
  • 16
  • 32

2 Answers2

0

i dont know whether it is working or not. just catch this url from internet. try this https://morioh.com/p/fbd0079a2d71

and another example i got. i didn't check this also https://github.com/terrabythia/flutter_chromecast_example

Supun Dewapriya
  • 695
  • 11
  • 13
0

We were able to make it work on Chromecast, see my answer posted here: How to play YouTube videos in google chromecast from Flutter application?

As for Airplay, if you use updated Apple libraries, Airplay will be integrated natively into your app. We were able to cast our app to Airplay without having to add extra code.

FireTV uses airplay so that should work.

We have not found a Roku solution yet.

  • How do you update Apple libraries within the flutter app? I've used this package to trigger native airplay view within the app. https://pub.dev/packages/flutter_to_airplay – mirkancal Sep 13 '21 at 11:24