Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blazor server app in .net 8 #65

Open
rajeshsws opened this issue Jun 3, 2024 · 1 comment
Open

Blazor server app in .net 8 #65

rajeshsws opened this issue Jun 3, 2024 · 1 comment

Comments

@rajeshsws
Copy link

rajeshsws commented Jun 3, 2024

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)

@99cm234
Copy link

99cm234 commented Nov 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants