Skip to main content
Participating Frequently
January 15, 2011
Answered

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

  • January 15, 2011
  • 1 reply
  • 1981 views

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 has been closed for replies.
    Correct answer

    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

    1 reply

    January 16, 2011

    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

    jsd99Author
    Participating Frequently
    January 21, 2011

    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.)

    Correct answer
    January 21, 2011

    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