IIS Media Service: Channel 小结
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 小结的更多相关文章
- Azure Media Service (1) 使用OBS进行Azure Media Service直播
<Windows Azure Platform 系列文章目录> 今天正好有客户问如何使用OBS进行Azure Media Service直播,我这里简单介绍一下. 先决条件: 1. OBS ...
- IIS Admin Service 服务由于下列服务特定错误而终止: 无效签名。
于是查看系统日志: 具体信息如下:日志名称: System来源: Service Control Manager日期: 2015/11/2 ...
- WCF Data Service 使用小结(二) —— 使用WCF Data Service 创建OData服务
在 上一章 中,介绍了如何通过 OData 协议来访问 OData 服务提供的资源.下面来介绍如何创建一个 OData 服务.在这篇文章中,主要说明在.NET的环境下,如何使用 WCF Data Se ...
- 安装完成IIS后找不到IIS Admin Service
系统版本: Windows Server 2008 R2 Enterprise 64-bit IIS版本:IIS 7.5 问题: 在系统运行里面输入"组件服务",依次点开组件服务- ...
- 手把手:使用service principal连接Azure Media Service
在简书中查看,请点击我. 关于相关内容解释,请参考docs文档 https://docs.microsoft.com/en-us/azure/media-services/previous/media ...
- 用Windows Media Service打造的流媒体点播
所谓流媒体是指采用流式传输的方式在Internet播放的媒体格式.和需要将整个视频文件全部下载之后才能观看的传统方式相比,流媒体技术是通过将视频文件经过特殊的压缩方式分成一个个的小数据包,由视频服务器 ...
- IIS易混概念小结
IIS连接数 常识: 虚拟主机会限制IIS连接数,关于其含义,差不多每个主机供应商都有一套自己的说法,微软也没有给出很明确的解释: 含义: IIS服务器可以同时容纳客户请求的最高连接数,准确的说应该叫 ...
- Web Service学习小结(概念性回忆)-希望你们会喜欢
Web Service的出现带来了很多系统工程直接相互的调用.无疑让代码的隐藏得到了好的封装. Web Service 它的主要的组成要素: SOAP:(Simple Object Access P ...
- IIS出现Service Unavailable 错误
IIS访问操作出现以下问题时要如何解决:
随机推荐
- Mac 下搭建 Apache 服务器
Apache作为最流行的Web服务器端软件之一,它的优点与地位不言而喻.下面介绍下在Mac下搭建Apache服务器的步骤: (1)“前往” –>”个人” (2)在你的个人目录下新建一个文件夹,改 ...
- Maven解读:强大的依赖体系
Github地址:https://github.com/zwjlpeng/Maven_Detail Maven最大的好处就是能够很方便的管理项目对第三方Jar包的依赖,只需在Pom文件中添加几行配置文 ...
- c# Parallel 并行运算 异步处理
var list = new List<string> { "https://www.baidu.com","https://associates.amazo ...
- 学术诚信与职业道德——《构建之法》P384~391读后感
程序本身没有伦理和职业道德, 但是程序员和软件企业要有,因为程序员明白伦理道德的存在. 对于刚刚经历被不负责队友抛下的经历,对此很有感触,软件工程师除了遵守任务做事,也要考虑道德上.责任上的事情. 就 ...
- vue & button & refs & click & bug
vue & button & refs & click & bug $refs.btn.click() ??? vue & refs $refs.btn.$em ...
- js本地储存userData实例
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head ...
- HDU3829_Cat VS Dog
题目是这样的,给定一些人喜欢某只猫或者狗,讨厌某只猫或者狗.求最多能够同时满足多少人的愿望? 题目很有意思.建模后就很简单了. 对于同一只猫或者狗,如果有一个讨厌,另一个人喜欢,那么这两个连一条边.最 ...
- Python 变量 (上)
Python通过变量引用内存中的值,变量的值占用多少空间是由变量的类型决定的.声明变量不需要指定变量的类型,解释器会自动根据值来判断.变量名称必须符合标识符的定义 标识符 标识符是由字母,数字和下划线 ...
- Redis 基础:Redis 事件处理
Redis 事件处理 Redis服务器是一个事件驱动程序,服务器需要处理以下两类事件: 文件事件(file event):Redis服务器通过套接字与客户端(或其他Redis服务器)进行连接,而文件事 ...
- HotSpot垃圾收集器GC的种类
堆内存的结构: