Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Supporting Technologies > Flash Media Server

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-13-2012, 09:23 AM   #1
MontyCoder
Senior Member
 
Join Date: Nov 2006
Posts: 321
Question FMS 4.5 and Stream.play() issue

I need to play some video list in FMS server.
Code:
Stream.play(video,0,-1);
it plays fine, but i didn't find any documentation where i can stop this current video play and start another video.
perhaps
Code:
Stream.play(anotherVideo,0,-1);
it works ... but i see 5 to 8secs buffer gap while playing another video.

Can any one tell me what's the problem..!?
MontyCoder is offline   Reply With Quote
Old 05-21-2012, 02:13 PM   #2
solisarg
Senior Member
 
solisarg's Avatar
 
Join Date: Mar 2003
Location: Buenos Aires, Argentina
Posts: 496
Default

This is related to the buffertime and the time the stream need to reinitialize. Try using a second stream for the other video, usually switching between two stream is faster than reusing just a single one

Jorge
solisarg is offline   Reply With Quote
Old 05-31-2012, 01:19 PM   #3
MontyCoder
Senior Member
 
Join Date: Nov 2006
Posts: 321
Default

hi Jorge,

thanks for the input ... can help me with some code guide .. coz tried with onStatus event. When the 1st video completes i create new Stream name and pass new video path .... but doesn't plays video instead it stops..


as well as i am facing strange issue. Lets say i am playing 3 videos on list ...1st and 2nd plays fine but when it reaches to 3rd video to play .. video gets hanged and video starts looking like framming ...is it due to just one stream for all video..!?


many thanks
MontyCoder is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:54 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.