iOS Mobile #265
-
Hi, I'm using the libary and can see it has troubles showing the face dectection frame on iOS (mobile). After allowing the camera, it does not load the frame. Is there anything I should be looking at specifically to make it work? Your input is much appreciated. Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 10 replies
-
without providing more information, i cannot really help. you haven't even stated are you using safari or chrome? note that ios is supported as best-effort as i do not have ios device available for testing. |
Beta Was this translation helpful? Give feedback.
-
first exception is in your code, not inside |
Beta Was this translation helpful? Give feedback.
-
it would help if you could copy&paste errors instead of hard to read screenshots. in general, this is most commonly related to browser enforcing different things when working with video streams such as:
|
Beta Was this translation helpful? Give feedback.
-
thats already in demo already, just first remove human/demo/typescript/index.ts Lines 65 to 68 in 8aa4d3d |
Beta Was this translation helpful? Give feedback.
-
does it not load or does not start playing? if you're using canvas overlay over video remember that first frame does not get rendered until its processed, so it shows as blank even if video is loaded. i'm basically guessing here since i don't know your entire code. |
Beta Was this translation helpful? Give feedback.
-
quick google shows some hints that video tag should have "autoplay muted playsinline" to work on newer iphones |
Beta Was this translation helpful? Give feedback.
first exception is in your code, not inside
human
library - jQuery null is not an object.there is exception at the end as well,
NotAllowedErrror
, but cant see exactly where. check between browser and web server if settings are correct to use things like camera access.