Ionic Google chromecast and/or Airplay in my app

I want to provide a Chromecast and Airplay button in-app of my Ionic 6 app, that streams the screen to a compatible device. Not a video file that you provide a mp4 for, but the actual screen of the app, which has a p5.js sketch inside it. Is this possible? I see a few capacitor and cordova plugins that stream video files, but not the actual screen.

cheers
david

No, you need to create your own capacitor plugin for this, i have yet to see anyone tackle this issue.

ok thanks for the reply.