[Red5] Record stuck

Zohar Babin - G z.babin at gmail.com
Tue May 8 17:36:57 EDT 2007


Hi.. I'm using flash 8 and Red5 to perform a recording of a live stream;

var client_cam:Camera=Camera.get();
var client_mic:Microphone=Microphone.get();
client_nc.connect("rtmp://localhost/oflaDemo");
out_ns = new NetStream(client_nc);
out_ns.attachVideo(client_cam);
out_ns.attachAudio(client_mic);
out_ns.publish("my_recorded_stream", "record");

when recording is done:

out_ns.close();

the first time you record, all works well, but from the second time after,
even though the stream do get closed and I get unpublish.success, it seems
to be not recording over the last stream.
After restarting the red5 service, it works again, and so on..

What's wrong ?

~Thank you~




More information about the Red5 mailing list