As another workaround, Not using mediaDevices.enumerateDevices() seems to solve the problem as well
Topic:
App & System Services
SubTopic:
Core OS
Tags: