From the first two articles we learned about the basic concepts of DLNA and UPnP protocols, this article mainly introduces the SDK and code resources for developing DLNA&UPNP applications.
1. Build a test environment
By the second article, the UPnP AV Typical application architecture, we know that to achieve a complete application, we need three principals, one is MediaServer, one is MediaRenderer, and the other is control point, we don't have to implement it all at once, We can implement one, and then use the existing DLNA application to test whether our functionality is complete.
(1) MediaServer
Recommended: Bubbleupnp, magic Video, Happy Video (Kxplayer), MediaServer
(2) MediaRenderer
Recommended: Happy Video (Kxplayer), Mediarender
(3) Control point
General integration in MediaServer software, recommended: Bubbleupnp, magic Video, Happy Video (Kxplayer)
2. The SDK for UPnP
There are a number of SDKs available on the UPnP website, and the versions in various languages are:
http://upnp.org/certification/toolsoverview/sdks/
Here are some commonly used:
Cling,libupnp,gupnp,cybergarage,platinumkit
Personal comparison recommendation: Platinumkit, the next article will briefly introduce the Platinumkit library.
3. Code Resources
(1) An Echo sample code that uses UPnP:
Http://jan.newmarch.name/internetdevices/upnp/upnp-programming.html
(2) DLNA development based on Cybergarage Library (Android)
http://blog.csdn.net/lancees/article/details/8477513
Https://github.com/geniusgithub/MediaPlayer
(3) DMS implementation based on Platinum Library (Android)
http://blog.csdn.net/lancees/article/details/9865411
Https://github.com/geniusgithub/MediaServer
(4) DMR implementation based on Platinum Library (Android)
http://blog.csdn.net/lancees/article/details/8951679
Https://github.com/geniusgithub/MediaRender
4. Summary
About the DLNA and UPnP Protocol SDK and code resources are introduced here, the next article will mainly introduce the Platinumkit library, have any questions welcome message or letter [email protected] exchange.
This article is from the "Shadow Three People" blog, please be sure to keep this source http://ticktick.blog.51cto.com/823160/1638775
DLNA&UPNP Development Notes (3)