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) {