INTERACT FORUM

Please login or register.

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

Author Topic: JRemote hangs several times a day  (Read 3412 times)

AndyU

  • Galactic Citizen
  • ****
  • Posts: 363
JRemote hangs several times a day
« on: May 26, 2016, 11:11:52 am »

Over the last few months I've experienced JRemote hanging two or three or more times a listening session. I'm using it on an iPad with MC on a W10 laptop. When it hangs, I need to kill the process on my iPad and restart it and it then connects straight away. I tend to listen to whole albums or works - say 30 or 40 minutes. If I use my iPad for iPady things while I'm listening, as often as not JRemote will hang when I select the next album. If I just listen to my music and don't mess about on the iPad then it's fine. Anyone any ideas? It's particularly annoying if I want to pause  my stereo quickly. Never seemed to happen say more than a year ago.
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: JRemote hangs several times a day
« Reply #1 on: May 26, 2016, 03:50:02 pm »

Do you have WMM QoS settings on your wifi router?

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

AndyU

  • Galactic Citizen
  • ****
  • Posts: 363
Re: JRemote hangs several times a day
« Reply #2 on: May 26, 2016, 04:02:54 pm »

Do you have WMM QoS settings on your wifi router?



I'll have a look when I get home, Thanks. It's an Apple Time Capsule and I think from what I have just read it might have WMM on by default and it can't be altered.
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: JRemote hangs several times a day
« Reply #3 on: May 26, 2016, 04:14:01 pm »

The reason why I ask you this is that I recently had a case where the IPad was Using higher QoS priority data streams which meant that lower priority data was being throttled resp frozen. Solution was to change the WMM settings on the router..

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

AndyU

  • Galactic Citizen
  • ****
  • Posts: 363
Re: JRemote hangs several times a day
« Reply #4 on: May 26, 2016, 04:24:17 pm »

Cheers. I'll check it out tomorrow when I'm back home. Come to think of it I switched to an Apple Tume Capsule some months ago and it could just be that this problem started around then, but I couldn't swear to it. Will let you know asap.
Logged

AndyU

  • Galactic Citizen
  • ****
  • Posts: 363
Re: JRemote hangs several times a day
« Reply #5 on: May 27, 2016, 06:49:14 am »

OK, have checked all the WiFi settings on my Time Capsule. There doesn't seem to be a WMM setting.
Logged

AndrewFG

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3392
Re: JRemote hangs several times a day
« Reply #6 on: May 27, 2016, 10:30:00 am »

Ok, understood.

I am providing the following explanation is in case anyone else finds this thread, and perhaps does have an WMM issue..

WMM defines four priority "channels" on a wi-fi router for supporting internet access for different classes of applications (background=email, best-effort=web-browsing, video, voice).

When an Apple device talks to a router that supports WMM, the router is obliged to use these four priority "channels" and manage traffic contentions appropriately.

JRemote (on iPad) does not support these WMM capabilities, so it tries to download via the router's (default) best-effort=web-browsing channel.

Sometimes, when the iPad is using (or has recently been using) one of the higher priority channels, that causes the lower priority channels get so little resource that they become effectively blocked.

There are three possible solutions:

1) The real proper solution would be for MC to add support to JRemote for the WMM features, and request downloads via the router's voice or video channel respectively.

2) The work around solution is to either a) disable WMM on the router, or b) set the router so that its SSID only supports WMM best-effort. This directs all applications requests from the iPad to use the same best-effort channel, and this means that no other application has any special chances of blocking JRemote traffic.
 
3) A possible third solution (but don't hold your breath) might be if Apple tweaks iOS so that the higher priority WMM channel cannot block a lower priority WMM channel when the higher priority channel is not actually being used. It looks like Apple reserves the channel even if nothing is going through it. So it is a kind of a bug. But probably not high on Apple's to-do list though..

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

AndyU

  • Galactic Citizen
  • ****
  • Posts: 363
Re: JRemote hangs several times a day
« Reply #7 on: May 27, 2016, 12:02:33 pm »

Thanks Andrew. It would be nice to blame apple, but I checked my previous router - a fancy Netgear one - and it DOES have the WMM enabled, and I don't recall having such frequent hangs. Hard to say though. It does seem that doing lots of browsing and flipping between apps causes JRemote to be unable to connect the next time it is used. I mostly listen to classical full works, hardly ever use playlists, rarely leap about, so there's usually very little for JRemote to do except keep connected so that when a piece has finished I can select the next one. The annoyance though is if say the phone rings and I want to pause what I am listening to then its a long hassle bumping off JRemote, starting it again, waiting for it to sort itself out and then pressing pause.
Logged
Pages: [1]   Go Up