Recording module in Flash AS3, which records live stream to FMS. want to pause recording or stop rec. what should I write. my code It doesn't work.
private function handlePause(event:MouseEvent):void
{
ns.pause();
}
private function handleStop(event:MouseEvent):void
{
ns.close();
}
I have never used FMS, but some constructive googling made me come across a post about "Simple AS3 Recorder" and that post together with the "as3LanguageRef for NetStream" should be able to give you what you need in regards to start/stop publishing a stream.
When it comes to pausing a recording session, there are a lot of issues you have to solve, since you are "pausing a netstream that is publishing" it seems like these guys found a way to work around it:
http://www.justskins.com/forums/pausing-a-netstream-while-53312.html
If you look at the labs.influxis-side, there you can find the easiest code sample on how to play/stop a published stream.