INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Radio Station Stream to DLNA Renderer  (Read 5269 times)

whoareyou

  • Galactic Citizen
  • ****
  • Posts: 380
Radio Station Stream to DLNA Renderer
« on: March 23, 2019, 09:20:15 am »

Should I be able to stream i.e. Radio JRiver over DLNA to a network renderer?   The station plays properly to my local computer so it's working properly in that regard. 
Thanks
Logged
Windows 11 Pro
Intel i7-12700K / 32MBRam /
ASUS Dual GeForce RTX 4070
4K Sony x900h

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71293
  • Where did I put my teeth?
Re: Radio Station Stream to DLNA Renderer
« Reply #1 on: March 23, 2019, 09:36:55 am »

Not now.  Maybe in the future.  Maybe.
Logged

whoareyou

  • Galactic Citizen
  • ****
  • Posts: 380
Re: Radio Station Stream to DLNA Renderer
« Reply #2 on: March 24, 2019, 05:09:11 pm »

That would be very nice to get working.  Thanks
Logged
Windows 11 Pro
Intel i7-12700K / 32MBRam /
ASUS Dual GeForce RTX 4070
4K Sony x900h

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Radio Station Stream to DLNA Renderer
« Reply #3 on: March 24, 2019, 08:43:13 pm »

Jim, do you consider JRiver for Android in the category of network renderer?

Because I thought MC couldn't stream any internet sourced content to a DLNA Renderer. But I have just been looking into it a bit and found that quite a few of the sources under MC's "Streaming" item can be streamed to JRiver for Android. See https://yabb.jriver.com/interact/index.php/topic,119998.msg829557.html#msg829557

So it appears that Radio Paradise, PublicRadioFan.com, Radio Swiss, for example, can be streamed to a network renderer. I didn't test other sources. Radio JRiver doesn't work at present, but it comes very close, sending playlist items to JRiver for Android, but just not playing them. It tries to play each track, but fails and skips to the next track.

I just checked that using BubbleUPnP on my phone as the target DLNA Renderer, and that worked the same as for JRiver for Android.

It seems that any time that MC asks if I want to "Play Stream", that a source from the internet will stream to a DLNA Renderer, if that Renderer is selected as the Zone to play to.

Comments?
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Radio Station Stream to DLNA Renderer
« Reply #4 on: March 24, 2019, 09:23:55 pm »

Quote
I thought MC couldn't stream any content to a DLNA Renderer.

I can certainly stream Radio Paradise to the renderers on my network.
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: Radio Station Stream to DLNA Renderer
« Reply #5 on: March 25, 2019, 06:43:01 am »

It depends very much on your renderer, and on the remote stream server, and very little on MC itself..

The UPNP / DLNA mechanism for pushing to a renderer is that the Control Point (MC) sends a command SetAVTransportURI to tell the renderer a URL that it should play, and then it sends a command PLAY to tell it to start the actual downloading and playing. Then the renderer does an HTTP GET command to fetch the actual music.

When this GET is for a track that is local on MC then MC can ensure that its response to the HTTP GET is strictly conformant to the UPNP / DLNA specifications; so for example it can transcode the media to a format that the renderer supports, and provide HTTP ContentLength and ContentType headers. But if the GET is sent to a remote streaming source, then MC is not in the loop, and the remote streaming source responds to the GET directly. And if the remote stream server doesn’t provide the right ContentType, or omits (say) a ContentLength header, then the renderer might fail to play the track.

One possible future solution would be for MC to put itself back in the loop when a renderer is attempting to play remote streams. So instead of passing the renderer the direct URL of the remote stream server via the SetAVTransportURI command, it would pass a proxy URL on its own server. Then when the renderer issues it’s HTTP GET, MC would download the remote stream into its own buffer and retransmit the data to the renderer whilst also adding any missing HTTP headers, and/or transcoding the media format if necessary.

PS I think this proxying mechanism is how BubbleUPNP does it..

Logged
Author of Whitebear Digital Media Renderer Analyser - http://www.whitebear.ch/dmra.htm
Author of Whitebear - http://www.whitebear.ch/mediaserver.htm

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Radio Station Stream to DLNA Renderer
« Reply #6 on: March 25, 2019, 04:04:32 pm »

Ah, I see. Thanks for the explanation Andrew.

It would be good if the proxy URL method could be implemented, if it meant that all web sites could be played as a stream in MC, rather than just playing to the Windows Default Audio Device. As it is now it is a bit hit and miss when I try to play a stream, depending on whether JRiver has done something special for a site I guess, such as RP, Radio Swiss, etc.

I've been streaming to JRiver for Android on my phone around the house, and I like it.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Radio Station Stream to DLNA Renderer
« Reply #7 on: March 25, 2019, 05:25:14 pm »

Yeah I agree that would be great if it could be architected that way. Like Roderick I find when it works it works well but sometimes can be hit and miss to get going, if MC could proxy and buffer before streaming then that should give is a bit more control and make it more robust.
Logged

Davidhe19

  • Recent member
  • *
  • Posts: 8
Re: Radio Station Stream to DLNA Renderer
« Reply #8 on: October 15, 2019, 03:02:38 pm »

Hi, great discussion from people here.  I am relatively new user for MC, a little bit over a year.  Recently, I have been testing different schemes using router/switch to play music stream by using MC as a controller.  What have been discussed here supported why the DSD through DoP is not working in the DLNA mode.  But one thing puzzles me is that why the up-sampling function works in the DSP selection under DLNA mode.
Logged

dtc

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3001
Re: Radio Station Stream to DLNA Renderer
« Reply #9 on: October 16, 2019, 03:07:27 pm »

Thanks Andrew. That makes a lot of sense. Good to know the details.  The proxy solution would be a good general purpose solution, although I am sure there would be some issues with it also.  Unfortunately, no DLNA setup is foolproof, as you know so well.
Logged

GoodEnoughGear

  • Recent member
  • *
  • Posts: 21
Re: Radio Station Stream to DLNA Renderer
« Reply #10 on: January 27, 2021, 12:10:55 am »

Hi folks, I know this is a bit of a necro, but given the rising prevalence of streamers I think it's worth bubbling this back up.

One of the key advantages to running a proxy for DLNA streams is that you can put the MC DSP engine in the path. You can sort of do this by configuring the Server to add DSP for local files, but of course this does not work for external streams.

Thanks!
Logged
Pages: [1]   Go Up