Quote:
Originally Posted by Erniec Am interested to write one too (in .NET, c#), however couldn't find any link to a library or API. Where did you find the info ? |
What you need to do is to implement an UPnP AV MediaServer, ConnectionManager and ContentDirectory. The UPnP specs are, fortunately, freely available here:
Welcome to the UPnP™ Forum!
DLNA is just a specification on top of UPnP but it is not freely available. This is really awkward as on one hand they want to make DLNA the interop standards between devices, on the other hand they ask a few thousands bucks to get access to specification! Isn't that weird?
Anyway...what DLNA specificies is file formats (what they call "profiles") and a few other things. But - and here comes the mess - any vendor has implemented their own DLNA flavours: see XBOX, PS3, Samsung....
As far as I have understood, Samsung implements some custom DLNA commands that prevent a "standard" DLNA MediaServer to talk correctly to a Samsung telly. E.g., most of the times you get a "file error" or something like that.
Their PC Share Manager is decent, but is very limited - like: you cannot add a single file but a whole directory, it is VERY slow when it rebuilds the database, does not do transcoding (so you are stuck with the few formats DLNA allows), does not allows a complex directory nesting, etc.
I tried a few others but do not work very well either (as they do not interpret their DLNA extensions properly). Frustrated, I have decided to write my own one :D
Good luck
Stefano