1
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

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