Is the Platinum UPnP open source library a good opportunity to implement a DLNA system on a Linux system?

I am considering introducing my own DLNA system in my Linux systems. Is the Platinum UPnP library a good option for this.

What I found is the Platinum UPnP library, which is quite large in size.

Are there any other open source UPnP (DLNA) libraries that have a more optimal and compact implementation in C / C ++.

+4
source share
3 answers

I do not know about platinum UPnP, but if you want to look at other libraries, look at libUPnP.

Project Page => http://pupnp.sourceforge.net/

Its in C by the way ...

+1
source

pupnp is based on the libupnp source code, and age shows ... Using it in an application is, in my opinion, painful. It doesn't seem like a big thing when you just check things out, but when you have a complex application, the pain is real.

A note about Platinum is that it is a GPL unlike most linux libraries. This, and the fact that it is not even available on major Linux distributions, meant that I had never tried it, so I cannot examine it in more detail.

My own choice would be GUPnP (although you could easily call me biased): it is written in C using Glib and a license under LGPL. Mobile and network style devices created using GUPnP are now used in the real world. Both UPnP and DLNA have certified devices and services implemented using GUPnP. The library has some dependencies (libsoup, libxml2), but I believe that they are for valid reasons. The API, as a rule, simplifies the task for the user without sacrificing performance, and that something more upnp packages cannot require.

+1
source

I would recommend you use Herqq-UPnP . This is definitely one of the best Open-Source UPnP libraries, I use it myself. Here you will find everything you need:

http://www.herqq.org/

Oh, and just in case you don’t like it, check out the official UPnP SDK guidelines:

http://upnp.org/sdcps-and-certification/resources/sdks/

Regards, Michael

0
source

Source: https://habr.com/ru/post/1333294/


All Articles