Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我的猜测是,媒体元素的工作方式是,它会在您第一次播放文件时获取即将流式传输的文件的大小,然后卡住。这只是一个猜测,但我没有其他信息可以参考。
我确实知道 MediaElement 非常擅长切换流并在这些流中恢复。也许您可以找到一种解决方法,它会经常刷新流并从当前位置恢复。
My guess is that the way the media element works is that it grabs the size of the file it's about to stream at the time you first play it and gets stuck after that. It's just a guess but I have no other information to go off of.
I do know that the MediaElement is really good at switching streams and resuming in those streams. Perhaps there is a work around you can find where every so often it will refresh the stream and resume from it's current position.
这听起来像是 MS 的 bug。
您可以为 wtv 文件设置 HTTP 代理,然后告诉 MediaElement 播放流而不是为其提供实际大小。虽然工作量很大,但可能只是有效。
This sounds like an MS bug.
You could possible set up an HTTP proxy for the wtv file, then tell the MediaElement to play the stream and not give it the actual size. Its a lot of work but may just work.