Ask a Question related to Macromedia Flash Flashcom, Design and Development.
-
char76 #1
How to a stable stream service in FMS2
Hi, My name is Charley Shin.
I use FMS2 dev. version to streming Flash Videos for test. But it doesn't
stable.
When I want to play a next video, the swf load continuously. Then I click stop
button and play again. This work properly. I check that FMS2 connection is lost
when the swf is loading continuously.
I guess because of FMS2 setting about wait time or connection time. So, I
change "CoreGC" to 60000(10 minutes). But this is not solution.
My source code is bellows.
------------------- start --------------------------
videos.loop = false;
videos.length = 1;
videos.loaded = false;
// Path to FLVPlayback components
var m = this.my_video;
// Set the path of the first video feed
m.contentPath = videos.list[0];
// Set a 'ready' event handler to load the videos
videos.ready = function( evt:Object ):Void
{
if(!this.loaded){
this.loaded = true;
for( var n=1; n<this.list.length; n++ ){
if( videos.list[n].indexOf(".flv") != -1 ){
m.activeVideoPlayerIndex = n;
m.contentPath = videos.list[n];
this.length++;
}
}
m.activeVideoPlayerIndex = 0;
}
}
m.addEventListener("ready",videos);
// Set a 'complete' event handler to load the next video
videos.complete = function( evt:Object ):Void
{
var nextIndex = Number(evt.vp)+1;
if( nextIndex == this.length){
if( this.loop ){
nextIndex = 0;
}else{
return;
}
}
m.activeVideoPlayerIndex = nextIndex;
m.visibleVideoPlayerIndex = nextIndex;
m.play();
}
m.addEventListener("complete",videos);
-------------------- end ------------------------------------------------
TIA.
char76 Guest
-
Live encode a MMS stream to FMS2
Hello, I got some live audio streams encoded using Windows Media Server (MMS streams). I whant to use FMS2 to redistribute theses streams to... -
AS3 + FMS2 = problem with "stream" MP3
I use AS3! I can not get mp3 "duration" (Net Stream) where event: onID3??????? how it works???? and it works????? :) help plz :) -
FMS2 fails to record the stream
Hi, This has been a frustrating week, so i REALLY appreciate any help in advance We have installed FMS 2.0.4 on linux (tried both ubunto and... -
Problem with FMS2 calling web service with complex typeas input
I wrote a web service in weblogic 9.2: @WebMethod public LoginResponse Login2(LoginRequest loginRequest) { LoginResponse loginResponse = new... -
FMS2 on Windows: Can't get flash to stream
I've installed FMS2 on a Windows 2000 machine with intention to evaluate flash video as a streaming system. The server starts properly and I can... -
char76 #2
Re: How to provide a stable stream service in FMS2
Hi.
I almost solved 2nd problem by updating FMS to 2.0.5.
But first is remained. Anyone?
char76 Guest



Reply With Quote

