Michelle Bu 12 years ago
parent
commit
654b87022c
2 changed files with 1 additions and 1 deletions
  1. 1 1
      dist/peer.js
  2. 0 0
      dist/peer.min.js

+ 1 - 1
dist/peer.js

@@ -1014,7 +1014,7 @@ Reliable.prototype._handleMessage = function(msg) {
 
 
       var n = msg[2];
       var n = msg[2];
       var chunk = msg[3];
       var chunk = msg[3];
-      data.chunks[n] = chunk;
+      data.chunks[n] = new Uint8Array(chunk);
 
 
       // If we get the chunk we're looking for, ACK for next missing.
       // If we get the chunk we're looking for, ACK for next missing.
       // Otherwise, ACK the same N again.
       // Otherwise, ACK the same N again.

File diff suppressed because it is too large
+ 0 - 0
dist/peer.min.js


Some files were not shown because too many files changed in this diff