Video recorder timer keeps running after leaving the room

Aperta
#43,588 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Thakur156 ci sta già lavorando.

Dal 7/11/2026.

  • #43589 di @Thakur156 — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
javascript, typescript
Ambito
frontend, web-dev

Direzione di ricerca

Start with apps/meteor/client/views/composer/VideoMessageRecorder/VideoMessageRecorder.tsx, where the issue says the timer starts and cleanup is missing. Check the component lifecycle and how UserAction.stop is called. Done means leaving the room stops the timer and clears the recording status; an open linked pull request (#43589) already addresses this issue.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

type: bug
Description:

The video message recorder keeps its clock timer and the "recording" status alive after you leave the room.

Steps to reproduce:
  1. Open a channel and start a video message.
  2. Allow the camera and click Record so the timer starts counting.
  3. Do not click Cancel or Send. Switch to another channel.
Expected behavior:

The timer stops and the recording status clears when the recorder dialog closes.

Actual behavior:

The timer keeps firing, and other users can still see you as recording until the page is reloaded. A screen recording is attached.

Server Setup Information:
  • Version of Rocket.Chat Server: 9.1.0-develop (local source)
  • License Type: Community
  • Number of Users: 1
  • Operating System: macOS
  • Deployment Method: source (yarn dsv)
  • Number of Running Instances: 1
  • DB Replicaset Oplog: no
  • NodeJS Version: 22.22.3
  • MongoDB Version: Meteor's local MongoDB
Client Setup Information
  • Desktop App or Browser Version: Chrome
  • Operating System: macOS
Additional context

The timer is started in apps/meteor/client/views/composer/VideoMessageRecorder/VideoMessageRecorder.tsx and is not cleared when the component unmounts. UserAction.stop is not called either, so the recording activity keeps being renewed.

Relevant logs:

No server or browser error. The timer continues silently after the dialog is gone.

https://github.com/user-attachments/assets/c40558c4-d1e2-47bd-99d5-27a8e5717515

Lingua principale
TypeScript
Stelle
46.5k
Fork
14.1k
Merge medio
1g 21h
PR unite (30g)
381

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RocketChat/Rocket.Chat

Tutte le issue di RocketChat/Rocket.Chat

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.