Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dispose effects on call to LocalStream.stop #75

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

brycetham
Copy link
Contributor

This PR simply disposes any effects added to the LocalStream when LocalStream.stop is called. It is being done as part of https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-515171.

It is reasonable to expect that once a stream has been stopped, its effects should be disposed. Not disposing the effects means using up computing resources on effects that are no longer used. A common example is switching camera devices while VBG is enabled, which would stop the old track and add a new effect on the new track.

@brycetham brycetham requested a review from bbaldino April 16, 2024 19:20
@brycetham brycetham merged commit 60205bc into main Apr 16, 2024
1 check passed
@brycetham brycetham deleted the btham/dispose_effects_on_stop branch April 16, 2024 19:25
bbaldino pushed a commit that referenced this pull request Apr 16, 2024
## [2.6.1](v2.6.0...v2.6.1) (2024-04-16)

### Bug Fixes

* dispose effects on call to LocalStream.stop ([#75](#75)) ([60205bc](60205bc))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants