Avoid playing newly published audio tracks when deafened (#4040)
Release Notes: - Fixed a bug where the 'deafen' button would only apply to audio from the call's current participants, but not any participants who joined after the button was pressed. - Fixed a bug where after being granted write access to a channel, the microphone icon appeared non-muted, even though audio was not shared.
This commit is contained in:
commit
e57c32effb
9 changed files with 524 additions and 192 deletions
|
@ -102,7 +102,7 @@ impl Render for CollabTitlebarItem {
|
|||
peer_id,
|
||||
true,
|
||||
room.is_speaking(),
|
||||
room.is_muted(cx),
|
||||
room.is_muted(),
|
||||
&room,
|
||||
project_id,
|
||||
¤t_user,
|
||||
|
@ -168,7 +168,7 @@ impl Render for CollabTitlebarItem {
|
|||
let project = self.project.read(cx);
|
||||
let is_local = project.is_local();
|
||||
let is_shared = is_local && project.is_shared();
|
||||
let is_muted = room.is_muted(cx);
|
||||
let is_muted = room.is_muted();
|
||||
let is_deafened = room.is_deafened().unwrap_or(false);
|
||||
let is_screen_sharing = room.is_screen_sharing();
|
||||
let read_only = room.read_only();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue