[vlc-devel] SoC 2010: DLNA UPnP Server/Client Modules

Benjamin Zores ben at geexbox.org
Tue May 25 09:44:05 CEST 2010


On Tue, May 25, 2010 at 9:05 AM, Jean-Baptiste Kempf <jb at videolan.org> wrote:

> Ben, it is really cool to have you around then :D

Well if needed, don't hesitate to ask for help.

> I believe our client upnp module just needs to be fixed/extended. (It
> might not be so, so Austin might need a complete rewrite...)

If interested and/or if you go with gupnp library, you might find an example
at the UPnP/DLNA browser I wrote for our MediaCenter:
http://hg.geexbox.org/enna/file/4bee854e8730/src/modules/browser/upnp/upnp.c

> Therefore, I believe the biggest part would be the server part...

That's 100% correct.
It's really the most tricky part, especially if you really deal and
comply with DLNA specs.
If you want to know a bit more about DLNA, here are a few lines I
wrote a couple years ago:
http://gxben.wordpress.com/2008/08/24/why-do-i-hate-dlna-protocol-so-much/

>From client side, it's much easier to handle as you don't have to be so strict.
An "intelligent" client should just receive whatever is sent to him
through HTTP/RTP and demux/decode it on the fly.
A "stupid" client (e.g. PS3) that really complies with DLNA specs will
treat and demux the file as it has been announced by the server (e.g.
server tells it's a 2-ch AAC while it's aactually 7-ch AAC and the
client will decode it as a 2-ch one).

Ben

-- 
"My life, and by extension everyone else's is meaningless."
Bender, Futurama



More information about the vlc-devel mailing list