mirror of
https://github.com/jech/galene.git
synced 2024-11-26 10:35:59 +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 => {
|
stream.getTracks().forEach(t => {
|
||||||
let sender = c.pc.addTrack(t, stream);
|
let sender = c.pc.addTrack(t, stream);
|
||||||
t.onended = e => {
|
t.onended = e => {
|
||||||
delUpMedia(c.id);
|
delUpMedia(c);
|
||||||
};
|
};
|
||||||
c.labels[t.id] = 'screenshare';
|
c.labels[t.id] = 'screenshare';
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue