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. PROFIBUS-DP现场总线的结构及应用

    PROFIBUS的最大优点在于具有稳定的国际标准EN50170作保证,并经实际应用验证具有普遍性.目前已广泛应用于制造业自动化.流程工业自动化和楼宇.交通电力等领域. PROFIBUS由3个兼容部分组 ...

  2. [BUAA_SE_2017]提问回顾

    提问回顾 学期初疑问回答 学期初疑问博客 教材中说,PM在衡量需求时需要方方面面的能力与研究.可是,当下许多互联网IT公司只承担外包业务,即客户给什么需求就实现什么需求,甚至可能不要求其它先进的功能. ...

  3. windows多线程(五) 互斥量 Mutex

    一.互斥量 互斥量是windows的一个内核对象,互斥量与关键段的作用相似,可以用来确保全局资源的互斥访问.并且互斥量可以用在不同的进程中的线程互斥访问全局资源. 二.相关函数说明 使用互斥量Mute ...

  4. java的日志知识

    java常用的日志有以下几种 : 一.jdk自带的java.util.logging包下的日志功能, 不常用. 二.commons-logging  + log4j 的搭配 .log4j是日志功能的具 ...

  5. MySQL的间隙锁

    什么是间隙锁当我们用范围条件而不是相等条件检索数据,并请求共享或排他锁时,InnoDB会给符合条件的已有数据记录的索引项加锁:对于键值在条件范围内但不存在的记录,叫做“间隙(GAP)”,InnoDB也 ...

  6. 【.Net】c# 让double保留两位小数

    1.Math.Round(0.333333,2);//按照四舍五入的国际标准2.    double dbdata=0.335333;    string str1=String.Format(&qu ...

  7. iOS 数据库sqlite完整增删改查操作

    1: 创建数据库表格 1.1 — 表格创建使用一个数据库软件快速创建:软件大小14.3M; 下载地址:http://pan.baidu.com/s/1qWOgGoc; 表格创建-> 打开软件,点 ...

  8. vs2013 查找进行的过程中被停止

    VS"Find in Files"失效的解决方法一:让VS窗口获得焦点,依次按以下快捷键Ctrl+BreakCtrl+Scroll LockAlt+Break VS"Fi ...

  9. 中行P1签名及验签

    分享中国银行快捷.NET P1签名和验签方法代码中ReturnValue为自定义类型请无视 #region 验证签名 /// <summary> /// 验证签名 /// </sum ...

  10. 【bzoj3570】 Cqoi2014—通配符匹配

    http://www.lydsy.com/JudgeOnline/problem.php?id=3507 (题目链接) 题意 给出一个主串,里面有些通配符,'*'可以代替任意字符串或者消失,'?'可以 ...