Skip to main content
January 15, 2011
Answered

FMS4 -- How to change the default path (rtmp://serverName/vod/ to rtmp://serverName/sites/)?

  • January 15, 2011
  • 1 reply
  • 1452 views

We had FMS2 installed before and the paths to all our videos are like rtmp://ServerName/sites/.... (the default path on FMS2) Now we upgrade to FMS4 and we would like to keep these paths the same because we have many HTMLs that reference these videos. However, the default path on FMS4 is rtmp://ServerName/vod/... Is there a way to change "vod" to "sites"?

I tried to change VOD_COMMON_DIR in fms.ini from /install_dir/webroot/vod to /install_dir/webroot/sites, and also changed the document root in httpd.conf, but rtmp://ServerName/sites/ is still not working.

Any suggestion will be greatly appreciated!

    This topic has been closed for replies.
    Correct answer SE_0208

    You can copy your old "sites" folder under "applications" folder of your new fms installation. Restart the server and see if your old HTML pages work fine

    1 reply

    Participating Frequently
    January 19, 2011

    Did you mean you you have application named "sites" or do you mean all your videos are in folder called sites?

    January 21, 2011

    I am very new to FMS4 so please bear with me if I can't describe what I want clearly. I would like my video to be refernced as rtmp://serverName/v

    od/*** instead of rtmp://serverName/sites/***. Do I have to create a new application called "sites" to accomplish that? I can put the video files in any folder, as long as they can be reference as rtmp://serverName/sites/***.

    The reason I want to do this is we have many old HTML files as below. Now we've upgraded to FMS4 and the default path(or application?) is vod, but we don't want to change the path of the video in all the HTML files.

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="videoObj" width="100%" height="100%" >
      <param name="movie" value="/video/myVideoPlayer.swf" />
      <param name="quality" value="high" />
      <param name="name" value="video" />
      <param name="bgcolor" value="#ffffff" />
      <param name="FlashVars" value="playerLogo=/video/myLogo.swf&colorTheme=0x513484&flvPath=rtmp://fms.mydomain.com/sites/&hi8=a5.hi8&lo8=a5.lo8&hi7=a5.hi7&lo7=a5.lo7&captionUrl=a5.xml"/>

      <embed  id="video" name="video" src="/video/myVideoPlayer.swf" bgcolor="#FFFFFF" quality="high" height="100%" width="100%" flashvars="playerLogo=/video/myLogo.swf&colorTheme=0x513484&flvPath=rtmp://fms.mydomain.com/sites/&hi8=a5.hi8&lo8=a5.lo8&hi7=a5.hi7&lo7=a5.lo7&captionUrl=a5.xml">
      <h1>You need Flash 7 or higher.<a href="http://www.adobe.com/go/getflashplayer">Get Flash</a>.</h1>
      </embed>
    </object>

    Many thanks!

    SE_0208Correct answer
    Participating Frequently
    January 22, 2011

    You can copy your old "sites" folder under "applications" folder of your new fms installation. Restart the server and see if your old HTML pages work fine