Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Mjpeg video will slow down once the focus is lifted from a browser window.

more options

I've got a web application that is spread out over three monitors (three seperate windows that communicate between each other using a broadcast channel). On the screens I show multiple video streams (up to four per screen) in MJPEG format. All video tags consist of standard image tags that get updated from the camera (as usual with IP camera's). I've got a problem with the performance of the windows that are not focussed. The window that has focus runs fast and shows the streams with 20 fps. However the other two have problems and videos won't run smoothly (about 1 fps). Once I change focus to the other window that window will run smoothly and the other two will drop to 1 fps.

Things get strange when I open a new tab in one of the windows. At that moment ALL windows will run fast and show the video feeds with 20 fps. However after some time the performance issue re-occur. Reopening another tab fixes the problem for some time again.

I've got a web application that is spread out over three monitors (three seperate windows that communicate between each other using a broadcast channel). On the screens I show multiple video streams (up to four per screen) in MJPEG format. All video tags consist of standard image tags that get updated from the camera (as usual with IP camera's). I've got a problem with the performance of the windows that are not focussed. The window that has focus runs fast and shows the streams with 20 fps. However the other two have problems and videos won't run smoothly (about 1 fps). Once I change focus to the other window that window will run smoothly and the other two will drop to 1 fps. Things get strange when I open a new tab in one of the windows. At that moment ALL windows will run fast and show the video feeds with 20 fps. However after some time the performance issue re-occur. Reopening another tab fixes the problem for some time again.

All Replies (2)

more options

This sounds more like your Video driver. Did you look into if it was because of the settings? FF doesn't control only your Browsers having multiple screens are part of your GPU that controls that and any problems could be GPU and CPU issues and also RAM does affect how many Windows or Browsers can be opened and run. So since there s no specs related in your question my response is it is a GPU issues that can't separate the operations and thus leading to poor performance.

more options

I can understand Firefox reducing performance in "background" windows, but the behavior with a new tab is confusing. Almost like a bottleneck is avoided by having another page competing for the network connection.