Skip to content

MJPEG streaming in frontend is never canceled and leads to Memory leaks #86

@oulianov

Description

@oulianov

Hiding the React component or even routing to another page keeps the camera video streaming as alive in the backend.

This means that every time a camera is displayed, a new video stream is started. It only stops when tab is closed.

It leads to memory leaks and lower performance of the frontend.

This is an issue with MJPEG streaming using the tag in browsers since the 2010s and that will not be fixed as it's "working as intended" according to Google devs.

Alternatives :

  • mp4 streaming
  • custom MJPEG streaming in frontend
  • WebRTC

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions