Telephony Widget Broken on Chrome Browsers

Telephony Widget Broken on Chrome Browsers

Hi there,

Big problem here. Chrome has deprecated the 'getUserMedia' method on 'cross-origin' iframes for some browsers already, and since all telephony widgets are embedded in iframes, and in most circumstances are cross-origin, so most Telephony Widgets are unusable in Chrome.

This is the exact error message when making a call from our Telephony widget on some versions of Google Chrome, I suspect the deprecation is going to roll out over the coming days to the rest of our browsers, this error is raised by the latest version of Twilio.JS SDK 1.4 on a Google Chrome browser Version 62 (but it worked fine just a few days ago, and works fine on another computer with identical versions):
  1. [Deprecation] getUserMedia (microphone) usage in cross-origin iframes is deprecated and will be disabled in M63, around December 2017. To continue to use this feature, it must be enabled by the embedding document using Feature Policy, e.g. <iframe allow="microphone" ...>. See https://goo.gl/EuHzyv for more details.
It seems like the iframe that the widget is embedded in will have to get the tag for 'allow="microphone"'.

This is a super priority situation. I hope a team member can start working on this immediately.

Thanks,

Sam Morrison