1
Fork 0
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:
Juliusz Chroboczek 2020-08-24 22:24:33 +02:00
parent a2ab8c3686
commit e4aad04f28

View file

@ -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';
}); });