You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered: