IIS Media Service 对Channel的Schema可以在浏览器中输入http://{0}:{1}/services/smoothstreaming/publishingpoints.isml/settings 看到。

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<author>
<name></name>
</author>
<title>Publishing Point Collection</title>
<updated>--20T17::.529Z</updated>
<entry>
<id>http://{0}:{1}/services/smoothstreaming/publishingpoints.isml/settings</id>
<title>Test</title>
<updated>--19T19::55Z</updated>
<link href="http://{0}:{1}/live/Test.isml/settings" rel="self" type="application/atom+xml" title="Settings" />
<link href="http://{0}:{1}/live/Test.isml/state" rel="related" type="application/atom+xml" title="State" />
<link href="http://{0}:{1}/live/Test.isml/statistics" rel="related" type="application/atom+xml" title="Statistics" />
<content type="application/xml">
<SmoothStreaming xmlns="http://schemas.microsoft.com/iis/media/2011/03/streaming/management">
<Settings>
<Title>Test</Title>
<SourceType>Pull</SourceType>
<AutoStart>true</AutoStart>
<LookAheadChunks></LookAheadChunks>
<Archive enabled="true">
<Path useEventIdOnPath="false" />
</Archive>
<ClientConnections enabled="true">
<WindowLength>PT2M0S</WindowLength>
<ClientManifestVersion>2.2</ClientManifestVersion>
</ClientConnections>
<ServerConnections enabled="true">
<SendEndOfStreamOnStop>true</SendEndOfStreamOnStop>
</ServerConnections>
<PullFrom>
<PublishingPoints>
<PublishingPoint>http://{0}:{1}/live/Test.isml</PublishingPoint>
</PublishingPoints>
</PullFrom>
<Modules>
<Module id="pull" type="source">
<Properties xmlns="http://schemas.microsoft.com/iis/media/2012/01/streaming/management">
<PropertyGroup id="EndPoint- 0" type="endPoint">
<Property id="url">http://{0}:{1}/live/Test.isml</Property>
</PropertyGroup>
</Properties>
</Module>
<Module id="fmp4" type="sink">
<Properties xmlns="http://schemas.microsoft.com/iis/media/2012/01/streaming/management" />
</Module>
<Module id="pull" type="sink">
<Properties xmlns="http://schemas.microsoft.com/iis/media/2012/01/streaming/management">
<Property id="sendEndOfStreamOnStop">true</Property>
</Properties>
</Module>
<Module id="mcast" type="sink">
<Properties xmlns="http://schemas.microsoft.com/iis/media/2012/01/streaming/management">
<Property id="groupAddress">192.168.1.10</Property>
<Property id="sourceAddress">192.168.1.10</Property>
<Property id="ttl"></Property>
<Property id="portRange">-</Property>
</Properties>
</Module>
</Modules>
</Settings>
</SmoothStreaming>
</content>
</entry> </feed>

Schema

通过查看IIS Media Service的Schema, 可以检查用代码对Channel的操作是否正确。
这里要对DVR的设置要注意:

          <ClientConnections enabled="true">
<WindowLength>PT2M0S</WindowLength>
<ClientManifestVersion>2.2</ClientManifestVersion>
</ClientConnections>

1. ClientManifestVersion:

不同版本的IIS Media Service版中,该Value是不一样的,4.1版本中,ClientManifestVersion=2.0; 4.5版本中,ClientManifestVersion=2.2;

2. WindowLength

时间值参考http://www.w3schools.com/schema/schema_dtypes_date.asp

IIS Media Service: Channel 小结的更多相关文章

  1. Azure Media Service (1) 使用OBS进行Azure Media Service直播

    <Windows Azure Platform 系列文章目录> 今天正好有客户问如何使用OBS进行Azure Media Service直播,我这里简单介绍一下. 先决条件: 1. OBS ...

  2. IIS Admin Service 服务由于下列服务特定错误而终止: 无效签名。

    于是查看系统日志: 具体信息如下:日志名称:          System来源:            Service Control Manager日期:            2015/11/2 ...

  3. WCF Data Service 使用小结(二) —— 使用WCF Data Service 创建OData服务

    在 上一章 中,介绍了如何通过 OData 协议来访问 OData 服务提供的资源.下面来介绍如何创建一个 OData 服务.在这篇文章中,主要说明在.NET的环境下,如何使用 WCF Data Se ...

  4. 安装完成IIS后找不到IIS Admin Service

    系统版本: Windows Server 2008 R2 Enterprise 64-bit IIS版本:IIS 7.5 问题: 在系统运行里面输入"组件服务",依次点开组件服务- ...

  5. 手把手:使用service principal连接Azure Media Service

    在简书中查看,请点击我. 关于相关内容解释,请参考docs文档 https://docs.microsoft.com/en-us/azure/media-services/previous/media ...

  6. 用Windows Media Service打造的流媒体点播

    所谓流媒体是指采用流式传输的方式在Internet播放的媒体格式.和需要将整个视频文件全部下载之后才能观看的传统方式相比,流媒体技术是通过将视频文件经过特殊的压缩方式分成一个个的小数据包,由视频服务器 ...

  7. IIS易混概念小结

    IIS连接数 常识: 虚拟主机会限制IIS连接数,关于其含义,差不多每个主机供应商都有一套自己的说法,微软也没有给出很明确的解释: 含义: IIS服务器可以同时容纳客户请求的最高连接数,准确的说应该叫 ...

  8. Web Service学习小结(概念性回忆)-希望你们会喜欢

    Web Service的出现带来了很多系统工程直接相互的调用.无疑让代码的隐藏得到了好的封装. Web  Service 它的主要的组成要素: SOAP:(Simple Object Access P ...

  9. IIS出现Service Unavailable 错误

    IIS访问操作出现以下问题时要如何解决:

随机推荐

  1. 使用testng多线程来测试成交编号重复的问题

    1.首先编写一个测试用的 function CREATE OR REPLACE FUNCTION getDealmainNo_test(dealdate IN varchar2, productcod ...

  2. [转帖]技术扫盲:新一代基于UDP的低延时网络传输层协议——QUIC详解

    技术扫盲:新一代基于UDP的低延时网络传输层协议——QUIC详解    http://www.52im.net/thread-1309-1-1.html   本文来自腾讯资深研发工程师罗成的技术分享, ...

  3. centos6.7 安装JDK

      1.卸载JDK 查看系统是否已安装JDK.一般的linux都默认使用了开源的openJDK.显示JDK版本信息,已经安装JDK,否则没有安装.命令行: [root@localhost ~]# ja ...

  4. CF702F T-Shirts

    题目描述 The big consignment of t-shirts goes on sale in the shop before the beginning of the spring. In ...

  5. plsql 只有三个文本框,无法登陆

    plsql版本与oracle版本不一致,如  你装的是oracle 64位,但是plsql装的是32位,就会出问题了,解决方案就是下载个64位plsql

  6. 【刷题】洛谷 P1519 穿越栅栏 Overfencing

    题目描述 描述 农夫John在外面的田野上搭建了一个巨大的用栅栏围成的迷宫.幸运的是,他在迷宫的边界上留出了两段栅栏作为迷宫的出口.更幸运的是,他所建造的迷宫是一个“完美的”迷宫:即你能从迷宫中的任意 ...

  7. 【BZOJ4242】水壶(克鲁斯卡尔重构树,BFS)

    [BZOJ4242]水壶(克鲁斯卡尔重构树,BFS) 题面 BZOJ然而是权限题. Description JOI君所居住的IOI市以一年四季都十分炎热著称. IOI市是一个被分成纵H*横W块区域的长 ...

  8. response.sendRedirect()和request.getRequestDispatcher().forward(request,response)的区别

    转发方式:request.getRequestDispatcher().forward(); 重定向方式:response.sendRedirect();  下面是HttpServletRespons ...

  9. Linux编程中 #define _XOPEN_SOURCE的作用

    [误解]#define _XOPEN_SOURCE决不是简单的宏定义它是使程序符合系统环境的不可缺少的部分 [概念]Glibc 所实现全部或部分规范下的功能有:1.ISO C: C语言国际标准. 2. ...

  10. 解决SurfaceView调用setZOrderOnTop(true)遮挡其他控件

    解决SurfaceView调用setZOrderOnTop(true)遮挡其他控件的问题 http://marller.blog.51cto.com/8699646/1762028 FAQ: Surf ...