This library may be used to create UPnP or DLNA servers via its RygelMediaServer class.

This example program shows how to fill a container with media items and then instantiate a server to serve them.