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 call upgrades #2024

Merged
merged 2 commits into from
Nov 23, 2021
Merged

Conversation

SimonBrandner
Copy link
Contributor

@SimonBrandner SimonBrandner commented Nov 17, 2021

Type: defect


Due to CallFeeds mute state being set to muted based on their tracks at the time of their creation we can get stuck with them being muted. This happens because the code that determines if a CallFeed is muted looks like this:

return this.stream.getVideoTracks().length === 0 || this.videoMuted;

This means that if videoMuted is true the feed will be muted no matter the present tracks. The videoMuted property should only work as an override based on the remote SPDStreamMetadata


Here's what your changelog entry will look like:

🐛 Bug Fixes

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look good, though the PR description could do with a description of what is broken or an issue link which describes that.

@SimonBrandner
Copy link
Contributor Author

The changes look good, though the PR description could do with a description of what is broken or an issue link which describes that.

Should have thought of that... I've updated the description

Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@turt2live turt2live merged commit 04fad56 into matrix-org:develop Nov 23, 2021
@SimonBrandner SimonBrandner deleted the fix/call-upgrades branch November 23, 2021 06:32
su-ex added a commit to SchildiChat/matrix-js-sdk that referenced this pull request Dec 7, 2021
* Remove support for `ArrayBuffer` in unstable MSC3089 `createFile()` and `createNewVersion()` and instead use same content types as handled by `MatrixClient.uploadContent()`. This enables support for Node.js. ([\matrix-org#2014](matrix-org#2014)).
* Support for password-based backup on Node.js ([\matrix-org#2021](matrix-org#2021)).
* Add optional force parameter when ensuring Olm sessions ([\matrix-org#2027](matrix-org#2027)).
* Fix call upgrades ([\matrix-org#2024](matrix-org#2024)). Contributed by @SimonBrandner.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants