How to make KODI publish online streams in DLNA server mode?

I have set up my KODI app on an android device to work as a DLNA Server and Renderer.

Then, I added online sources in KODI’s audio resouces by creating two local name.strm and name.m3u text files, and listing them to KODI’s audio resource list.

The two sources are listed locally and can be run from KODI’s local interface, but they are not listed among the audio resources offered by KODI’s DLNA Server.
So, while now I can control Kodi with any DLNA control point and let it play any of its local files, I can’t get it to play the online streams unless I do that directly form the andorid device.

Is there any way to make KODI publish the online sources among the resources made available as a DLNA server?