grails-events-push icon indicating copy to clipboard operation
grails-events-push copied to clipboard

Could receive a byte data from send event?

Open MiguelAngel82 opened this issue 11 years ago • 0 comments

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.

MiguelAngel82 avatar Mar 21 '13 11:03 MiguelAngel82