grails-events-push
grails-events-push copied to clipboard
Could receive a byte data from send event?
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.