MediaElement导致合成器线程滞后 [英] MediaElement causing compositor thread lag

查看:65
本文介绍了MediaElement导致合成器线程滞后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当停止媒体元素中游(导航时)时,它最终会使合成器线程严重滞后。这在我的应用程序中大约有50%的时间发生。视频肯定会停止多次,但仍会出现延迟。滚动非常慢
和波涛汹涌,某些动画如加载动画很慢等等......有没有这方面的报道?这发生在使用media元素的多个控件中,它严重阻碍了我们的开发。

When stopping a mediaelement mid play (on navigation) it ends up lagging the compositor thread real bad. This happens about 50% of the time in my application. The video is definitely stopped, multiple times and the lag still occurs. Scrolling is very slow and choppy, certain animations like loading animations are slow, etc... Has there been any reports of this? This has happened in multiple controls that use the media element and it is severely hindering our development.

推荐答案

根据你对症状的描述听起来像它可能与清理任务有关...

Based on your description of the symptoms it sounds like it may be related to cleanup tasks...

您是否尝试过使用性能分析工具来获取有关活动的详细信息?

Have you tried using the performance analysis tools to get more detail regarding the activity when this happens?

您是否能够在简化的测试项目中重现该问题?

Are you able to reproduce the problem in a simplified test project?

在这些情况下,您是否可以提供有关您的应用如何使用MediaElement的更多详细信息? 

Can you provide some more detail regarding how your app is using the MediaElement in these cases? 


这篇关于MediaElement导致合成器线程滞后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆