Hi,
I'm wondering that nearly nobody noticed our discussion here (https://hydrogenaud.io/index.php/topic,98370.225.html) that UPnP MediaRenderer Output 1.0 has reverse stereo-channels, which has been confirmed!
Martin
The discussion was noticed. Thanks for reporting the problem and making sure that it gets my attention.
I'm afraid that there is no such bug with any of my devices: Linn DS, Kodi/OpenELEC.
It might be that specific devices mishandle LPCM streams and reverse the channels in them, which is their bug not ours.
There are troubleshooting options available for the UPnP output, under Preferences / Advances / Playback / UPnP MediaRenderer Output. Possibly setting stream format to "prefer WAV" will help with this issue.
I can add an option to reverse stereo channels there also, if there's no better workaround.
Hi Peter,
thanks for your attention and your answer. But how can you explain the fact, that the old component "UPnP/DLNA Renderer, Server, Control Point 0.99.49" doesn't have reverse stereo channels?
Martin
The foo_upnp component streams the files as they are. My UPnP output component launches a minimal UPnP media server that presents the output being played as a live stream.
From the posted console log, I see the bug occurs with WAV rather than LPCM, so you can disregard what I wrote above about LPCM channel order.
One potential issue is apparent from the console log:
Accept-Ranges: none
(...)
Range: bytes=46-
The device asks for partial content after I just specifically told it that it's not supported. Perhaps it then misreads the returned content somehow. I'll investigate this further.
Yes, this appears to be asking for a WAV stream to skip its header, but the header is 44 bytes, so it's also skipping half of a sample frame?
Hi Peter, appreciate your support. I an happy to provide follow up info or test any options, do ask if needed. I had previously tested the WAV and LPCM options but made no difference.
Attempted fix (initial N bytes skipped when handling such request)-
https://www.foobar2000.org/temp/foo_out_upnp-1.1b1.fb2k-component
Please report if this helps.
Just to confirm - this has fixed the reversal issue on my setup. Thanks, Peter.
Hi Peter,
after installing your fix, channels are in right order again.
Thanks
Martin
Thanks for confirming. The official version will be updated with this fix shortly.