View previous topic :: View next topic |
Author |
Message |
als
Joined: 14 Oct 2008 Posts: 18
|
Posted: Mon Sep 19, 2011 4:12 pm Post subject: Problems with embedded flash players when intro file is used |
|
|
After adding AD as an <intro> to our stream, discovered, that this causes flash player, embedded in our site to constantly drop sound (every second).
Can be tested here:
http://www.latviesuradio.lv/JoomlaRadio_v4/Radiostations/radio2.htm
If after intro (after 26's second) I press pause and then play, it continues playing flawlessly.
I've tried different players: FFMp3 shows same behaviour, Minicaster plays some time without drops, then restarts stream (with intro).
The same behaviour with:
intro bitrate a little smaller than stream's
intro bitrate a littel larger than stream's
intro has id3 tags striped out
intro was encoded by lame (linux)
intro was encoded by Audacity (windows)
intro was cut to 5 seconds length
If I watch network activity with Firebug, audio stream data seems to come in blocks in the same order as audio drop outs.
It seems to me, that when intro is used, it breaks something in icecast's prebuffering (or burst) logic.
Playing stream in winamp, vlc, windows media player is ok.
If anyone can show, where to look for flash player with configurable prebuffering option, I'll be very pleased .
Alexander |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Sep 19, 2011 4:56 pm Post subject: |
|
|
It's probably down to the flash poorly handling frame sync midstream. The intro goes through no problem but then icecast starts sending on a non-frame boundary. Flash fails but other players work without problems. The pause/resume probably triggers a resync which allows it to work.
Try with my latest build from my web site, that has some frame alignment code in use for the flv wrap. Even if flv is not used, the internal blocks are aligned on frame boundaries so should prove if that is the issue or not.
karl. |
|
Back to top |
|
|
als
Joined: 14 Oct 2008 Posts: 18
|
Posted: Tue Sep 20, 2011 3:07 pm Post subject: |
|
|
karlH wrote: |
It's probably down to the flash poorly handling frame sync midstream. The intro goes through no problem but then icecast starts sending on a non-frame boundary. Flash fails but other players work without problems. The pause/resume probably triggers a resync which allows it to work. |
I thought about this as a problem source, but didn't manage to get software to analyze frames in downloaded sample ...
karlH wrote: |
Try with my latest build from my web site, that has some frame alignment code in use for the flv wrap. Even if flv is not used, the internal blocks are aligned on frame boundaries so should prove if that is the issue or not.
karl. |
Switching to icecast-2.3.2-kh30 solved this issue! Excellent work, Karl!
Isn't it time to name it 2.3.3 ? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group subRebel style by ktauber
|