aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMetaMuffin <metamuffin@yandex.com>2021-08-06 14:58:24 +0200
committerMetaMuffin <metamuffin@yandex.com>2021-08-06 14:58:24 +0200
commit23655aec49f4920a8d5fa77899a0199dc651c907 (patch)
tree1c5a719ef5dc66b13b681be493bc63599a8c6ac3 /source
parent09d86d1f44b0c3e2a75e14e3f993e3f269e19acb (diff)
downloadkeks-meet-23655aec49f4920a8d5fa77899a0199dc651c907.tar
keks-meet-23655aec49f4920a8d5fa77899a0199dc651c907.tar.bz2
keks-meet-23655aec49f4920a8d5fa77899a0199dc651c907.tar.zst
dont preview local audio
Diffstat (limited to 'source')
-rw-r--r--source/client/local_user.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/client/local_user.ts b/source/client/local_user.ts
index cda9b53..729dcb7 100644
--- a/source/client/local_user.ts
+++ b/source/client/local_user.ts
@@ -93,7 +93,6 @@ export class LocalUser extends User {
this.audio_track = t
this.room.remote_users.forEach(u => u.peer.addTrack(t))
- this.stream.addTrack(t)
this.update_view_w()
}
async disable_video() {
@@ -114,7 +113,6 @@ export class LocalUser extends User {
if (s.track == this.audio_track) u.peer.removeTrack(s)
})
})
- this.stream.removeTrack(this.audio_track)
this.update_view_w()
this.audio_track = undefined
}