For music only, I am using mpd with upnpmpdcli on a RasPi (zeroW) and control it over BubbleUPnP from my phone. No video solution unfortunately.
https://www.musicpd.org/clients/
> MPD is designed around a client/server architecture, where the clients and server (MPD is the server) interact over a network. Thus, running MPD is only half of the equation. To use MPD, you need to install a MPD client (aka MPD interface).
https://mpd.readthedocs.io/en/stable/plugins.html#output-plu...