-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't send blob file #540
Comments
Convert it to base64, binary data seems to not be supported yet. |
I found a lot of posts on internet that use peerjs to send blob. may be it was working on older release ? |
Which browsers are you using? Give me versions please |
last Chrome version: Version 75.0.3770.100 (official Build) (64 bit) |
Sorry, I re-read your first message. The error "Error: Type "function Blob() { [native code] }" not yet supported." looks like is not related at all to WebRTC. Could you paste more code? if it is private, you can write me an email instead kidandcat@gmail.com |
this is the onDrop handler (drag and drop any file in a div)
this is the sendFiles() implementation
Can't share more code atm, if you need more i'll try to replicate in a jsfiddle |
Do you get the exac "Error: Type "function Blob() { [native code] }" not yet supported." error if you try sending the File directly? (without calling Blob constructor) |
receiver fiddle: https://jsfiddle.net/ygeb5093/ File or Blob object throws the same error yes. |
Could you be having this issue? #536 |
y it's probably the same issue. |
@RealHandy I had create new pull request to our fork peers/js-binarypack#7 |
done: #550 |
@afrokick Blob problem is present also in v1.0.2
|
Shouldn't this fix that problem ? |
I create two different pr: one for the fork of bynarypacker-js and anotherone for the peerjs with the update lib (I had to copy the builded js lib inside peerjs) |
I'm trying to send a file drag and dropped in a div, but i always get this error.
Error: Type "function Blob() { [native code] }" not yet supported.
I tryed to send directly File Object, Blob or ArrayBuffer. Got always the same error
The text was updated successfully, but these errors were encountered: