Use airplay on windows

Hello,


We would like to use the screen sharing iPhone functionality to share the screen with Windows on local network.


The goal is to emulate an apple TV on windows but I can not find any documentation to do that. I am pretty sure that we will have to pay a license to apple to do that but I can not find any way to get more details.


By the way let me know if you have another solution building an IOS app, we made some try taking screenshots but seems that we can not do it outside of the app, when the app is in background


Thanks