Feature Request: AirPlay & Chromecast Support
What A great addition to the Flutter Community! Really love the ease of use of betterpayer, and how functional it is within our app! Well Done guys.
I think a big thing here, is that we would like to be a able to take the video's that are currently playing in the app and "cast" them to a bigger screen.
there is a current flutter repository working on this (Terrabythia Github Link)
Would love to see this integrated within the betterplayer app (perhaps the screen selection could be in the same place as the new video speed section)
And then Airplay support would be awesome as well for iOS devices (Although I have not seen a project that has done this yet)
Hi @Martinaude, this is great idea. This will be great addition to the player, but unfortunately I don't have access atm to the chromecast or airplay. I believe this may be task for the future. I'll leave this task open, if anyone is able to do that right now.
+1 for casting and great job) congrats and thanks! awesome plugin!! https://pub.dev/packages/flutter_fling i have tested this plugin with my fireTV and it works. trying out dart_chromecast. found this for airplay https://pub.dev/packages/flutter_to_airplay
@Jhomlala, I found this app call AirServer - Which allows you to add chrome cast and airplay support to Mac & Windows - It may help you develop it without having to buy an Apple TV, or chromecast?
AirServer is commercial software and offers only 30-days free trial. I believe this is big issue here to proceed with this product (30 days is not too much to develop in part-time support for AirPlay and Chromecast).
Hi @jhomlala ! Did you already tried the AirScreen app? It's available on the Play Store, it could maybe fit your needs Hope it helps Best regards
AirServer is commercial software and offers only 30-days free trial. I believe this is big issue here to proceed with this product (30 days is not too much to develop in part-time support for AirPlay and Chromecast).
Hello @jhomlala i could help you buy a license for this software if you like. Let me know https://www.airserver.com/buy Cheers Anh
+1
+1 I agree that this would be an awesome addition to the player
@jhomlala I could sponsor a google chromecast if you want :)
+1
@jhomlala I've also been hoping to see this feature, and think it would put betterplayer over the top. I would be happy to sponsor an AppleTV if that would get this done. Let me know :)
I tried adding this feature on my own, these guys have it implemented already: https://pub.dev/packages/flutter_vlc_player
But I'm really bad with native code and don't have the time to put into this unfortunately. But the vlc player package might be a good start on this.
Hey @jhomlala , can we get more interest in this issue? Could we maybe hire a freelancer or something who could do this? :) I'm happy to chip in for the work.
If anyone is interested in this topic and want to help, then visit branch feature/cast and feature/cast_ios. I don't have time to complete this feature since it requires a lot of time. Please stop asking when it will be ready. Feel free to contribute to Better Player if you need this urgently.
Hi, I would like to sponsor this feature, if someone is willing to work. We are building app for https://github.com/arslancb/clipbucket
To anyone interested: branch feature/cast supports both Air Play and Google Cast in temp version. It's just MVP, not production code. Feel free to test this branch on your side.
Ooooh yeah baby! Where do we donate for your hard work @jhomlala ?
I don't need any donation. I need people to finish this feature, because in current state it's not usable at all. It's just preview, nothing more.
I'd be happy to help with that but that code is beyond me and I don't have enough time to start digging through it :(
Amazing! Thanks @jhomlala for getting this started. I'll take a look at the branch and see if it's something I can meaningfully contribute to. Stay tuned.
some advance, i am interested in the chromecast
To anyone interested: branch
feature/castsupports both Air Play and Google Cast in temp version. It's just MVP, not production code. Feel free to test this branch on your side.
it works great for network videos, but why doesn't it work for local videos? any solution you can give me please
hey @jhomlala , could I ask you to finish the airplay / chromecast support through a freelance contract or something similar? we could even use a platform like upwork/freelancer if you like. I would really like to have this feature in this package and there's noone else who knows your package better than you do. I could also supply you with a chromecast device and whatever other device you need to implement this feature. Please think about this proposition, this package is awesome and it's a real shame seeing it going stale.
Thanks!
Hi @jhomlala how's going the test? You're still need help to finish coding?
I've implemented Cast support for BetterPlayer on Android and I plan to open a pull request in the coming days. I used ForwardingPlayer from ExoPlayer to wrap the ExoPlayer instance and switch between ExoPlayer and CastPlayer from onCastSessionAvailable()/onCastSessionUnavailable().
Some changes were required in ExoPlayer's cast-extension module to better support adaptive live streams. I've already opened a pull request in their repo.
that is awesome @ptsekov , hopefully it gets approved soon.
Do you guys have news about that?
Has anyone had success with this? Ideas?
Any progress here?