Skip to content

Camera images don't always load in Chrome #112

@tlau

Description

@tlau

After a while of clicking around on the tabs in the web app, the camera images from the robot will fail to load. Reloading the browser window will fix this.

This is actually a problem in the Chrome/Chromium browsers. The tag used to display camera images opens a long-running connection to the mjpeg_server to retrieve camera images. This connection is not closed when the img element is destroyed. The browser is limited to only making 6 simultaneous connections to each server, so after 6 img tags have been rendered, any further ones will not display the images.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions