If it is a stream issue, maybe try loading a blank dummy stream just before the actual new stream?
That should clear any data.

Karl

On Sep 30, 2010, at 10:57 PM, Merrill, Jason wrote:

Try pausing, stopping then closing.

OK I'll give it a shot.

// Maybe also replace the above line with //_flvPlayback.close(); // Kind of reaching on this one. :)

Yeah, lol, there is no _flvPlayback.close() method, but there is an _flvPlayback.closeVideoPlayer(0); method - I'll try that too. If all else fails, I'll just make sure the user has to watch some of the video (video is definitely out of buffer mode) before advancing to the next screen where the next video is. Not ideal, but in theory it would work. I think Deepanjan is right, it has to do with the buffering in the netstream still taking place while the videoplayback component is removed. Because of that, the audio still clings on. Is there a way to interrupt or stop/kill the buffering process before it finishes? The bug 'feels' like it happens during buffering and the user, instead of waiting for buffering to finish, moves on to the next video. It doesn't seem to be reproducable when the first video has already started playing.

 Jason Merrill
 Instructional Technology Architect
 Bank of America  Global Learning



-----Original Message-----
From: [email protected] [mailto:flashcoders- [email protected]] On Behalf Of Karl DeSaulniers
Sent: Thursday, September 30, 2010 11:47 PM
To: Flash Coders List
Subject: Re: [Flashcoders] FLV audio doesn't stop

Try pausing, stopping then closing.

_flvPlayback.pause();
_flvPlayback.stop();
_flvPlayback.getVideoPlayer(0).close(); //close the netstream

// Maybe also replace the above line with //_flvPlayback.close(); // Kind of reaching on this one. :)

_flvPlayback.removeEventListener(VideoEvent.READY, onVideoReady); flvPlayback.removeEventListener(MetadataEvent.METADATA_RECEIVED,
onMetadataReceived);
_flvPlayback.removeEventListener(VideoEvent.COMPLETE, onVideoComplete); _flvPlayback.removeEventListener (MetadataEvent.CUE_POINT, onCuePoint); if (_flvPlayback.stage) { removeChild(_flvPlayback); } //instead of the above line, I also tried just removeChild (_flvPlayback); _flvPlayback = null;



Best,

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to