Receiving AirPlay RTSP

W. Michael Petullo mike at flyn.org
Sat May 7 10:18:04 PDT 2011


I am interested in writing an application that can receive and play
audio from an AirPlay source (sort of the opposite of the RAOP/apex
plugin). I have the mDNS/DNS-SD portion working so that iTunes sees
my application as a speaker. However, I am unsure of the best way to
receive the audio.

Right now, iTunes tries to begin by sending the following (as captured
by nc):

	POST /fp-setup RTSP/1.0     [ I'm not entirely sure what is going on here yet.]
	CSeq: 1
	Content-Type: application/octet-stream
	Content-Length: 16
	User-Agent: iTunes/10.2.2 (Macintosh; Intel Mac OS X 10.6.7) AppleWebKit/533.21.1
	Client-Instance: 69EFB31E9A3589A3
	DACP-ID: 69EFB31E9A3589A3
	Active-Remote: 687528207

	FPLY...

I have looked at GStreamer's rtspsrc, but it needs to connect to an
existing server. What I think I am looking for is something that will
listen on a port, similar to tcpserversrc. I'm also a little concerned
about some things I've read about cryptography used in the protocol,
but I haven't gotten that far yet.

Is anyone working on a similar project?

-- 
Mike

:wq


More information about the gstreamer-devel mailing list