Closed GoogleCodeExporter closed 9 years ago
Thought some code might help.
[code]
ns = new NetStream(nc);
ns.addEventListener(NetStatusEvent.NET_STATUS,recordingStatus);
ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR,asyncErrorHandler);
ns.addEventListener(IOErrorEvent.IO_ERROR,IOErrorHandler);
cam = Camera.getCamera();
cam.setMode(320,240,15,false);
cam.setQuality(0,90);
ns.attachCamera(cam);
mic = Microphone.getMicrophone();
mic.rate = 11;
mic.setSilenceLevel(5);
mic.setUseEchoSuppression(true);
ns.attachAudio(mic);
[/code]
And output:
onBWDone
NetConnection.Connect.Success
onBWDone
recordingStatus:NetStream.Publish.Start
recordingStatus:NetStream.Record.Start
activityHandler: [ActivityEvent type="activity" bubbles=false cancelable=false
eventPhase=2 activating=true]
recordingStatus:NetStream.Record.Stop
recordingStatus:NetStream.Unpublish.Success
Original comment by veloce...@gmail.com
on 1 May 2013 at 3:02
Original comment by mondain
on 1 May 2013 at 6:56
This is fixed starting with version 1.0.2.
Original comment by mondain
on 24 May 2013 at 4:24
Original issue reported on code.google.com by
veloce...@gmail.com
on 1 May 2013 at 2:48