jahlxx Posted August 27, 2021 Share Posted August 27, 2021 16 minutes ago, Hayri ASLAN said: Hello Please read the all thread. There is a change for this error. I've read all the thread, but no found nothing Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted August 27, 2021 Author Share Posted August 27, 2021 1 hour ago, jahlxx said: I've read all the thread, but no found nothing Quote Link to comment Share on other sites More sharing options...
jahlxx Posted August 27, 2021 Share Posted August 27, 2021 Ok. I've got it. This is not exactly what I need. Thanks. Quote Link to comment Share on other sites More sharing options...
likemike Posted November 4, 2021 Share Posted November 4, 2021 Hello! I'm using the UnimBarcodescanner component. It works great. I use "UnimBarcodeScanner1.CameraList;" to obtain the available cameras. Unfortunately the list of available cameras isn't correct: 1. Microsoft Surface Pro 7: all is ok. There is a front and a rear camera available. 2. iPhone 11: Here's only the front camera available. 3. Android mobile: here are 5 (!) rear cameras available but no front camera. Thanks in advance Quote Link to comment Share on other sites More sharing options...
likemike Posted November 10, 2021 Share Posted November 10, 2021 On 11/4/2021 at 12:49 PM, likemike said: Hello! I'm using the UnimBarcodescanner component. It works great. I use "UnimBarcodeScanner1.CameraList;" to obtain the available cameras. Unfortunately the list of available cameras isn't correct: 1. Microsoft Surface Pro 7: all is ok. There is a front and a rear camera available. 2. iPhone 11: Here's only the front camera available. 3. Android mobile: here are 5 (!) rear cameras available but no front camera. Thanks in advance I would like to know, if I'm the only one with this problem? Maybe it's a problem with some specific mobiles or Android-version... Quote Link to comment Share on other sites More sharing options...
likemike Posted December 22, 2021 Share Posted December 22, 2021 Sorry for pushing, but the problem with UnimBarcodeScanner1.CameraList is still actual. The UnimBarcodeScanner1.CameraList; doesn't load all video devices on Android devices (only the front cameras are listed). Another problem: on iOS-devices the 1st try gives only "Video device 1 =", while the 2nd try loads front and rear camera correctly. Maybe there is a new version of ZXING.min.js? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted December 22, 2021 Author Share Posted December 22, 2021 6 hours ago, likemike said: Sorry for pushing, but the problem with UnimBarcodeScanner1.CameraList is still actual. The UnimBarcodeScanner1.CameraList; doesn't load all video devices on Android devices (only the front cameras are listed). Another problem: on iOS-devices the 1st try gives only "Video device 1 =", while the 2nd try loads front and rear camera correctly. Maybe there is a new version of ZXING.min.js? Hi Did you try with new version of ZXING? Quote Link to comment Share on other sites More sharing options...
likemike Posted December 22, 2021 Share Posted December 22, 2021 The ZXing has no version information - so I don't know which version it is. The file has a size of 355 KB. Where can I get the newest one? Quote Link to comment Share on other sites More sharing options...
Mariana Gatolin Posted January 3, 2022 Share Posted January 3, 2022 Olá tudo bem? Queria utilizar o qz serial para ler as informações da porta COM. O Componente tem esta opção? Não consigo baixar o arquivo, está indisponível. Podem me ajudar por favor? Obrigada Quote Link to comment Share on other sites More sharing options...
NNPaulo Posted February 9, 2022 Share Posted February 9, 2022 Hi Hayri Aslan; Is possible for you, create a TUnimWebCam; a WebCam component, but for mobile? Thanks in advance; Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted February 9, 2022 Author Share Posted February 9, 2022 4 hours ago, NNPaulo said: Hi Hayri Aslan; Is possible for you, create a TUnimWebCam; a WebCam component, but for mobile? Thanks in advance; Hello Unigui natively support mobile webcam. Add a UnimFileUploadButton to form and set capture to camera. Also you can use below trick. Quote Link to comment Share on other sites More sharing options...
lfgarrido Posted February 10, 2022 Share Posted February 10, 2022 On 1/3/2022 at 11:27 AM, Mariana Gatolin said: Olá tudo bem? Queria utilizar o qz serial para ler as informações da porta COM. O Componente tem esta opção? Não consigo baixar o arquivo, está indisponível. Podem me ajudar por favor? Obrigada Take a look on it and get away from QZ which is paid https://github.com/imTigger/webapp-hardware-bridge 1 Quote Link to comment Share on other sites More sharing options...
jotta.petri Posted February 11, 2022 Share Posted February 11, 2022 Any example of QR Code Reader? Quote Link to comment Share on other sites More sharing options...
NNPaulo Posted February 15, 2022 Share Posted February 15, 2022 On 2/9/2022 at 1:13 PM, Hayri ASLAN said: Hello Unigui natively support mobile webcam. Add a UnimFileUploadButton to form and set capture to camera. Also you can use below trick. Thanks Hayri; Work perfect! Quote Link to comment Share on other sites More sharing options...
emin Posted June 10, 2022 Share Posted June 10, 2022 Hi Hayri When I run the application locally, it finds the cameras. But when I install it on IIS on the server the cameras are not listed. You can access the application from the link below. https://destek.mpsyazilim.com/webcam/ Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted June 10, 2022 Author Share Posted June 10, 2022 Just now, emin said: Hi Hayri When I run the application locally, it finds the cameras. But when I install it on IIS on the server the cameras are not listed. You can access the application from the link below. https://destek.mpsyazilim.com/webcam/ Hello Emin Please add webcam.js into files folder https://destek.mpsyazilim.com/webcam/files/webcam.js Quote Link to comment Share on other sites More sharing options...
emin Posted June 10, 2022 Share Posted June 10, 2022 I added js into files folder. The problem still exists Quote Link to comment Share on other sites More sharing options...
emin Posted June 10, 2022 Share Posted June 10, 2022 UniWebCam.rarThis is my test app Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted June 10, 2022 Author Share Posted June 10, 2022 I'm working on it Quote Link to comment Share on other sites More sharing options...
emin Posted June 10, 2022 Share Posted June 10, 2022 Thank you for your time. Quote Link to comment Share on other sites More sharing options...
emin Posted June 12, 2022 Share Posted June 12, 2022 Any progress Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted June 12, 2022 Author Share Posted June 12, 2022 Just now, emin said: Any progress Almost there Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted June 12, 2022 Author Share Posted June 12, 2022 Can you replace below code in uniwebcam.pas, line 140 UniSession.AddJS('navigator.mediaDevices.getUserMedia({ audio: true, video: true }).then(function(stream) {'+ 'if (typeof navigator.mediaDevices.enumerateDevices != "undefined") { '+ ' navigator.mediaDevices.enumerateDevices() '+ ' .then(function(devices) { '+ ' var cameras = devices.filter(function(device) { '+ ' return device.kind === "videoinput"; '+ ' }); '+ ' var uniguiCameras = {}; '+ ' uniguiCameras.count = cameras.length; '+ ' cameras.forEach(function(camera, i) { '+ ' uniguiCameras["label" + i] = camera.label; '+ ' uniguiCameras["deviceId" + i] = camera.deviceId; '+ ' }); '+ ' ajaxRequest('+JSName+', "cameras", uniguiCameras); '+ ' }); '+ ' } }))'); Quote Link to comment Share on other sites More sharing options...
emin Posted June 12, 2022 Share Posted June 12, 2022 I replaced the code and tested it. It works perfectly. Thank you so much Quote Link to comment Share on other sites More sharing options...
emin Posted June 12, 2022 Share Posted June 12, 2022 Hi Hayri I need a simple fix. When the form is created, the camera automatically became actives and asks for permission from the user. Instead, when I click the "start camera" button, I want to activate the camera and get permission. Quote https://destek.mpsyazilim.com/webcam/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.