Hi Dan,

In my version of the oflaDemo with the seek bar, I used a global variable
to track the state of whether the playback was paused or not - so that
when the seek bar was released, it would either start playback (if it was
playing when the bar was moved) or remain paused (if it was paused before
the seek bar was moved).  This is kind of fun because you can quickly scan
through a video clip and see keyframes along the way.

None the less, from time to time, I have noticed that it does "hang" when
you're seeking and expecting playback to start when you release the seek
bar.  I've found that pressing my "pause" button to toggle playback (using
a ns.pause(true); call) or wiggling the seek bar around the local area
tends to resume playback.

I think it could just be an issue of how the application is handling the
various net stream calls - and how quickly, but I really don't have
anything to compare it to as of yet.

Here's my version of the oflaDemo player, with some additions:

        http://www.npj.com/red5/

Does that one behave the way you expect it to?  If so, then you can find
the code in the FLA file, or I'll be happy to post the relevant portions.

Nathan


On Mon, 23 Apr 2007, Dan Rossi wrote:

> Hi there, its been a problem for a while, but if we set the video to 
> pause while scrubbing and resume when scrubbing is complete it wont 
> resume. Ive noticed this ages ago when attempting to add it in. Is there 
> a work around for this ?
> 
> Let me know.
> 
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
> 


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to