airplay is mirror
what is your issue ? is it audio airplay only not working from your iPhone ? or from iTunes on your computer?
of is your issue that airplay mirror from your mac not working ? Use AirPlay to display video from your Mac on an HDTV - Apple Support if that then maybe your mac is not new enough to support the feature ?