Media streaming with JW Player

If in latest versions of JW Player — a popular Flash-based player of audio and video files and streams — playing audio stream spontaneously stops in several seconds after start, then just add the duration variable with -1 value to the flashvars parameter of Flash movie (which is JW Player itself):

<param name="flashvars" value="file=http://example.com:8000/stream.mp3&amp;duration=-1&amp;…" />