Commit fb30fe3b authored by Antonin Décimo's avatar Antonin Décimo

Fix removal of stream.onremovetrack callback.

parent 056ffcd2
......@@ -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);
}
};
......
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