Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add audio/L16 (aka LPCM) support to UPnP renderer
#1
Hi,

BubbleUPnP developer here.

It would be nice if the UPnP renderer in UAPP implemented audio/L16 support (also known as LPCM).
This is a PCM format similar to WAV (minus the WAV header and with samples in Big-Endian byte order).

The reason is that L16 is the preferred format for live streams over UPnP.
The alternative is WAV, but it not ideal as WAV is a file format (with a duration limited to its maximum 4GB size),
and WAV does not work currently with UAPP for live streams.
Many UPnP renderers also expect to be able to buffer WAV extremely fast and abort if not the case.
No such assumption (in term of buffering) should be made with L16 and it should work with very minimal buffering,
using a single http request for the whole stream (no intermediate http "Range" requests).

If you were to add support for it, make sure to add all mime-types with samplerate/channels supported in protocolInfo:

audio/L16;rate=44100;channels=2
audio/L16;rate=48000;channels=2
...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)