PDA

View Full Version : Trascoding controlled by DMC profile instead of DMR profile?



Olli-Pekka Isola
04-20-2017, 04:29 PM
Dear support,

To my surprise, I have found out that Mezzmo decides transcoding based on the profile of the controlling device (DMC) instead of the profile of the rendering device (DMR). Can you confirm that this behavior is intentional? Can I alter the logic?

My setup is:

1. The latest version of Mezzmo as digital media server (DMS).
2. Jeremy Pepiot's Smart Player on Windows Phone 10 as digital media controller (DMC).
3. foobar2000 on Windows 10 as digital media renderer (DMR).

I am interested in streaming audio from FLAC coded files. I have set receiving device to use "Kodi" profile, since Kodi supports FLAC just like foobar2000 does.

I have tested "Smart Player", "Microsoft Windows Phone 10" and "BubbleUPnP" as controller profiles. The first two ("Smart Player", "Microsoft Windows Phone 10") causes audio to be transcoded as MP3 while the last one ("BubbleUPnP") let the stream stay in FLAC.

I think that the rendering device (DMR) should be the one that has the last say on the transferred format, not the controller.

I admit that during the mobile age DMC and DMR are likely to be the same device, most of the time.

I am open to any advice wether it be a fix to a configuration or suggestion of other controlling software (if Smart Player is the culprit) or something else.


Kind regards,
Olli-Pekka

Peter
04-20-2017, 04:39 PM
Hi,
you should set the device profile for the DMC to the same profile as the target device and this should get the transcoding working as required for the device.

Olli-Pekka Isola
05-01-2017, 04:57 PM
Hi Peter,

I agree that setting DMC profile same as DMR profile is a solution if DMC stays in DMC role for that particular DMR. The setup is broken if DMC is using itself as DMR in other use cases.

I would like to have an option in Mezzmo settings that changes the default device detection logic to be based on DMR instead of DMC.

Peter
05-02-2017, 09:17 AM
The Mezzmo server only receives browse requests from a device whether it be in DMR or DMC mode so there is no way to know if it is in DMR or DMC mode. The Mezzmo Android app sends a special tag in the browse request which contains the IP address of the device it is browsing for and this allows switching the device profile between the target device and the local device. If the app you are using is open source or you can contact the developer then you might be able to request that this tag be added.