From ced66257b07fcbbaa4d1e0381c8620f3277379f2 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Fri, 1 Jan 2021 13:25:35 +1100 Subject: [PATCH] Fix progress bar not showing --- src/network/Session.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/network/Session.js b/src/network/Session.js index 54000c8..c5b6a5e 100644 --- a/src/network/Session.js +++ b/src/network/Session.js @@ -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) {