thanks for the replies, Plex is paid app and XBMC needs to be jailbreaken device, i am looking for a free app and software, i dont like jailbreaking device
I guess you are extremely confussed or dont really know what you want.
Every iOS device (most of them, I don't know if something old as hell as the 3GS can support it) can act as an
AirPlay "Sender" to an
Airplay Receiver (e.g AppleTV, special compatible speakers).
What you asked was a way to AirPlay
from iOS TO Mac/PC. So all you need is an application installed on your Mac/PC (like another posted said) so that it becomes an
AirPlay Receiver, capable of receiving sound, video and screen mirroring.
Such alternatives were already posted, they work great and they all cost.
I don't even understand why you mention jailbreak.
The only "free" alternatives I know of, now obsolete (e.g They don't support Mountain Lion? They don't work on iOS 5+?) are
AirMac and
BananaTV.
Now, a word of advice, if you do have all of those devices on your signature at home ($$$$$$$), then what's $3 to $15 USD for a software you need?
I realize I'm posting this pretty late, and chances are the OP won't come back, but anyway MacRumors is heavily indexed on google, and I leave this for reference to any future travelers of teh intrawebz.