Commit e4aad04f authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in onended callback of screen share.

parent a2ab8c36
......@@ -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';
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment