You can get a license for creating an AirPlay enabled speaker or other audio device by enrolling in the MFi Program.
But Apple does not publicly license the video streaming part of AirPlay at all.
Apparently Apple is opening up the video licensing somewhat as of 2019 and is now working with some TV manufacturers (Samsung is confirmed, others might follow according to the marketing website for AirPlay) to build AirPlay support into these devices. There is however no public licensing program in place yet, so if you don't know how to get in touch with Apple about that, you're probably not big enough to get such a license from Apple.
manpreet
Best Answer
2 years ago
Q:
-Frank-