Add mute toggling controls
This commit is contained in:
parent
3e3079b513
commit
e58f0ac72f
5 changed files with 189 additions and 61 deletions
|
@ -475,6 +475,20 @@ impl Drop for Room {
|
|||
|
||||
pub struct LocalTrackPublication;
|
||||
|
||||
impl LocalTrackPublication {
|
||||
pub fn mute(&self) -> impl Future<Output = Result<()>> {
|
||||
async {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
pub fn unmute(&self) -> impl Future<Output = Result<()>> {
|
||||
async {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct LocalVideoTrack {
|
||||
frames_rx: async_broadcast::Receiver<Frame>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue