Home Tutorials Forums Articles Blogs Movies Library Employment Press
Prev Previous Post   Next Post Next
Old 06-06-2005, 10:45 PM   #1
Trevor Harrison
Lurking since 2004
 
Join Date: Apr 2004
Location: Maryland, USA
Posts: 48
Send a message via AIM to Trevor Harrison
Default FCS zombie streams

I've been having problems with fcs (1.5 update 2) loosing recorded streams and other fun stuff, and in the process of narrowing the problem down, I've found a related problem that's cool (not).

FCS will accumulate zombie streams if you open and start recording and then stop playing without enough delay... ie:

ActionScript Code:
var stream = Stream.get( new_unique_stream_name ); stream.record(); stream.play( some_live_published_stream_name ); // later on... stream.play(false); delete stream;

In my case, I can see that if my stream.play(false) gets called before the application.onStatus() announcing[1] the new stream gets called that the stream gets 'closed' but hangs around in the App Inspector as a zombie stream with no name, no time, etc.

However, if you look in the streams directory, you can see the .FLV file still growing in size as its still recording data.


If anyone is interested, I can provide a main.asc and a client.fla to show this problem.

-Trevor



Note 1:
Trace()ing the info passed to app.onStatus gives:

Good:
Quote:
app.onStatus: NetStream.Record.Start: Recording archive/newstream70.
app.onStatus: NetStream.Publish.Start: Publishing archive/newstream70.
app.onStatus: NetStream.Play.Reset: Playing and resetting clients/tester1/rx.
app.onStatus: NetStream.Play.Start: Started playing clients/tester1/rx.
Client.stopCut: archive/newstream70
app.onStatus: NetStream.Unpublish.Success: archive/newstream70 is now unpublished.
app.onStatus: NetStream.Play.Stop: Stopped playing clients/tester1/rx.
Bad:
Quote:
app.onStatus: NetStream.Record.Start: Recording archive/newstream71.
app.onStatus: NetStream.Publish.Start: Publishing archive/newstream71.
app.onStatus: NetStream.Unpublish.Success: archive/newstream71 is now unpublished.
app.onStatus: NetStream.Play.Reset: Playing and resetting clients/tester1/rx.
app.onStatus: NetStream.Play.Start: Started playing clients/tester1/rx.
Trevor Harrison is offline   Reply With Quote
 


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 01:35 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.