You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Audio Routing Fails in Safari iOS for Twilio Voice SDK
Environment
Platform: iOS Safari
Framework: Javascript
Twilio Voice SDK: 2.12.3
Description
When initiating a voice call using Twilio Voice SDK in a Javascriot application on Safari iOS, the audio is consistently routed to the speaker instead of the earpiece, regardless of attempted audio routing configurations.
Steps to Reproduce
Create a Javascript application using Twilio Voice SDK
Initialize a voice call
Observe audio output on an iOS device using Safari
Expected Behavior
Call audio should be routed to the device's earpiece by default or through explicit configuration.
Actual Behavior
Call audio is always played through the device speaker, even when attempting to use audio routing methods like:
device.audio.setAudioConstraints()
navigator.mediaDevices.selectAudioOutput()
Twilio.Device.audio.speaker(false)
Manual device selection techniques
Detailed Investigation
Confirmed issue occurs across multiple iOS devices
Attempted solutions include:
Explicit audio constraint settings
Device enumeration and selection
Checking for browser-specific audio routing methods
Potential Limitations
Suspect this may be related to WebRTC audio routing restrictions in Safari iOS.
The text was updated successfully, but these errors were encountered:
Audio Routing Fails in Safari iOS for Twilio Voice SDK
Environment
Description
When initiating a voice call using Twilio Voice SDK in a Javascriot application on Safari iOS, the audio is consistently routed to the speaker instead of the earpiece, regardless of attempted audio routing configurations.
Steps to Reproduce
Expected Behavior
Call audio should be routed to the device's earpiece by default or through explicit configuration.
Actual Behavior
Call audio is always played through the device speaker, even when attempting to use audio routing methods like:
device.audio.setAudioConstraints()
navigator.mediaDevices.selectAudioOutput()
Twilio.Device.audio.speaker(false)
Detailed Investigation
Potential Limitations
Suspect this may be related to WebRTC audio routing restrictions in Safari iOS.
The text was updated successfully, but these errors were encountered: