-
Notifications
You must be signed in to change notification settings - Fork 536
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
Camera video doesn't show up - iPhone iOS 14.3 - All browsers #213
Comments
Hi @bureauberg Thank you for this bug report. The deployed demos were not updated, I have updated them. Please open this boirlerplate link in private browsing mode to avoid any browser cache issue. Can you give me the output of https://jeeliz.com/demos/WebGLCoreLogger/index.html (the content of the textarea field)? I tested the stuffs on Iphone11 / IOS14.4 and it works (Safari, Chrome, with and without WebGL2 enabled). Best, |
Hi Xavier, Thanks for your very, quick reply!
Yes. I tested the web app with 5 different iPhones (iPhone 7plus, iPhone 8, iPhone plus, iPhone 11 and iPhone 12) It used to work flawlessly on all these iPhones before and it still does work great on Android (i.e. Galaxy S10, Chrome) and desktop (W10, W8.1, even on W8 and W7).
I didn't check the FaceFilter demo's yet on the above iPhones, I'll do that as well, just like the Boilerplate you mentioned. However, I'm wondering though if we need to update the Jeeliz lib to fix this issue? Please forgive me that I'm not a developer myself, but a creative strategist and therefore my questions might not be appropriate here on Github. If so, please let me know. Some details about our web app: The web application is a personality test to find out what kind of 'Dragon' you are (a Red, Blue, Green or Yellow Dragon). In case you'd like to have a look, I can send you some test links through email. Thanks again and best regards, |
Hi, Thank you for these details. Once your web app is published, feel free to add a link on the Third Party section of the README of this repository: https://github.com/jeeliz/jeelizFaceFilter#third-party Best regards, |
Hi Xavier, Thanks for your reply. We have updated FaceFilter and now the camera feed works again. I also noticed that the Tiger demo shows the feed correctly but the face behind the mask, is upside down as well. Please note my eyes and eyebrows in the screenshot: Any suggestions on how to fix? See the attachments for the WebGLCoreLogger at iOS14.4, Android 11 and W10, all using Chrome after we updated FaceFilter. logger-Chrome-Android-GalaxyS10.txt Thanks again, Jacco |
Hi, Thank you for the logs. This commit is fixing the bug in the werewolf demo: bf6bfaf Best, |
Thanks for the feedback, that was helpful. :) The only thing left now, is that the head behind the mask is still upside down. This is the very same as I already noticed in your demo of the tiger, see my former post above and screenshot if the tiger demo. Thanks, |
Hi Xavier, Just to be sure; do you mean by your last reply that the face showing upside-down behind the mask could be fixed by the commit of the werewolf demo as well? Or by #200? I might have misunderstood your reply partly because the Tiger demo shows the face behind the mask upside-down while the rest of the camera stream is normal. Thanks again for your suggestions and your efforts on the Jeeliz lib! Best regards, |
Hi @bureauberg You need to apply the videoTransform Matrix otherwise the video will be upside down. Indeed, when transferred to a WebGL texture, an HTML element like a video, an image, or a canvas is flipped down along the vertical axis (Y). There is an option to flip the pixels along theY axis to avoid this ( So now the video texture is flipped down. I provide a transform matrix to flip it up, scale it according to the aspect ratio of the canvas and also rotate it (if a video rotation is required). From a user perspective, you just need to get the matrix from Jeeliz FaceFilter initialization, and apply it to UV video coordinates in the shaders. In #200 I did it for the werewolf demo. This change was still not applied properly to the tiger mask demo, I am doing this right now :) Best regards, |
The tiger mask should be fixed now :) |
Hi Xavier, Thanks a lot for your insights, guidance and fix of the demo. It gave us a better insight into why it didn't work anymore at production and how to fix it, which has been done successfully. Thanks again and keep up the great work with Jeeliz! Best regards, |
Hi @bureauberg You are welcome Best regards, |
Thanks, Xavier. I've tested it with
The issue is the same at both; after giving approval to the browser to use the camera, no cam feed shows up. Do you know of any fix for this or is Firefox not supported (yet) on W10 nor Android? |
Hi all, we use your Jeeliz FaceFilter library for a while now and it works great!
But recently, when using an iPhone (iOS 14.3), after approval at the alert pop up to use the camera, it doesn't show the camera feed anymore on iPhone 12, Safari, iOS 14.3 (nor at Chrome Mobile 77 and Firefox using iOS 14.3, same iPhone 12).
webglreport.com shows WebGL1 supported, WebGL2 not supported.
Please note that this issue suddenly occurred without any code changes so it might be due to an update of iOS. Before, it used to work fine on the same phones. The problem I'm facing is similar to issue 198.
Additionally, I tested it with iPhone 7+, 8, 8+ and 11, all with Safari and the same result.
With Android and at desktop no problems occur. It looks like the issue occurred after the latest iOS update.
Any insights? Please note that I'm not a developer myself but I"ll pass any findings thankfully through.
Thanks!
Jacco
The text was updated successfully, but these errors were encountered: