Some android devices (Infinix phones in particular) only get a plain green/black image returned as base64Data in Webcam.snap.
The issue as it turns out was caused by canvas.toDataURL. The way around it was first use canvas.toBlob, then use a FileReader to read the blob as readAsDataURL (ie base64). In brief, in snap, I replaced
Some android devices (Infinix phones in particular) only get a plain green/black image returned as base64Data in Webcam.snap. The issue as it turns out was caused by canvas.toDataURL. The way around it was first use canvas.toBlob, then use a FileReader to read the blob as readAsDataURL (ie base64). In brief, in snap, I replaced
with
This issue has forced me to revisit every userMedia code i every wrote and update it to drop canvas.toDataURL