Using airplay can we provide input from both the side?

for example suppose we start video from ipad. And through airplay we mirrored it on mac then can we access that video from airplay like can we pause or stop that video from mac?
This is more like Handoff/Continuity. The app(s) in question would have to have been updated to handle this.

Original thread: https://forums.imore.com/threads/using-airplay-can-we-provide-input-from-both-the-side.302857/