Skip to main content
Participant
September 16, 2008
Question

Trouble with Virtual Directory

  • September 16, 2008
  • 2 replies
  • 345 views
I have a new NAS box that is holding a large amount of flv files. I'm brand new to Flash 3 Media Server, so I am sure I am missing something here. According to the docs I can add a Virtual directory in the root folder. I added the following to vhost.xml: " VirtualDirectory: <Streams>VOD3;V:\</Streams"./VirtualDirectory>", so I am expecting the V: drive to alias to VOD3

I restarted the server and attempted to access a test file via rtmp://localhost/VOD3/Test.flv. This does not work, but other files that are local in vod1 & vod2 do play as expected.

    This topic has been closed for replies.

    2 replies

    lctn2Author
    Participant
    September 17, 2008
    Thank you.

    This is the example they give:

    <Streams>\\123.123.12.12\myfolder</Streams>

    So, I entered the following in vmhost.xml

    <Streams>\\10.10.4.54\Videos\flv\512k</Streams>

    My NAS box is set (for now) to allow anonymous connections, so I am assuming I do not need to change the user the FMS service runs under. I'm not sure if the nested folders are a problem, but I am sure I am missing something, since I cannot get this to work. It is not mentioned in the thread, but doesn't there need to be a corresponding vod statement in fms.ini?

    After I found the above does not work I added the following to fms.ini:
    VOD_3_DIR = \\10.10.4.54\videos\flv\512k

    It still didn't work, so I also added the following to application.xml in the \videos\flv\512k folder:
    <StreamManager>
    <VirtualDirectory>
    <!-- Specifies application specific virtual directory mapping for recorded streams. -->
    <Streams>/;${VOD3_DIR}</Streams>
    </VirtualDirectory>
    </StreamManager>

    So, I am expecting the url to be rtmp://ipaddress/vod3/Test.flv.

    This doesn't work, so I am sure I am misunderstanding how things should be set up.

    Any help on this is appreciated.

    September 17, 2008