BlazorBarcodeScanner icon indicating copy to clipboard operation
BlazorBarcodeScanner copied to clipboard

Blazor server app in .net 8

Open rajeshsws opened this issue 1 year ago • 1 comments

Local server its working but after deployment on server below error us facing Can't enumerate devices, method not supported. Error: Can't enumerate devices, method not supported. at t.BrowserMultiFormatReader. (http://192.168.90.220:499/_content/BlazorBarcodeScanner.ZXing.JS/zxingjs.index.min.js:15:28105) at Generator.next () at http://192.168.90.220:499/_content/BlazorBarcodeScanner.ZXing.JS/zxingjs.index.min.js:15:27264 at new Promise () at P (http://192.168.90.220:499/_content/BlazorBarcodeScanner.ZXing.JS/zxingjs.index.min.js:15:27009) at t.BrowserMultiFormatReader.listVideoInputDevices (http://192.168.90.220:499/_content/BlazorBarcodeScanner.ZXing.JS/zxingjs.index.min.js:15:27944) at Object.listVideoInputDevices (http://192.168.90.220:499/_content/BlazorBarcodeScanner.ZXing.JS/BlazorBarcodeScanner.js:92:77) at http://192.168.90.220:499/_framework/blazor.server.js:1:3244 at new Promise () at y.beginInvokeJSFromDotNet (http://192.168.90.220:499/_framework/blazor.server.js:1:3201)

rajeshsws avatar Jun 03 '24 06:06 rajeshsws

getusermedia requires secure connection. Use https and the error will go away. https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia

99cm234 avatar Nov 18 '24 04:11 99cm234