Thursday, May 14, 2009

FMS Live Service / Application doesn't have permissions for server-side record/append of streams; access denied to stream liveStream

When trying to publish a stream towards a freshly installed Flash Media Server
With a new AppInstance eg rtmp://localhost/live/test, you may hit the following error
When trying to publish the stream


** xml url : http://localhost:1935/fcs/uInfo/live.xml
** NetConnection.onStatus
objectEncoding : 0
description : Connection succeeded.
code : NetConnection.Connect.Success
level : status
** Inbound NetStream.onStatus
clientid : BCAA0IxC
details : liveStream
description : Playing and resetting liveStream.
code : NetStream.Play.Reset
level : status
** Inbound NetStream.currentFps 0
** Inbound NetStream.onStatus
clientid : BCAA0IxC
details : liveStream
description : Started playing liveStream.
code : NetStream.Play.Start
level : status
** Inbound NetStream.currentFps 0
** Outbound NetStream.onStatus
clientid : BCAA0IxC
description : Application doesn't have permissions for server-side record/append of streams; access denied to stream liveStream.
code : NetStream.Record.NoAccess
level : error

To solve this problem proceed as follow or read the

\Program Files\Adobe\Flash Media Server 3\applications\live\readme.txt file


================================================================
Deploying an unsigned live service
================================================================

To deploy an unsigned live service:

1. Create a new folder inside the {FMS-Install-Dir}/applications/ folder.

2. If you are replacing the default Adobe signed live service, back up
the following files:
* main.far
* Application.xml
* allowedHTMLDomains.txt
* allowedSWFDomains.txt

3. Copy files from ${FMS-Install-Dir}/samples/applications/live to the directory you created in step 1.

No comments: