On 2/27/19 8:44 AM, Jan-Ivar Bruaroey wrote: > What I show above gives only one permission prompt in all browsers. Uh, I typed too fast. I meant: try { stream = await navigator.mediaDevices.getUserMedia({video: true, audio: true}); } catch(e) { if (e.name == NotFoundError) { stream = await navigator.mediaDevices.getUserMedia({audio: true}); } } catch(e) { if (e.name == NotFoundError) { stream = await navigator.mediaDevices.getUserMedia({video: true}); } } catch(e) { console.log(e); } .: Jan-Ivar :.Received on Wednesday, 27 February 2019 13:49:12 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:46 UTC