Video recorder timer keeps running after leaving the room
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript, typescript
Research direction
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.
Written by the indexing model from the issue text.
Description
Description:
The video message recorder keeps its clock timer and the "recording" status alive after you leave the room.
Steps to reproduce:
- Open a channel and start a video message.
- Allow the camera and click Record so the timer starts counting.
- 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
- Dominant language
- TypeScript
- Stars
- 46.5k
- Forks
- 14.1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 381
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from RocketChat/Rocket.Chat
-
Mark the empty state busy while a new search loads, like the table */}Possibly taken @aditya25bcy10173-a11y claimed this 2 days ago. Opentodo type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
RocketChat/Rocket.Chat#43699 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Timestamp with a time but no timezone shows as 1 January 1970Possibly taken @Sarthak-agrawal-tech claimed this 4 days ago. Opentype: bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
RocketChat/Rocket.Chat#43637 · 6 comments ·
Maintainers usually reply within 1 day
-
Move this mapping from useQuery's old `select` into a usePaginatedQuery `combine`Possibly taken @aditya25bcy10173-a11y claimed this 3 days ago. Opentodo type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
RocketChat/Rocket.Chat#43609 · 4 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
evaluate switching to the other tab when the selected tab's permission is revoked mid-sessionPossibly taken @schizophrenicmaniac claimed this 4 days ago. Opentodo type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
RocketChat/Rocket.Chat#43579 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Docs say packages can be installed with `npm` but use unsupported `patch:` URLPossibly taken A pull request linked to this issue is open or already merged. Opentype: bug
Difficulty 1/5 1-3 hours Newbie friendliness 72/100
RocketChat/Rocket.Chat#43554 · 4 comments ·
Maintainers usually reply within 1 day
All issues in RocketChat/Rocket.Chat
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
open-webui/tether#52 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
voidzero-dev/void#835 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AykutSarac/jsoncrack.com#616 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
melgarafael/DeskcommCRM#4679 ·
Maintainers usually reply within 1 day