Skip to main content
Participant
March 14, 2008
Question

Push recorded video to edge servers

Trying to push recorded video out to edge servers for client access. You'd think the following would work.

nc = new NetConnection();
nc.connect("rtmp:edgeserver/app");
ns = new NetStream(nc);
ls = Stream.get("foo");
ns.attach(ls);
ls.play("flvfile",0,-1,true);
ns.publish("bar");

And it does, for a while. The "foo" stream starts playing the recorded video at it appears as expected at the edge server.

But the "foo" stream thinks that it is playing to a semi-non-existent client. The client shows up in the server administration display but with no activity and a connect time of Dec 31. Enumerating the client shows the client object exists but with no properties.

Within a few minutes the server kills of both the "foo" stream and the associated semi-non-existent client. Disabling the server option to terminate idle clients has no impact (it is disabled by default).

Any ideas?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    September 16, 2008
    see http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=578&threadid=1243840&highlight_key=y&keyword1=republish -- your local variable is being garbage-collected, which kills the object containing your stream
    Translate