XHR请求率在iframe中下降
我创建了一个React应用程序,该应用程序以高速率发送XHR请求(来自网络摄像头的帧)(每秒大约10个电话),
当我从iFrame运行此应用程序时,速率下降到每秒1个调用,
但是,如果我将鼠标移到iframe XHR请求的速率每秒跳回10个电话,
如何在不移动鼠标上的iframe中获得高率?
I created a react app that sends XHR requests (frames from webcam) at a high rate (about 10 calls per second)
When I ran this app from an iframe the rate drops to 1 call per second
However, if I move the mouse over the iframe the rate of the XHR requests jumps back to 10 calls per second
How can I get the high rate inside the iframe without moving the mouse over the iframe?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论