I need to transfer webcam data over the internet from one browser to another.
The webcam is displayed in a HTML5 canvas. Then I get its dataUrl, and turn i
HTML5 canvas
You can use Blob.slice() method to get bytes. See docs: https://developer.mozilla.org/en-US/docs/Web/API/Blob.slice
1)
var bytes = blob.slice(0,4);
2)
var arrayOfBytes = []; for(var i=0;i
Note: I didn't test it!