Windows 媒体服务器在播放列表中的 1 个文件后不会停止
我正在播放 Windows Media 音频,由 ASX 元文件触发,如下所示:
<asx version="3.0" BannerBar="none">
<title>Foo</title>
<author>Bar</author>
<copyright>Baz</copyright>
<moreinfo href="http://company.com/"/>
<entry>
<title>Audio Stream</title>
<ref href="mms://media1.company.com/bof.asf"/>
</entry>
<entry>
<title>Audio Stream</title>
<ref href="mms://media2.company.com/bof.asf"/>
</entry>
<entry>
<title>Apology</title>
<ref href="http://www.company.com/apology.asf"/>
</entry>
</asx>
您可能会知道,如果可以的话,它应该尝试在 media1.company.com 上播放该文件,然后尝试 media2.company.com 上的文件,如果第一个失败,则播放道歉,如果两个都失败。
实际发生的是,您听到了这三个内容。 故障转移过程似乎失败了,并且服务器不知道第一个文件已成功播放。
可以采取什么措施来解决这个问题? 是服务器设置吗? XML 格式有问题吗?
I'm playing Windows Media audio, triggered by an ASX meta-file which looks like this:
<asx version="3.0" BannerBar="none">
<title>Foo</title>
<author>Bar</author>
<copyright>Baz</copyright>
<moreinfo href="http://company.com/"/>
<entry>
<title>Audio Stream</title>
<ref href="mms://media1.company.com/bof.asf"/>
</entry>
<entry>
<title>Audio Stream</title>
<ref href="mms://media2.company.com/bof.asf"/>
</entry>
<entry>
<title>Apology</title>
<ref href="http://www.company.com/apology.asf"/>
</entry>
</asx>
as you can probably tell, it's supposed to try to play the file on media1.company.com if it can, then try the file on media2.company.com if the first one fails, then play the apology if both fail.
What actually happens is, you hear all three. The failover process seems to, well, fail, and the server doesn't know the first file has successfully played.
What can be done to fix this? Is it a server setting? Is something wrong with the XML format?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是“我不认为这意味着您认为的意思”的情况,
基本上您创建了一个播放列表并告诉媒体播放器播放所有这些文件。
相反,请尝试这样的操作:
更多信息位于 Microsoft。
This is a case of "I don't think this means what you think it means"
Basically you created a playlist and told media player to play all of those files.
Instead try something like this:
More information is at Microsoft.