UPnP and DLNA
Also called UPnP, DLNA, UPnP AV, DLNA server
UPnP is a set of network standards that lets devices find each other and share media; DLNA was the industry group that certified products using them. Together they let a streamer or app play music files stored on a computer or NAS in your home.
A UPnP audio system has three roles. A media server, software on a computer or NAS such as MinimServer, Asset UPnP, Jellyfin or Plex, indexes your files and offers them on the network. A renderer, usually a streamer or network receiver, plays them. A control point, an app on a phone or tablet, browses the server and tells the renderer what to play. Many streamers’ own apps act as the control point.
The music travels from server to renderer directly, and the app only steers. In plain UPnP, though, the queue lives in the app, so a phone that goes to sleep can stop playback at the end of the track. OpenHome, an extension introduced by Linn, moves the queue onto the renderer to fix this, and many streamers support it. Whether a file arrives untouched depends on the server: most send FLAC as stored, but some transcode, which is worth checking if bit-perfect delivery matters.
DLNA dissolved as a trade association in 2017 and handed its certification to another company, and its logo has largely gone from new products. UPnP AV, the standard underneath, is still how most streamers play files from a home server, so a missing logo rarely means a missing feature.
Common questions
Is DLNA the same as UPnP?
Not quite. UPnP AV defines how devices discover each other and stream media; DLNA was a certification program built on top of it, adding rules on which formats and settings a certified product had to support so that any two certified devices would work together. A device that speaks UPnP AV without the DLNA logo usually works with a DLNA server, and in practice the two names are used interchangeably.
Does DLNA support FLAC?
In practice, yes, though not because DLNA required it: FLAC was not among its mandatory formats, which centered on uncompressed PCM, and support was left to each maker. Nearly every current server and streamer handles FLAC, and the file is sent unaltered unless the server is set to transcode it. If it does, it usually converts to WAV or PCM, which is still lossless, only larger.
Is DLNA safe to use?
On a home network, generally yes: a media server announces itself only on the local network and needs no internet access. Two cautions apply. Anyone on the same network, including guests on your Wi-Fi, can usually browse and play the library, since most servers have no password. And the UPnP feature in routers that opens ports automatically is a separate function with a poor security record; it can be switched off without affecting music playback.
Does DLNA need an internet connection?
No. Discovery and streaming happen on the local network, so a NAS and a streamer on the same router keep playing with the internet connection down. The internet is needed only for things the server fetches, such as cover art or album details. Server and renderer must be on the same network segment, because discovery uses multicast messages that most routers do not pass between separate networks.
Can VLC play music from a DLNA server?
Yes. On a computer, VLC lists UPnP servers in the playlist sidebar under Local Network, as Universal Plug’n’Play; the phone and tablet versions show them in their network browsing view. VLC acts as control point and renderer in one, playing on the device it runs on. That makes it handy for checking that a server works, though it cannot send music on to a separate streamer.