1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-10 02:35:58 +01:00

Fix removal of stream.onremovetrack callback.

This commit is contained in:
Antonin Décimo 2020-12-26 18:12:43 +01:00
parent 056ffcd2cf
commit fb30fe3bb7

View file

@ -944,7 +944,7 @@ async function addFileMedia(file) {
if(Object.keys(c.labels).length === 0) { if(Object.keys(c.labels).length === 0) {
stream.onaddtrack = null; stream.onaddtrack = null;
stream.onremovetrack == null; stream.onremovetrack = null;
delUpMedia(c); delUpMedia(c);
} }
}; };