Menu

Expand
Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Browser Compatibility

Javascript SDK Browser Compatibility

Most of Twilio's JavaScript Client SDK's functionality is compatible recent versions of Chrome, Firefox, Safari and Edge.

As of Twilio Client 1.4, some cutting-edge features were added that make use of browser functionality that is implemented inconsistently between browsers themselves. For this reason, browsers may behave differently. The following is a support matrix listing compatibility with Chrome 56, Firefox 51, Edge 38 and Safari 11. Any feature not listed here is compatible with recent versions of Chrome, Firefox, Safari and Edge:

FeatureChromeEdgeFirefoxSafariNotes
Connection.on(‘volume’)
Device.audio.availableInputDevices
  • All browsers require user media permissions (via getUserMedia) before they show labels
Device.audio.setInputDevice()
  • Firefox support is limited due to lack of support for multiple input devices
  • There is a currently a Safari bug preventing non-default input devices from being selected.
Device.audio.on(‘inputVolume’)
  • Firefox will never receive this event because Device.audio.setInputDevice is not supported
  • Safari will only receive this event for default device because Device.audio.setInputDevice is not fully functional (See above)
Input device auto fallback
  • Firefox does not currently provide a method to detect when an active input device is lost.
Device.audio.availableOutputDevices
  • All browsers require user media permissions (via getUserMedia) before they show labels
  • Firefox and Safari do not provide any output devices
  • Edge provides output devices, but does not label them.
Device.audio.speakerDevices
  • Only Chrome supports HTMLAudioElement.setSinkId()
Device.audio.ringtoneDevices
  • Only Chrome supports HTMLAudioElement.setSinkId()
Connection.on('warning')
  • Warnings are currently only supported in Chrome.

Mobile

Mobile browsers including Safari and Chrome on iOS and Chrome on Android are not supported by Twilio Client. Instead, we recommend the use of Twilio’s Programmable Voice SDKs to develop native Android and iOS apps.

Rate this page:

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.