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~


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to