quickmeet icon indicating copy to clipboard operation
quickmeet copied to clipboard

getUserMedia() must be called once only

Open ugnich opened this issue 4 years ago • 0 comments

You call navigator.mediaDevices.getUserMedia every time someone connects. It works in Chrome, but not in Safari on iOS/iPadOS.

On iOS every next navigator.mediaDevices.getUserMedia call will make previous stream unusable. Therefore, you need to call getUserMedia only once at the beginning and then reuse your mystream variable.

ugnich avatar Aug 24 '21 09:08 ugnich