Skip to content
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

Could receive a byte data from send event? #34

Open
MiguelAngel82 opened this issue Mar 21, 2013 · 0 comments
Open

Could receive a byte data from send event? #34

MiguelAngel82 opened this issue Mar 21, 2013 · 0 comments

Comments

@MiguelAngel82
Copy link

Hello.

I'm developing a application that uses this plugin and I'm trying to send data bytes in the "send" event, from the browser. I want to send bytes data from a webcam, something like that:

var data = canvas.get()[0].toDataURL('image/jpeg', 1.0);
newblob = dataURItoBlob(data);
grailsEvents.send($('#to').val(), data);

I read that is possible in original implementation of Websockets, send String data or Byte data, Is it possible in this plugin?

Thank you very much.

Kind Regards,
Miguel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant