·您当前的位置:首页 > 技术教程 > FMS教程 >

[FMS]FMS流媒体的allowedHTMLdomains用法

时间:2014-08-01 09:39酷播
[FMS]FMS流媒体的allowedHTMLdomains用法

( 以下是adobe官方的说明文档 )

The vod service is an Adobe-built servicethat lets you stream media to users without writing any code.

视频点播服务Adobe建立服务,让你流媒体用户无需编写任何代码。

Adobe Media Standard Server only runsAdobe-built services, also called "signed" applications.

Adobe媒体标准服务器只运行Adobe建立服务,也被称为签名的应用。

Adobe Media Professional Server and AdobeMedia Starter Server support unsigned (user-created) applications. If you'reusing one of these server versions, you can modify the vod

service source code to create your ownapplications.

Adobe专业媒体服务器和媒体启动服务器支持无签名(用户创建的)的应用。如果你使用一个服务器的版本,你可以修改视频点播服务源代码来创建您自己的应用程序。

==============================================

Deploying custom vod service

(Adobe Media Professional Server or AdobeMedia Starter Server only)

部署自定义视频点播服务(Adobe媒体专业的服务器或媒体启动服务器只)

==============================================

To deploy an unsigned version of the vodservice you can either replace

the existing service, or create a newservice.

部署一个未签名的版本的视频点播服务来替换现有的服务,或创建一个新的服务。

1. [NewService]Createa new folder { vod2} in the {AMS-Install-Dir}/applications folder.

[服务]新创建的安装目录} { AMS /应用的一个新的文件夹。

2.[Existing Service] To replace the default Adobe-signed vod

  service, first back up the following files from the folder

   {AMS-Install-Dir}/applications/vod:

   

   *main.far

   *Application.xml

   *allowedHTMLDomains.txt

   *allowedSWFDomains.txt

[存在服务]来替换默认的Adobe签订了视频点播服务,首先备份以下这个目录中{AMS-Install-Dir}/applications/vod的文件

3.Copy all files from {AMS-Install-Dir}/samples/applications/vod to

  the folder you created in step 1 or to the existing folder,

  {AMS-Install-Dir}/applications/vod.

复制所有文件从安装目录{AMS-Install-Dir}/samples/applications/vod到您在步骤1中创建的{ vod2 }或现有文件夹的文件夹,{ AMS安装目录} /应用/视频点播。

4. Toconfigure the vod service, open the file

配置视频点播服务,打开文件

  {AMS-Install-Dir}/applications/{Your-New-Folder}/Application.xml.

   Locate thefollowing elements:

查找以下元素:

  <Streams>/;${VOD_COMMON_DIR}</Streams>

  <Streams>/;${VOD_DIR}</Streams>

  These variables hold the location of the folder that the vod application

  searches for media files when a stream play request is received. Their

  values are set in the ams.ini file. For RTMP delivery, Adobe MediaServer

  checks folders for media files in the order of the <Streams>elements.

这些变量将文件夹的位置,VOD系统中的应用搜索媒体文件的流时播放接收请求。他们的参数值是在ams.ini文件中。对于RTMP的传输,Adobe媒体服务器检查文件夹中的< Streams >元素的顺序流媒体文件。

   ${VOD_COMMON_DIR}This variable stores the location of media files

  accessible by both RTMP and HTTP (if installed).

${VOD_COMMON_DIR}他的变量存储的媒体文件的位置通过RTMPHTTP访问(如果已安装)。

  ${VOD_DIR} This variable stores the location of media files accessibleby

  RTMP only through the /applications/vod service only.

   

  Alternatively, the path for media files can be changed in followingways:

这个变量存储的媒体文件访问的位置RTMP只有通过/应用/视频点播服务。另外,媒体文件的路径可以用以下方式进行更改:

      A.Edit the <Streams> element to map to a directory, for example:

        <Streams>/;C\my_stream_and_pd_dir</Streams>

        <Streams>/;C\my_stream_only_dir</Streams>

元素映射到一个目录

           Note: If you are using the default installation of the

                  AMS HTTP service, and if you modifyVOD_COMMON_DIR,

                  change the document root, set in   

                 {AMS-Install-Dir}/Apache2.2/conf/httpd.conf.

注意:如果你正在使用的默认安装AMS HTTP服务,如果你修改vod_common_dir更改文档的根,在下面设置

      B.Create a new variable in {AMS-Install-Dir}/conf/ams.ini file,

         for example: MY_VOD_DIR= C\my_stream_dir.

         Next, edit the <Streams> element in theApplication.xml file:

           <Streams>/;${MY_VOD_COMMON_DIR}<Streams>

           <Streams>/;${MY_VOD_DIR}</Streams>


-------------------------------------------------------------------------

For information about using and configuring the live service, see the
online documentation provided at the following location:
http://help.adobe.com/en_US/adobemediaserver/devguide

For information about troubleshooting the live service, see the
Installation Guide in the {AMS-Install-Dir}/documentation folder.

热门文章推荐

请稍候...

保利威视云平台-轻松实现点播直播视频应用

酷播云数据统计分析跨平台播放器