summaryrefslogtreecommitdiff
path: root/source/client/local_user.ts
diff options
context:
space:
mode:
Diffstat (limited to 'source/client/local_user.ts')
-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
}