pyronear / pyronear/pyro-engine

Restrict camera control to a single user during livestream sessions

Open
#310 0 comments 0 reactions 1 assignee View on GitHub

@MateoLostanlen is already working on this.

Since Oct 27, 2025.

Dominant language
Python
Stars
19
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Our cameras are managed through the Reolink API. Currently, if two users perform levée de doute (verification) at the same time, they can both move the camera simultaneously, causing conflicts.

We need to implement a token-based control system:

Only one user can actively control a given camera at a time.

Other connected users should be in observer mode, able to view the livestream but not send control commands.

The control token should be released after a timeout or when the user explicitly ends their session.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.