We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
pupnp 基于原始的 libupnp 代码,并且时间表明......在我看来,在应用程序中使用它是痛苦的。当您只是测试一些东西时,这似乎不是什么大事,但当您有一个复杂的应用程序时,痛苦是非常真实的。
关于 Platinum 需要注意的一点是,与大多数 Linux 库不同,它是 GPL。事实上,它甚至在主要的 Linux 发行版中都不可用,这意味着我从未尝试过它,所以我无法更详细地审查它。
我自己的选择是 GUPnP (尽管你可以很容易地称我有偏见):它是用 C 编写的,使用 Glib 并获得许可LGPL。现在,使用 GUPnP 制造的移动和机顶盒式设备已在现实世界中使用。 UPnP 和 DLNA 均已通过 GUPnP 制作的经过认证的设备和服务。该库确实有一些依赖项(libsoup、libxml2),但我相信这些依赖项的存在是有充分理由的。 API 主要设法在不牺牲性能的情况下使用户的操作变得简单——这是大多数 upnp 堆栈无法声称的。
pupnp is based on the original libupnp code, and the age shows... Using it in an application is, in my opinion, painful. It doesn't seem like a big thing when you're just testing things but when you have a complex application the pain is quite real.
A thing to note about Platinum is that it's GPL unlike most linux libraries. That and the fact that it's not even available in the main linux distributions has meant that I've never tried it, so I can't review it in more detail.
My own choice would be GUPnP (although you could easily call me biased): It's written in C, using Glib and it's licensed under LGPL. Mobile and set-top style devices made with GUPnP are used out there in the real world right now. Both UPnP and DLNA have certified devices and services made with GUPnP. The library does have some dependencies (libsoup, libxml2) but I believe those are there for good reasons. The API mostly manages to make things easy for the user without sacrificing performance -- and that's something most upnp stacks cannot claim.
我不知道白金 UPnP,但如果你想看看其他库,看看 libUPnP。
项目页面=> http://pupnp.sourceforge.net/
顺便说一句,它是用 C 语言编写的...
I don't 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...
我建议您使用Herqq-UPnP。它是迄今为止最好的开源 UPnP 库之一,我自己也在使用它。
您可以在这里找到所需的一切:
http://www.herqq.org/
哦,以防万一如果您不喜欢它,请查看官方 UPnP SDK 推荐:
http://upnp .org/sdcps-and-certification/resources/sdks/
亲切的问候,
迈克尔
I would recommend you to use Herqq-UPnP. It is by far one of the best Open-Source UPnP Libraries, I am using it myself.
You'll find everything you need here:
http://www.herqq.org/
Oh and just in case you don't like it, check out the official UPnP SDK Recommendations:
http://upnp.org/sdcps-and-certification/resources/sdks/
Kind regards,
Michael