Add deafen and mute stubs

This commit is contained in:
Mikayla Maki 2023-06-16 11:16:36 -07:00
parent 53062e8422
commit ecd2129c2f
No known key found for this signature in database
2 changed files with 36 additions and 1 deletions

View file

@ -1143,6 +1143,17 @@ impl Room {
})
}
pub fn toggle_mute(&mut self, cx: &mut ModelContext<Self>) -> Task<Result<()>> {
// https://docs.livekit.io/client/publish/
// Should be acessible from local participant / publication
todo!();
}
pub fn toggle_deafen(&mut self, cx: &mut ModelContext<Self>) -> Task<Result<()>> {
// iterate through publications and mute (?????)
todo!();
}
pub fn unshare_screen(&mut self, cx: &mut ModelContext<Self>) -> Result<()> {
if self.status.is_offline() {
return Err(anyhow!("room is offline"));