Add deafen and mute stubs
This commit is contained in:
parent
53062e8422
commit
ecd2129c2f
2 changed files with 36 additions and 1 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue