nttcom / peerjs

[Deprecated] This branch is a customized version of PeerJS for NTT Communications's WebRTC platform SkyWay.
http://nttcom.github.io/skyway/en/
Other
226 stars 91 forks source link

Unable to display received files in Chrome #46

Open ewanleaver opened 8 years ago

ewanleaver commented 8 years ago

The application is requesting files to be received ArrayBuffer format, and manually converting to Blobs.

This results in name and type information being stripped out of the original Blob formatted data, and Chrome displays raw data for each received file instead of rendering each correctly.

This could be fixed by changing the serialization of the file DataConnection to none and modifying the receiving code to simply handle received blobs.