Skip to main content
Participating Frequently
Jan 15, 2011 1:13 AM UTC
Answered

Application doesn't have permissions for server-side record/append of streams

I installed the FMS on Linux.  I am trying to record webcam videos from a flex application and save them server-side, for eventual posting to YouTube.

I installed the application "live" in the path "record".  In my flex code I do:

nc.connect("rtmp://ipaddr.us-west-1.compute.amazonaws.com/live/record");

It connects fine, so I do:

ns.publish("camtest", "record");

It fails with NetStream.Record.NoAccess.  On the server side it says

Accepted a connection from IP:xx.xx.xx.xx, referrer: , pageurl:
Application doesn't have permissions for server-side record/append of streams; access denied to stream camtest.

In my conf/fms.ini file I set LIVE_DIR to /mnt/live.  That directory exists and is world-writable, so I'm not sure what is happening.  Is there some other permission that I'm missing?  Is it just the wrong application?  Which one do I use for netstream recording?

Thanks

-jsd-

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer
    Jan 21, 2011 4:56 AM UTC

    Hi,

    Since you are using the developer version you should be able to record. Just check the permission of application directory you created. Make sure you have write permission to it.

    Thanks,

    Abhishek

    4 replies

    Jan 16, 2011 7:39 AM UTC

    Hi,

    The live and vod application that comes with FMS are customised to be used for publishing and serving live streams and serving on-demand video respectively. If you have FMIS (Flash Media Interactive edition) you can create another application and publish in record mode to that application. (Even an empty folder in FMS applications directory would do.)

    Please revert back if you need more info.

    Thanks,

    Abhishek

    Translate
    jsd99Author
    Participating Frequently
    Jan 21, 2011 12:02 AM UTC

    I downloaded "Flash Media Server 4" and am running it in trial mode. I don't need any of the serving capabilities, really.  I just want to be able to record streams from a webcam and save the flv files server side.

    I tried creating an empty directory but I still get the NetStream.Record.NoAccess error.  Do I need a different product?  What's the cheapest option to be able to record streams as flv files on a server?  (We will not be serving them back from that server, nor will we be doing any live streaming or anything similar.)

    Translate
    Correct answer
    Jan 21, 2011 4:56 AM UTC

    Hi,

    Since you are using the developer version you should be able to record. Just check the permission of application directory you created. Make sure you have write permission to it.

    Thanks,

    Abhishek

    Translate