Fix progress bar not showing

This commit is contained in:
Mitchell McCaffrey 2021-01-01 13:25:35 +11:00
parent ec3aa6ea11
commit ced66257b0

View File

@ -246,7 +246,13 @@ class Session extends EventEmitter {
}
function handleDataProgress({ id, count, total }) {
this.emit("dataProgress", { peer, id, count, total, reply: sendPeer });
this.emit("peerDataProgress", {
peer,
id,
count,
total,
reply: sendPeer,
});
}
function handleTrack(track, stream) {