httpd streaming hangs while buffering since mpd version 0.17

Need help with MPD?
Post Reply
redwineaudio
Posts: 3
Joined: February 4th, 2015, 8:11 pm

httpd streaming hangs while buffering since mpd version 0.17

Post by redwineaudio »

I use mpd to stream music on my local network. Mpd is installed on my HP-Microserver and i use a "DNT IPdio Tune Titan" webradio to listen to the music stream. With mpd version 0.16.8 erverything was working fine,
but since version 0.17 the music stream hangs while buffering after 3 seconds. The music stops and nothing happens. I have tried several mpd versions since 0.17 with no result. even the most recent mpd 0.19.8.

I wonder what the change from 0.16.8 to 0.17 might be, so that httpd-streaming is not working any more on my webradio device? Can you give me an advice?

Thank You

redwineaudio

max
Forum team
Posts: 1108
Joined: January 15th, 2013, 3:43 pm

Re: httpd streaming hangs while buffering since mpd version

Post by max »

Sorry, MPD 0.17 is ages old and unsupported.

redwineaudio
Posts: 3
Joined: February 4th, 2015, 8:11 pm

Re: httpd streaming hangs while buffering since mpd version

Post by redwineaudio »

max wrote:Sorry, MPD 0.17 is ages old and unsupported.
Hi max,

thank you for your fast reply. You are right mpd version 0.17 is way too old. This is one reason why i ask you for support. I am using ubuntu-server 14.04 as OS and mpd 0.16.8, because version 0.16.8 is the last version of mpd which works fine for me.

I would like to upgrade to a newer version of mpd but any version > 0.16.8 hangs while streaming with httpd. I am able to compile mpd from source, which i did many times with success. And i compiled the most recent version 0.19.8 also. But even with mpd 0.19.8 music streaming with httpd hangs while buffering and stops after 3 seconds. To put it in a nutshell "mpd 0.16.8 works fine even with flac streaming but mpd 0.19.8 hangs and stops". So i rephrase my question:

I wonder what the change from 0.16.8 to 0.19.8 might be, so that httpd-streaming is working fine with 0.16.8 and fails with 0.19.8? For me it looks like a problem with buffering.

Thank you for your support.

redwineaudio

Rasi
Forum team
Posts: 141
Joined: January 16th, 2013, 7:29 pm

Re: httpd streaming hangs while buffering since mpd version

Post by Rasi »

if streaming does not work reliably, open a bug report

redwineaudio
Posts: 3
Joined: February 4th, 2015, 8:11 pm

Re: httpd streaming hangs while buffering since mpd version

Post by redwineaudio »

I did some research on this problem. Today i compiled the brand new mpd version 0.19.9 but the httpd streaming hangs again. I switched verbose login on and my log file says:

Feb 12 18:46 : client: [0] process command "status"
Feb 12 18:46 : client: [0] command returned 0
Feb 12 18:46 : client: [0] process command "idle"
Feb 12 18:46 : client: [0] command returned 1
Feb 12 18:46 : httpd_output: client is too slow, flushing its queue
Feb 12 18:46 : httpd_output: client is too slow, flushing its queue
Feb 12 18:47 : httpd_output: client is too slow, flushing its queue
Feb 12 18:47 : httpd_output: client is too slow, flushing its queue
Feb 12 18:47 : httpd_output: client is too slow, flushing its queue
Feb 12 18:47 : client: [0] process command "status"
Feb 12 18:47 : httpd_output: client is too slow, flushing its queue
Feb 12 18:47 : client: [0] command returned 0

Do you have any idea what this means? Any help would be greatly appreciated.

redwineaudio

max
Forum team
Posts: 1108
Joined: January 15th, 2013, 3:43 pm

Re: httpd streaming hangs while buffering since mpd version

Post by max »

It means that MPD tries to push data to the client, but the client doesn't handle it in real-time, so MPD has to drop packets. That may be because your streaming client is buggy, or maybe the network connection is too slow or has packet loss.

Post Reply