mirror of
https://github.com/jech/galene.git
synced 2024-12-22 23:35:46 +01:00
Fix typo in onended callback of screen share.
This commit is contained in:
parent
a2ab8c3686
commit
e4aad04f28
1 changed files with 1 additions and 1 deletions
|
@ -357,7 +357,7 @@ async function addShareMedia(setup) {
|
|||
stream.getTracks().forEach(t => {
|
||||
let sender = c.pc.addTrack(t, stream);
|
||||
t.onended = e => {
|
||||
delUpMedia(c.id);
|
||||
delUpMedia(c);
|
||||
};
|
||||
c.labels[t.id] = 'screenshare';
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue