Unable to connect to call on Safari
See original GitHub issueTimeline Outline the main actions the user performed and when:
- User attempts to join the Chime meeting
- The task fails and the user is unable to join the meeting
Describe the bug
This is the warning I’m seeing when trying to join the call:
will retry due to status code TaskFailed and error: serial group task AudioVideoStart/84d1bbcb-49a8-4352-8cf9-24cb08c772ef/140dca19-14f0-446b-879b-114e9ab37f8e was canceled due to subtask AudioVideoStart/84d1bbcb-49a8-4352-8cf9-24cb08c772ef/140dca19-14f0-446b-879b-114e9ab37f8e/Timeout15000ms error: serial group task AudioVideoStart/84d1bbcb-49a8-4352-8cf9-24cb08c772ef/140dca19-14f0-446b-879b-114e9ab37f8e/Timeout15000ms/Media was canceled due to subtask AudioVideoStart/84d1bbcb-49a8-4352-8cf9-24cb08c772ef/140dca19-14f0-446b-879b-114e9ab37f8e/Timeout15000ms/Media/Peer error: serial group task AudioVideoStart/84d1bbcb-49a8-4352-8cf9-24cb08c772ef/140dca19-14f0-446b-879b-114e9ab37f8e/Timeout15000ms/Media/Peer was canceled due to subtask AudioVideoStart/84d1bbcb-49a8-4352-8cf9-24cb08c772ef/140dca19-14f0-446b-879b-114e9ab37f8e/Timeout15000ms/Media/Peer/AttachMediaInputTask error: Attempted to assign to readonly property.
It seems like the problem might be that the browser is unable to find an audio output device. When I run navigator.mediaDevices.enumerateDevices() in my Safari console, I only see an audioinput device and a videoinput device. Any reason why Safari would be unable to access audio output devices? When I run the same command in Chrome, I see an audiooutput device as well.
Platform
- OS: macOS Mojave
- Browser: Safari
- Browser Version: 12
- Amazon Chime SDK GitHub Commit: 1.14.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Thats correct, chooseAudioOutputDevice() is used to change the audio output device by changing the sinkId using the setSinkId(). Under the hood the safari browser chooses the default available audio device to be used as the only audio device.
@ceremonious it should be automatic. It will use the system audio output by default. the chooseAudioOutputDevice is only needed if you want to change it from the default. behind the scenes it uses setSinkId to do this which you can search on canIUse https://caniuse.com/#search=setSinkId for browser compatibility