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访问操作出现以下问题时要如何解决:
随机推荐
- keil c51笔记
第一章 Keil C51开发系统基本知识 第一节 系统概述 Keil C51是美国Keil Software公司出品的51系列兼容单片机C语言软件开发系统,与汇编相比,C语言在功能上.结构性.可读性. ...
- Source Insight中的多行注释
转自:http://www.cnblogs.com/dongzhiquan/archive/2013/03/04/2943448.html 我们经常要对一整段代码进行注释,很多代码编辑器都提供了这样的 ...
- vue使用axios发送数据请求
本文章是基于vue-cli脚手架下开发 1.安装 npm install axios --s npm install vue-axios --s 2.使用.在index.js中(渲染App组件的那个j ...
- 子类使用父类的方法 或属性时候 里面的this 代表的是自己
- PGM学习之二 PGM模型的分类与简介
废话:和上一次的文章确实隔了太久,希望趁暑期打酱油的时间,将之前学习的东西深入理解一下,同时尝试用Python写相关的机器学习代码. 一 PGM模型的分类 通过上一篇文章的介绍,相信大家对PGM的定义 ...
- BZOJ3512 DZY Loves Math IV(杜教筛+线性筛)
注意到n很小,考虑枚举i.现在要求的是f(n,m)=Σφ(in) (i=1~m).显然当n没有平方因子时,φ(in)=φ(i)·φ(n/gcd(i,n))·gcd(i,n).利用φ*1=id又可得φ( ...
- winrar 授权破解过期解决
RAR registration data Federal Agency for Education 1000000 PC usage license UID=b621cca9a84bc5deffbf ...
- [AT2268] [agc008_f] Black Radius
题目链接 AtCoder:https://agc008.contest.atcoder.jp/tasks/agc008_f 洛谷:https://www.luogu.org/problemnew/sh ...
- 学习Spring Boot:(三)配置文件
前言 Spring Boot使用习惯优于配置(项目中存在大量的配置,此外还内置了一个习惯性的配置,让你无需手动进行配置)的理念让你的项目快速运行起来. 正文 使用配置文件注入属性 Spring Boo ...
- 【agc006f】Blackout(神仙题)
[agc006f]Blackout(神仙题) 翻译 给定一个\(n*n\)的网格图,有些格子是黑色的.如果\((x,y),(y,z)\)都是黑色的,那么\((y,x)\)也会被染黑,求最终黑格子数量. ...