Skip to main content
February 26, 2010
Question

How can I stream files from the Default location (the streams folder)?

  • February 26, 2010
  • 1 reply
  • 1121 views

According to flashmediaserver_3.5_config_admin.pdf (FMS 3.5.3), FMS determines the correct directory to use for streams in the following order:

  1. Virtual directory (as specified in <VirtualDirectory>)
  2. Storage directory (as specified in <storageDir>)
  3. Default location (the streams folder in the application directory)

So I created a folder called streams in C:\Program Files\Adobe\Flash Media Server 3.5\applications\vod.  I thought this folder would be the default location for the sample application vod.  I did not change any configuration settings for the application vod.  Everything was set by the FMS 3.5.3 installer.

I copied  sample.flv into C:\Program Files\Adobe\Flash Media Server 3.5\applications\vod\streams and renamed it to sample6.flv.  rtmp://{fms ip}/vod/sample6.flv did not play in the sample video player installed by FMS 3.5.3.

Is this a bug or the default location "streams" folder is simply not  "default", you have to set it somewhere in XML?

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    March 1, 2010

    Hi weihua10,

    Default location for in-built VOD application is media folder which you can find under C:\Program Files\Adobe\Flash Media Server 3.5\applications\vod. Place your sample file there and it should play without any issues.

    Let me know if you encounter any further issues.

    weihua30
    Participating Frequently
    March 1, 2010

    Thanks for your reply!  I am weihua10.  I could not login into the

    account  that has the screen id weihua10 today.  I have to create another account with  screen id weihua30.

    Based on the configuration xml files (application.xml inside the vod folder), I can see C:\Program Files\Adobe\Flash Media Server 3.5\applications\vod\media is the Virtual Directory "/".  Yes, files put inside the media folder will play.  My question is where there is a default folder "streams".  Based on the document, it seems there is one beside virtual directories and storage directory.  But I could not find any.

    weihua30
    Participating Frequently
    March 2, 2010

    I am not aware of any such sample app, but I suppose you can build such FMS sample app pretty easily.

    Apart from your Virtual Directory and Storage directory , you need to scan all applications and there stream folder right.

    You can use combination of server-side API : File.list and Admin API command "getApps" - i suppose File.list should be sufficient itself.


    Thanks for your answers!