Skip to main content
Participating Frequently
July 29, 2010
Question

FMS 3.5 can't connect to media on other drive

  • July 29, 2010
  • 1 reply
  • 2888 views

I'm a server side newbie trying to set up FMS to stream VOD from a different drive on the same server (and ultimately via Cisco Show N Share) that I have all the media already on.  FMS is installed on d:\Flash Media Server 3.5 and all the media is already on the e:\videolibrary\SnS\flv drive\folder.

I've edited the fms.ini with the following :

VOD_DIR = E:\videolibrary\SnS

VHOST.APPSDIR = E:\videolibrary\SnS

and added the <StorageDir> to the Application.xml with this:

<Application>
<StreamManager>
  <storageDir>E:\videolibrary\SnS\
  </storageDir>

Is the Application.xml and man.far supposed to stay in the rootinstall\applications\vod folder or do they go in the E:videolibrary\SnS folder? (I've tried both- no joy)

When I try to play a video in the flash media player from rtmp://ascvideolibrary/SnS/flv/test.flv it doesn't play.  If I try it as http it works fine.

In the edge.log files I get this error.

2010-07-29 12:32:01 4380 (w)2641213 Connection rejected by server. Reason : [ Server.Reject ] : (_defaultRoot_, _defaultVHost_) : Application (SnS) is not defined. -

Any ideas?  Any and all help is appreciated,

Mark

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    July 30, 2010

    I think your are doing your configuration bit wrong.

    Please do the following:-

    I would suggest to keep you fms.ini as default if you do not want to make server-side change.

    Best is to do Application level change.

    Open Application.xml under "VOD" folder. You will see below content:

    <StreamManager>

    <VirtualDirectory>

          <!-- Specifies application specific virtual directory mapping for recorded streams.   -->

    <Streams>/;${VOD_COMMON_DIR}</Streams>

    <Streams>/;${VOD_DIR}</Streams>

    </VirtualDirectory>

    </StreamManager>

    Now add one more line

    <Streams>/;E:\videolibrary\SnS\flv</Streams>   // where E:\videolibrary\SnS\flv has all the media files

    So you modified Application.xml would look like below:

    <StreamManager>

    <VirtualDirectory>

          <!-- Specifies application specific virtual directory mapping for recorded streams.   -->

    <Streams>/;${VOD_COMMON_DIR}</Streams>

    <Streams>/;${VOD_DIR}</Streams>

    <Streams>/;E:\videolibrary\SnS\flv</Streams>      

    </VirtualDirectory>

    </StreamManager>

    Also please revert the change done for VHOST.APPSDIR and revert it to default ( i.e. <installedDirectory>\applications )

    Restart the server.

    Now try playing with URL: rtmp://<serverurl>/vod/test.flv

    let me know if you still run into issues.

    Participating Frequently
    July 30, 2010

    Still no joy.

    I restored the default fms.ini and added the streams line to the application.xml I left the line in.

    Flash media player still returns Connection Error.

    The edge.00.log still returns:

    Connection rejected by server. Reason : : (_defaultRoot_, defaultVHost) : Application (SnS) is not defined.

    I removed the line from the Application.xml and still no joy.

    Flash media player still returns Connection Error.

    This time however I do not get the Connection rejected in the edge.log

    Hmmm.

    Participating Frequently
    July 30, 2010

    Your log clearly suggests you are trying to connect to application named "SnS" - what URL are you using when you try to connect to FMS?