philippe_44 wrote: 
> Oh, Sorry Tim I got it now. I know we are in the context of tests, and
> not trying to find a working configuration, but I did not fully got the
> precise problem. 
> 
> So, let me try to resume: all other things being equal, 
> 
> - when resampling rate is force to fixed 96000, its fine
> - when let to "source" it's fine
> - when set to 96000 with the "no higher" option ticked, it fails
> 
> Do I get that right now?
> 
> [edit]: and I'm sorry for being thick, I'm probably doing (trying to do)
> too many things in parallel here
> 
> [edit2]: and I know what's happening! This is related to the long post I
> wrote before 
> 
> Due to UPnP protocol, the bridge must send the UPnP play request as soon
> as it receives the play request from LMS, and that's before any audio
> data has arrived.
> 
> When trying to send pcm (audio/Lss) to a UPnP player, you must tell, at
> that early stage, what is the sample size and sample rate. 
> 
> Unfortunately, when LMS sends a play request for a compressed format
> (flac in your case), it does not tell what are the sample rate and size,
> the bridge discovers it when it starts receiving the actual audio. And
> that's too late, as the play command as already been sent to the UPnP
> player
> 
> So, in that case, I have to remove 'raw' from allowed format and because
> this is the only one you have set in 'PCM format', it fails.
> 
> On the contrary, when you fix sample rate and sample size, then the
> bridge knows that it will have to do whatever is needed to reach these
> sample rate and size, which also means that it can indicate them to the
> UPnP player in the early play message. So, in that case, if raw is
> allowed, I used it
> 
> That's it. It's a bit silly from UPnP standard because, they could, as
> for wav, discover the sample rate and size with the audio data as,
> although it's not *inside* the data, HTTP requires content-type header
> to set explicitly these informations when starting to send audio ...
OK. As I understand it, if only 'raw' is specified, the 'No Higher'
option should not be available because there is no way to make it work. 
You might want to say something like that in the manual (or suppress the
option if that's not too hard).



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to