[vlc-devel] [PATCH 0/2] Initial AirPlay target support

Brendon Justin brendonjustin at gmail.com
Mon Feb 27 22:59:16 CET 2012


I have functional AirPlay target support for VLC, with some caveats:

1) Mac OS X only (for now).  Bonjour is really easy in Obj-C,
and I have not used Avahi before, so this is it right now. There
are many #ifdef __APPLE__ ... #endif's in the code as a result.

2) It uses port 8080, because that is what the LUA httpd
server uses by default.  It can be changed via command-line
argument, but the Bonjour advertising is set to port 8080.

3) Scrubbing is only halfway there.  The device (e.g. my iPhone)
will only scrub forward, and is not updated properly if you seek
to another place in the video.  VLC will always seek correctly,
but the device can thus get out of sync. Also, no photo slideshow
support yet, as it requires PUT support which VLC's httpd lacks.

Comments welcome, as much of this is the result of me poking
around the VLC source without knowing how it works.

Split it into two patches as I thought appropriate.

Brendon Justin

More information about the vlc-devel mailing list