|
Flac->Wav transcoding not working on Cambridge StreamMagic 6
|
|
14-02-2014, 17:48
(This post was last modified: 14-02-2014 17:49 by Andre Gosselin.)
Post: #1
|
|||
|
|||
|
Flac->Wav transcoding not working on Cambridge StreamMagic 6
I have Cambridge Audio StreamMagic 6 renderer on which I want to experiment with the MinimStreamer Flac->Wav transcoding (setting "stream.transcode" property to "flac:wav"). I created the following directory structure with simple file names and a 16bit/44.1KHz flac file to ease the test:
a\b\c.flac Using BubbleUPnP as control point, I can see when looking in the track metadata that the stream is set to Quote:WAV, 16 its, stereo, 44100Hz, 146 MBAll this seems correct. Trying to play the track on the StreamMagic 6 renderer however does not work. I get the following inside the log file (set to debug level): Quote:10:07:35.931 Thread-348: HTTPService: accepted incoming connectionAccording to the log, the renderer appears to have recoded the '$' sign to a '%24' inside it's GET request, to which MinimServer replies with a "404 Not Found" error. The only way I found to get transcoding working on the StreamMagic is to wrap MinimServer inside a proxy using BubbleUPnP server. The GET request now shows a '$' sign and the track plays OK. Log file contains: Quote:11:10:57.395 Thread-348: HTTPService: accepted incoming connectionI tried the same experiments using a different control point (UPnPlay), with the same results. I am wondering if this problem is due to a bug in the StreamMagic renderer or not. Is this rewrite of the '$' as '%24' in the GET request (the source of the problem as far as I can tell) a disallowed 'behavior' by the UPnP specification, or a possibility which MinimServer is not prepared to handle ? Accessing MinimServer through a BubbleUPnP server proxy solves the issue, but this can be seen as a workaround which adds an undesirable layer of complexity to a system. Is there somwthing else I could try ? Could MinimServer be modified to handle the StreamMagic 6 behavior, or should the issue be reported to Cambridge Audio ? Your help would be greatly appreciated. |
|||
|
14-02-2014, 22:44
(This post was last modified: 14-02-2014 22:44 by simoncn.)
Post: #2
|
|||
|
|||
RE: Flac->Wav transcoding not working on Cambridge StreamMagic 6
(14-02-2014 17:48)Andre Gosselin Wrote: I am wondering if this problem is due to a bug in the StreamMagic renderer or not. Is this rewrite of the '$' as '%24' in the GET request (the source of the problem as far as I can tell) a disallowed 'behavior' by the UPnP specification, or a possibility which MinimServer is not prepared to handle ? Accessing MinimServer through a BubbleUPnP server proxy solves the issue, but this can be seen as a workaround which adds an undesirable layer of complexity to a system. Is there somwthing else I could try ? Could MinimServer be modified to handle the StreamMagic 6 behavior, or should the issue be reported to Cambridge Audio ? I have read the relevant specifications, and it is debatable whether or not the renderer is permitted to do percent encoding of the reserved URL character '$' when it sends a GET request. However, it appears to be legal for the renderer to do percent encoding of some other URL path characters in a GET request. To handle this, the simplest approach seems to be for MinimServer to accept percent encoding in GET requests for all path characters except '/' (which definitely can't be percent encoded). This change should enable MinimServer to interoperate with the StreamMagic. I will release an update in the next few days with this change, assuming that it doesn't cause any other problems. |
|||
|
14-02-2014, 22:59
Post: #3
|
|||
|
|||
RE: Flac->Wav transcoding not working on Cambridge StreamMagic 6
(14-02-2014 22:44)simoncn Wrote:Great support ! Thanks a lot, I will wait for this update when it is ready.(14-02-2014 17:48)Andre Gosselin Wrote: I am wondering if this problem is due to a bug in the StreamMagic renderer or not. Is this rewrite of the '$' as '%24' in the GET request (the source of the problem as far as I can tell) a disallowed 'behavior' by the UPnP specification, or a possibility which MinimServer is not prepared to handle ? Accessing MinimServer through a BubbleUPnP server proxy solves the issue, but this can be seen as a workaround which adds an undesirable layer of complexity to a system. Is there somwthing else I could try ? Could MinimServer be modified to handle the StreamMagic 6 behavior, or should the issue be reported to Cambridge Audio ? |
|||
|
19-02-2014, 18:36
Post: #4
|
|||
|
|||
| RE: Flac->Wav transcoding not working on Cambridge StreamMagic 6 | |||
|
19-02-2014, 19:10
Post: #5
|
|||
|
|||
| RE: Flac->Wav transcoding not working on Cambridge StreamMagic 6 | |||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



