fms 项目目录映射到网络磁盘(Mapping directories to network drives)

   在使用fms做视频服务器的时候 用户有想把视频文件放置在另外一台服务器上的需求。作为苦逼的开发人员  用户就是god.   wuwuwuwu

  我的环境: 主机A  fms4.5 系统 server 2008 主机B  视频文件的存储服务器  系统是server 2008的

  很简单 一共就是四步

1.  在服务器b上把存放视频文件的文件夹共享出来   允许其他电脑可以正常访问

2. 进入服务器A 关闭fms  相关的三个服务 (分别是: Flash Media Administration Server , Flash Media Server (FMS),FMSHttpd)

3. 修改项目的映射路径: fms.ini  

     说明: replay_dir  是需要修改的项目的路径名

               \\192.168.100.22\d\fms_video\upload  是共享出来的视频文件的 unc path  。 这个路径也可以映射到本地的一个虚拟磁盘上。 但最好还是用unc 路径

4.  修改相关服务的登录方式 并启动。

    这里以:Flash Media Server (FMS) 为例 另外两个照做就行

    服务---》 选择Flash Media Server (FMS)服务--》右键 属性---》 登录 ---》 选择此账户--》浏览--》 高级--》立即查找--》能后选择权限最好的用户 确定  回到选择登录身份的界面

  输入对应用户的开机密码   

  确定  。 对另外两个服务做相同操作   结果如下图


能后启动服务


测试:

  打开安装文件目录下的 samples/videoPlayer/testvideoplayer.html 页面 输入url  点击play stream 正常播放 OK ~


下面是5.0 关于网络映射的官方说明

Mapping directories to network drives

By default, the server runs as System Account with no access to network drives. You can change the service user to a user with network access privileges with a UNC path.

A Windows network-mapped drive is not valid when a user is logged out. If the server is running as a service and the user is logged out, the mapped drive is removed as well. To run with the mapped drive, lock the server instead of logging out. Using the UNC path is preferred when the server is running as a service.

  1. Stop Adobe Media Server and Adobe Media Administration Server.

  2. Make the changes to the configuration.

  3. Check that the server user has appropriate access rights to map to the network drive (system account rights are usually not sufficient.)

  4. Restart AdobeMedia Server and Adobe Media Administration Server.

URL



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值