Question - is it possible to get a raw buffer image from a usb camera without any processing done to it. It seems no matter what format the camera output internally is when you grab it with getUserMedia it converts it to RGB.
Problem - I have a YUV 4:2:0 camera output that i'm pushing out over usb from a microcontroller. What i was planning to do is embedded some data information in the image on the Y channel for say the last 2 lines. But the problem i'm running into is that when you grab the image from the camera with getUserMedia and stick it into the video frame and then use the video frame data as you're buffer it's in RGB. I could try to convert the RGB back into YUV, but i think that in some edge cases the data is lossy as in there's rounding errors or the color spaces don't perfectly match up. So basically I'm just looking for a way to keep my buffer from the camera unedited.