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访问操作出现以下问题时要如何解决:
随机推荐
- 网桥 以及 IEEE802.1D 生成树协议
(一)网桥 网桥是一个layer 2设备,能够连接两个不同的网段. 如图
- Xcode7~8版本过渡导致的问题
现有项目是早期Xcode7编写的,一直到现在还是使用Xcode7编写.近期一位用户手机下载App出现闪退现象,该用户手机系统(iPhone 6 iOS8.1.2)经查实是由于CoreFoundatio ...
- Laravel 5.1 中的异常处理器和HTTP异常处理 abort()
原文 http://laravelacademy.org/post/1867.html 错误和异常是处理程序开发中不可回避的议题,在本地开发中我们往往希望能捕获程序抛出的异常并将其显示打印出来,以便 ...
- Lottie开源库实现Android动画效果
Lottie简介 Lottie是一个支持Android.iOS.React Native,并由Adobe After Effects制作aep格式的动画,然后经由bodymovin插件转化渲染为jso ...
- struts 跳转的四种常用类型
1 dispatcher 默认的跳转类型 地址栏不变 2.redirect 跳转后地址会变化 3 chain 跳转到一个动作类 地址栏不会变 4 redirectAction 跳转到一个动作类 地址栏 ...
- Little Elephant and Array CodeForces - 220B(莫队)
给一段长为n的序列和m个关于区间的询问,求出每个询问的区间中有多少种数字是 该种数字出现的次数等于该数字 的. #include <iostream> #include <cstdi ...
- oracle 恢复误删数据
快照 select * from sys_info as of timestamp to_Date('2014-04-08 15:28:00', 'yyyy-mm-dd hh24:mi:ss') ...
- Pentaho的Mondrian对Hive的支持
需求描述 考虑直接在Hive或者Impala等Big Data方案,能够支持MDX查询,现调研一下Mondrian对hive的支持情况. 环境准备 hive环境,采用hive-0.10-cdh4.2. ...
- 【bzoj2876】 Noi2012—骑行川藏
http://www.lydsy.com/JudgeOnline/problem.php?id=2876 (题目链接) 题意 在满足约束条件$${\sum_{i=1}^ns_ik_i(v_i-v_i' ...
- 【bzoj1095】 ZJOI2007—捉迷藏
http://www.lydsy.com/JudgeOnline/problem.php?id=1095 (题目链接) 题意 一棵树,求最远的两黑点之间的距离,每次可以将黑点染白或者将白点染黑. So ...