ngx-webcam
ngx-webcam copied to clipboard
Black screen on some mobile chrome and safari
Fix #95
Thanks for the fix @yamaha252 - we are facing the problem mentioned in #95 as well. @basst314 It would be great if you could merge this and release a new version of the library!
@yamaha252 Could you explain what the problem was? Why are your code changes fixing the problem?
It seems twice execution of navigator.mediaDevices.enumerateDevices
causes this issue. I changed WebcamUtil.getAvailableVideoInputs
method to avoid execution if there are already video inputs. That's the main change.
@basst314 Happy new year to you - it would be great if you could merge this sometime soon. Thanks!