Stream stoping!?!

58 views
Skip to first unread message

Jasmin Kadric

unread,
May 25, 2013, 5:46:23 PM5/25/13
to jpl...@googlegroups.com
Hello, i ve downloaded demos from the official site, and i tryed to play one local radio useing jplayer.
Jplayer succesfully loads the stream, but after few seconds it stops, and than play again.

You can try it here : http://5.9.138.76/~joomsolu/jp/demo-08-bm.htm
I tried solution flash,html also.
What is the problem?
Thank you!

Jasmin Kadric

unread,
May 26, 2013, 6:12:33 PM5/26/13
to jpl...@googlegroups.com

Mark Panaghiston

unread,
May 28, 2013, 1:30:41 PM5/28/13
to jpl...@googlegroups.com
From your basic description... It suggests that your bandwidth is not good enough to play the audio.

Maybe if you gave some more info, such as what browsers you tested it on. There are 5 main ones and these days with mobile it starts getting a long list.

Firefox recently started working with mp3 in native HTML5, but i have noticed that it does not like some streams and does what you described... plays a bit then stops and then plays a bit.

Generally, you can get a good feel for how a browser is able to play your stream by visiting the stream url directly.

You current site appears to give the incorrect mime type for the stream:
HTTP "Content-Type" of "text/plain" is not supported. Load of media resource http://streaming.tdiradio.com:9000/;listen.pls failed.

Ah actually, that is because you are trying to play a PLS file. That file is used by winamp and other external media players to play the stream. Basically that file has the URL in it of the stream and you usually need to put the /;stream/1 on the end or something like that. But that does not explain why it worked...

Maybe you were testing on a iPad or Safari, since they can actually play PLS if they are an MP3 stream. There is nothing in the docs on that - Apple docs that is.


Jasmin Kadric

unread,
May 31, 2013, 11:41:00 AM5/31/13
to jpl...@googlegroups.com


I found that stream works with chrome, but not with mozilla.
I ve copied the stream url from the .pls file and the jplayer code (line) looks like this :

mp3: "http://webport.tdiradio.com:80/;stream/1"
but it still stops after few seconds in mozilla, and then it start again..
My connection speed is ok, and should be able to stream without problems.
http://www.speedtest.net/result/2743642441.png
Thanks for the answer.
Jasmin

Mark Panaghiston

unread,
Jun 3, 2013, 10:44:16 AM6/3/13
to jpl...@googlegroups.com
That is Firefox 21 having a problem with your stream.

There is nothing jPlayer can do about this other than for us to bug report it to Mozilla and hopefully it will be fixed in Firefox 22.
I suggest that you bug report it to them, since it is your stream and many streams work perfectly.
I have not been able to determine why some mp3 streams work while others have problems.

Since all you want it to do is work... You can put solution:"flash,html" and the flash solution will be used in all browsers instead of the html5 native player.

Please bug report it to firefox though...
https://bugzilla.mozilla.org/

With your help, they can fix it.

Jasmin Kadric

unread,
Jun 3, 2013, 3:40:38 PM6/3/13
to jpl...@googlegroups.com


I have reported a bug to mozilla , i really hope that problem will be fixed.
I tryed to set solution: "flahs,html"  , but that doesnt help me.
You can try it here:
http://144.76.9.181/~joomsolu/jp/demo-08-pf.htm  Am i doing something wrong?
Thank you
Regards , Jasmin

Mark Panaghiston

unread,
Jun 4, 2013, 6:12:10 AM6/4/13
to jpl...@googlegroups.com
I think there is something wrong with your stream.

To start with, your server is not giving HTTP response headers. I suspect it is giving ICY headers instead.

Your server may also be giving metadata in the stream, which tends to screw things up... WinAmp would strip it out ok, but the flash and web page have no clue and try and play the data. This usually causes crackling though, so this might not be partof the problem.

The server also seem to have a pre-roll. This has caused problem for others too.
Reply all
Reply to author
Forward
0 new messages