XHR request rate drops in iframe

Viewed 117

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?

0 Answers
Related