pyronear / pyronear/pyro-engine
Restrict camera control to a single user during livestream sessions
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.