Screen Projection – What is the UPnP protocol?
What is UPnP protocol:
UPnP, abbreviated as Universal Plug and Play, is a set of network protocols.
UPnP is a set of network protocols promoted by the Universal Plug and Play Forum, with the goal of achieving network interconnection between devices.
The open-source frameworks for implementing the Upnp protocol mainly include:
Bing: A pure Java open-source project that can be directly compiled into a jar package using the source code. Although the official GitHub says that maintenance has been stopped, it should not affect its use. And there have been submissions within the past month, which should be maintained by enthusiastic individuals.
Platinum: is a cross platform C++library that has the advantage of being able to be compiled into libraries that can be applied to multiple platforms, such as Windows, IOS, Android, Web, etc. So the compilation process can also be quite complex, and the Android platform needs to use JNI when using it. Many large companies are using this SDK, such as XMBC, Iwedia, Pioneer Digital Design, MediaMonkey, etc.
CyberGarage: It is also an open-source library for pure Java, which can compile the source code into an Android library and use the Java library directly.
For pure Java development, from the perspective of usage complexity, CyberGarage is preferred. There are online reports that the HiSilicon platform uses this SDK. If considering cross platform, non pure Java development in the later stage, Platinum is the preferred choice, and following the choices of large companies should be wise.