pulseaudio-dlna
pulseaudio-dlna copied to clipboard
Error on parsing XML
Would be nice if somebody could say why this XML not working? It comes from a microcontroller with esp-adf and works on other DLNA devices without problems. Got: ERROR No valid XML returned
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device>
<deviceType>urn:schemas-upnp-org:device:MediaRenderer:1</deviceType>
<presentationURL>/</presentationURL>
<friendlyName>ESP32 MD (ESP32 Renderer)</friendlyName>
<manufacturer>Espressif</manufacturer>
<manufacturerURL>http://espressif.com</manufacturerURL>
<modelDescription>Media Renderer Device</modelDescription>
<modelName>AV Renderer</modelName>
<modelNumber>ESP32_IDF_v3.0</modelNumber>
<modelURL>http://espressif.com/esp32</modelURL>
<serialNumber>0001</serialNumber>
<UDN>8db0797a-f01a-4949-8f59-51188b181809</UDN>
<serviceList>
<service>
<serviceType>urn:schemas-upnp-org:service:ConnectionManager:1</serviceType>
<serviceId>urn:schemas-upnp-org:service:ConnectionManager</serviceId>
<SCPDURL>/ConnectionManager.xml</SCPDURL>
<controlURL>/ConnectionManager/control</controlURL>
<eventSubURL>/ConnectionManager/event</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:AVTransport:1</serviceType>
<serviceId>urn:schemas-upnp-org:service:AVTransport</serviceId>
<SCPDURL>/AVTransport.xml</SCPDURL>
<controlURL>/AVTransport/control</controlURL>
<eventSubURL>/AVTransport/event</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:RenderingControl:1</serviceType>
<serviceId>urn:schemas-upnp-org:service:RenderingControl</serviceId>
<SCPDURL>/RenderingControl.xml</SCPDURL>
<controlURL>/RenderingControl/control</controlURL>
<eventSubURL>/RenderingControl/event</eventSubURL>
</service>
</serviceList>
</device>
</root>
Oh. Just opened https://github.com/masmu/pulseaudio-dlna/issues/410 . Found similar error message, but an other error message earlier ("Not enough values to unpack...") which seems the root cause.
I've got things work with this single change; I'm using "Ai Thinker Audio ... v2.2" with original esp-adf, similar to https://github.com/othiman/esp-adf.git
PS: A lot out of lipsync when using youtube, better when using vlc.