I have a WIDI capable TV. When I am looking at a video or picture in my gallery I can select more then select player and see the TV. When I select the TV, what is on my phone immediately overrides what is playing on the TV and displays perfectly including sound.
I don't see this as the OP' question. I believe that will take some application development.