Skip to main content
Participant
October 20, 2010
Question

FMS 3.5 (Streaming Server) - Change Default Media Location ?

  • October 20, 2010
  • 1 reply
  • 798 views

Hi,

I have FMS 3.5 (Streaming Server) installed, and I am trying to have it render media from locations other than default.


Here is my setup.

FMS Install Root : E:\FMS

Media Directory (All Media - Live/Streaming/Progressive) : E:\Content\FMS

DNS: www.xyz.com

All settings are default but here is how my edited file looks like "E:\FMS\applications\vod\Application.xml'

******************************************

        <VirtualDirectory>
      <!-- Specifies application specific virtual directory mapping for recorded streams.   -->
            <!-- <Streams>/;${VOD_COMMON_DIR}</Streams> -->
            <!-- <Streams>/;${VOD_DIR}</Streams> -->

                <Streams>/;E:\Content\FMS\applications\vod</Streams>
                <Streams>/media;E:\Content\FMS\applications\vod\media</Streams>
                <Streams>/test;E:\Content\FMS\vod\test</Streams>
                <Streams>/test1;E:\Content\FMS\vod\test1</Streams>
   </VirtualDirectory>

*****************************************

rtmp://www.xyz.com/samplemedia (Works)

rtmp://www.xyz.com/test/samplemedia (Doesn't Work)

rtmp://www.xyz.com/test1/samplemedia (Doesn't Work)

Basically I am trying to render media specific to different departments (test,test1). So "Department Test" media files are under and "Department Test1" media files are under

Adobe's documentation is confusing so I am not sure If I am doing it right.


Any Suggestions ?

    This topic has been closed for replies.

    1 reply

    October 21, 2010

    Hi,

    Could you please make the following setting and give it a try:

    E:\FMS\applications\vod\Application.xml

           <VirtualDirectory>
          <!-- Specifies application specific virtual directory mapping for recorded streams.   -->
                <!-- <Streams>/;${VOD_COMMON_DIR}</Streams> -->
                <!-- <Streams>/;${VOD_DIR}</Streams> -->

                    <Streams>/;E:\Content\FMS\applications\vod</Streams>
            
       </VirtualDirectory>

    In the uri you shoud connect to vod application:

    rtmp:///www.xyz.com/vod

    And in the play statement you can refer to various folders having different set of media.

    To serve a content from test, the NetStream.play( ) statement would look like:

    my_ns.play("test/flv_media", 0, -1, true);

    if mp4 media is being used, my_ns.play("mp4:test/flv_media.f4v", 0, -1, true);

    To server a content from test1:

    my_ns.play("test1/flv_media", 0, -1, true);

    if mp4 media is being used, my_ns.play("mp4:test1/flv_media.f4v", 0, -1, true);

    Regards

    Mamata