Skip to main content
July 20, 2010
Question

Application.xml

  • July 20, 2010
  • 4 replies
  • 2933 views

I really need help with this issue, as I can not get this to work.  I have an FMS server, but we are not using rtmp:.  We are only using progressive download via http:// (mainly because we have a large apple thinkpad community which doesnt use flash).  The FMS  server does not have much space so we have media files (.mp4) sitting on another drive (the I drive) that is not the install directory.  As of right now my application.xml file looks like this: 

<Application>

- <StreamManager>
- <VirtualDirectory>
<!--
 Specifies application specific virtual directory mapping for recorded streams.   
-->
<Streams>/;${VOD_COMMON_DIR}</Streams>
<Streams>/;${VOD_DIR}</Streams>
</VirtualDirectory>
</StreamManager>
I have edited it to reflect  <Streams>/;I:\video</Streams> (This is the directory I have the media)  IT FAILS!!!
Here are my questions?
1).  What file points all http:// requests.  Where is the file that says "If an http request comes in here is where the video resides (in my example \\servername\I\video)"???
2).  Is the application.xml responsible for pointing http and rtmp?
3), I would think somewhere in Apache 2.2 folder there would be a file pointing http requests.  But I can't find anything that tessl where to go for the media.
I really hope someone could save me on this as I am pulling my hair out.....
    This topic has been closed for replies.

    4 replies

    July 30, 2010

    Again, this is still not corrected.  I can not seem to get a solid answer as to what file I need to edit.  All I am trying to do is rather than have my media progressive download from c:\Install root\adobe\flash media server 3.5\webroot\vod have it download from I:\video.  Seems simple enough.....right?  I keep getting conflicting info as to what file I need to edit.  Do I need to edit one or all of the below files to reflect the new location of the media files?  I have edited allof these files to reflect the new drive and NOTHING WORKS.  I am pulling my hair out........

    application.xml

    fms.ini

    httpd.conf

    vhost.ini

    Participating Frequently
    July 30, 2010

    Screw FMS. I switched to windows media streaming server for playing media over http from remote unc path.

    SE_0208: No Android OS on any device doesn't support flash unless it is 2.2 ver or it's HTC Hero device.

    July 23, 2010

    In my mind there are 3 files which need to be edited to make this work (application.xml, httpd.conf, fms.ini).  I have edited all 3 files to look as they do below.  Please tell me what I have done wrong.  Are they edited incorrectly?

    httpd.conf

    <Directory "I:/webroot">
        Options -Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    application.xml

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

    fms.ini
    # VOD_COMMON_DIR denotes the full path of sample "VOD" application's
    # folder for storing onDemand and Progressive Download .flv/.mp3 files.
    # File stored in this folder can be streamed and are also PD-able.
    # Note : If you are using the default installation of Apache as a webserver,
    # and if you modify VOD_COMMON_DIR, please change the document root
    # accordingly in httpd.conf.
    # For example:
    #    VOD_COMMON_DIR = <FMS_Installation_Dir>\webroot\vod
    #
    VOD_COMMON_DIR = I:\webroot

    media path

    I:\webroot\vod\santest.mp4

    URL tried:

    http://servername/vod/santest.mp4

    Please keep in mind if I set all 3 files to their original setting (which is the install root off C) this URL works fine.

    Adobe Employee
    July 24, 2010

    There are few things i would like to write down:

    In response to wpgiv03 - When it comes to iPad we cannot as of now do much as iPad does not support Flash Player

    I do not know what exactly does viola mean when he says "Android device and it won't support the default videaplayer which is a swf"  - I do not have android phone (hope to own some day) - but latest Android supports FP 10.1 and you should be able to play any swfs. Is it the problem only with default videoplayer or with any swfs - try opening videoplayer.html instead of directly using swf (because i think it passes the url of file to play via by appending to url)

    Now coming to final thing , before trying http , wpgiv03 can you confirm that virtual directory setting is working for rtmp - in that way we can rule out if there is any permission issues - if you are not able to play even via rtmp then i suspect there is some permission issue

    July 24, 2010

    I understand iPad users do not use flash. That is why I am not using the rtmp for them. I need to use the http (Progressive Download) for all iPad users. Everything works fine for these users when the video plays from C:\Program Files (x86)\Adobe\Flash Media Server 3.5\webroot\vod. When I edit the Application.xml, httpd.conf, and fms.ini to reflect the media sitting on I:\webroot\vod all video fails. I have verified all permissions are set the same on both drives (C:\ and I:\ are exactly the same).

    Viola is speaking of a cell phone application, and as I suspect all for her works fine if she is not using http or if she is pulling the video from the install root (which is most likely c:\).

    Participating Frequently
    July 22, 2010

    I have exact same issue as "wpgiv03". I have the FMS 3.5 configured for rtmp streaming of mp3 and now need to enable http progressive download with a network drive (Celera mount). I can see that the virtual directory map doesn't work for an absolute path to the local server (say, <Streams>web;c:\foo</Streams>) or network drive or mount point (<Streams>web;z:\foo</Streams> or <Streams>web;\\samba\foo</Streams>) for http proxy port 8134 (http://localhost:8134/vod/web/1.mp3) and if I were to put the mp3 file directly under webroot/vod/web/1.mp3, then the previous URL works. I cannot store all the contents to the local hard drive and need to be able to http progressive download from the remote mount.

    If you have a possible workaround for this, please let me know. Any helpful suggestion welcome. Thanks in advance!

    Adobe Employee
    July 22, 2010

    Did you try what i suggested in my reply to  "wpgiv03". If yes , what were your findings?

    Participating Frequently
    July 22, 2010

    Hi SE 0208,

    Thanks for your reply. I tried your suggestion, unfortunately, it didn't work for me.

    #DocumentRoot "../webroot"
    DocumentRoot "I:/webroot"

    DirectoryIndex index.html index.html.var index.php index.php3 index.php4 index.php5 index.py index.pl index.rb

    httpd.conf

    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
        Satisfy all
    </Directory>

    #<Directory "../webroot">
    <Directory "I:/webroot">
        Options -Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    application.xml

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

    media path

    I:\webroot\clips\110.mp3

    URL tried:

    http://localhost:8134/clips/110.mp3

    Am I doing any step wrong?

    Thanks!

    Adobe Employee
    July 21, 2010

    I would suggest you trying below things:

    Copy the whole webroot folder on your I drive ( i.e. I: )

    Now configure DocumentRoot in httpd.conf to point to webroot folder on I: i.e. DocumentRoot "I:/webroot"

    Create "video" folder under "webroot" and place all the media files which you want to have for progressive download

    Now open your client and put the following URL in it:- http://servername/video/[filename].[extension] example :- http://servername/video/sample.flv

    try above steps and let me know if it works or not.