TEN-framework / TEN-framework/ten-framework
[Feature Request][Bug] Release audio/video device when disconnect
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.1k
- Forks
- 1.4k
- Avg merge
- 2d 15m
- Merged PRs (30d)
- 22
Description
Is your feature request related to a problem? Please describe.
Playground:
The audio/video device remains open when disconnected, and an "in use" indication is displayed on the browser tab. It worries me even when I develop/test it.
Describe the solution you'd like
I would like it to be turned off automatically after disconnect.
Describe alternatives you've considered
Or maybe add a button to the audio/video device section to turn on/off manually by the user. Or add a checkbox to keep it open if the user like this feature.
Additional context
I understand that this is a dev demo, but in real world use case, it would be more natural that to stop everything when you disconnect from a session. Or I have to close the tab when I switch to other tabs.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start in the Playground's audio/video device section and follow the disconnect path described in the issue. Reproduce the problem by disconnecting from a session, then verify that the device is released and the browser no longer shows it as in use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100