积极答复者
MediaElement SetSource 时触发MediaFailed 异常信息“3110 An error has occurred.”

问题
答案
-
你好,
这个问题已经在WP8.1 SDK中进行了修复。可以将Visual Studio 2013升级到Update2,来解决这个问题。
下载地址:http://support.microsoft.com/kb/2927432/en-us
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已标记为答案 Leo (Apple) Yang 2014年5月19日 13:43
2014年5月14日 9:58
全部回复
-
你好,
我在本地创建了一个WP8的项目来模拟这个问题。我这边通过运行是正常的。http://msdn.microsoft.com/en-us/library/bb979889(v=vs.95).aspx
我进行了一些搜索,发现在一种情况下会出现这个问题,请参考:
http://forums.iis.net/t/1180713.aspx
另外我建议你打上最新的补丁进行测试。
如果上述内容无法帮助到你,建议提供一个Sample,提供下载地址。这样便于重现和分析问题。
谢谢!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.2014年4月14日 4:59 -
你好,
我在本地不同时间创建3个MediaElement来播放视频,尝试着来还原这个问题,不过没能成功。除了目前的错误信息“3110 An error has occurred”之外,如果有更加详细的异常信息,请提供一下,这样更方便我们来解决这个问题。
我建议这样一个测试步骤。原先当添加第3个视频就会崩溃。那么把第三个视频的位置调整到第一个(也就是说当时引发崩溃的那个好友的视频调整到第一个),看视频是否会崩溃。如果不发生错误,那么依次添加原先的第一个与第二个视频。我猜测第三个视频的分辨率或者视频流与第一个,第二个不一样导致这样的问题。
另外:可以尝试使用其他的类库来承载视频。
希望上述回复对你有帮助。
谢谢!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.2014年4月15日 2:06 -
你好!
多谢回复,我在WindowsPhone项目中新建了一个测试页面,其中一个MediaElement 总会触发MediaFailed 事件 ,然后报3110错误,内容如下:
<Grid Grid.Row="1" Margin="12,0,12,0">
<MediaElement MediaFailed="MediaElement_OnMediaFailed" Source="http://mschannel9.vo.msecnd.net/o9/mix/09/wmv/key01.wmv" AutoPlay="True"/>
</Grid>
<Grid Grid.Row="2" Margin="12,0,12,0">
<MediaElement MediaFailed="MediaElement_OnMediaFailed" Source="http://mschannel9.vo.msecnd.net/o9/mix/09/wmv/key01.wmv" AutoPlay="True"/>
</Grid>
<Grid Grid.Row="3" Margin="12,0,12,0">
<MediaElement MediaFailed="MediaElement_OnMediaFailed" Source="http://mschannel9.vo.msecnd.net/o9/mix/09/wmv/key01.wmv" AutoPlay="True"/>
</Grid>2014年4月16日 6:21 -
你好,
非常感谢你提供的代码。我在本地还原了这个问题。我初步推测这个问题是由于Source大小所导致的。我测试了10M以内的MP3格式的文件,运行是OK的。这个问题我会上报给微软。非常感谢你的反馈。
我这边通过其他的方式来实现这个功能,请参考:http://playerframework.codeplex.com/wikipage?title=Getting%20Started%3A%20WP8%20Smooth%20Streaming%20Player
谢谢!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.2014年4月17日 2:35 -
你好,
非常感谢你提供的代码。我在本地还原了这个问题。我初步推测这个问题是由于Source大小所导致的。我测试了10M以内的MP3格式的文件,运行是OK的。这个问题我会上报给微软。非常感谢你的反馈。
我这边通过其他的方式来实现这个功能,请参考:http://playerframework.codeplex.com/wikipage?title=Getting%20Started%3A%20WP8%20Smooth%20Streaming%20Player
谢谢!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.2014年4月18日 3:01 -
你好,
这个问题应该是一个Bug,建议你到http://connect.microsoft.com 上提交。另外我也会通过内部途径把这个问题反馈给MS。
谢谢!
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已编辑 Leo (Apple) Yang 2014年4月21日 3:24
- 已建议为答案 Leo (Apple) Yang 2014年4月24日 2:19
- 已标记为答案 Leo (Apple) Yang 2014年4月25日 3:00
- 取消答案标记 Leo (Apple) Yang 2014年5月19日 13:43
2014年4月21日 3:24 -
你好,
这个问题已经在WP8.1 SDK中进行了修复。可以将Visual Studio 2013升级到Update2,来解决这个问题。
下载地址:http://support.microsoft.com/kb/2927432/en-us
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已标记为答案 Leo (Apple) Yang 2014年5月19日 13:43
2014年5月14日 9:58