We have both Apple TVs 4ks and Chromecast's 4ks setup in our office.
All our machines (mixture of OSX and Windows) run Air Parrot
[Link: airsquirrels.com] which allows you mirror to either Apple TV or Chromecast
It also allows you to mirror the whole screen, just one programme window etc..