Record in default vod application
Hi!
I'm trying to record a video to the default FMS vod application with a flash movie, i'm getting this error: "NetStream.Record.NoAccess".
I think the problem is not in my code, but just to make it sure, here is it:
var mycam:Camera = Camera.getCamera(); mycam.setMode(320,240,25); var myvid:Video = new Video(mycam.width,mycam.height); myvid.attachCamera(mycam); stage.addChild(myvid); var conn = new NetConnection(); conn.connect("rtmp://192.168.1.104/vod"); conn.addEventListener(NetStatusEvent.NET_STATUS, statHandler); function statHandler(event:NetStatusEvent) { if(event.info.code == "NetConnection.Connect.Success") { conn.addEventListener(AsyncErrorEvent.ASYNC_ERROR,function(){}); var stream = new NetStream(conn); stream.client = new Object(); stream.attachCamera(mycam); stream.publish("testrec","record"); } else { trace("error in connect"); } }
So i want to ask that do i need any configuration to use NetStream.publish("xy","record") on the server?
i checked and the connection to the server is fine.
if i use live streaming, than it's fine (of course in this case i use the live application).
It's maybe a file system related problem. I use windows 7, and given all permissions for all the users.. still dont working.
I think it can be a FMS configuration issue.
