You have to have appletv for that.
You can do the same thing with android actually, been able to do that since around the time when android first came out in 2008, though you don't need appletv to do so, any PC will do, or even any kind of device that can run open source code. Airplay is late to the game tbh. Nice try tho
What sets this standard apart, is that you won't need anything at all except just a phone and a tv.