question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

In Safari and FF, no attendee shows up if joining a meeting with an empty audio device

See original GitHub issue

Important: Please attach INFO-level logs with timestamps to the report from before the session started up until the point at which the unexpected behavior occured. For multi-participant calls, attach a log file for each participant if possible.

Meeting and attendee IDs: List the meeting and attendee IDs that the attached logs apply to. N/A

Timeline Outline the main actions the user performed and when: N/A

Describe the bug Describe the bug and the timestamp at which it happened relative to the timestamp in the log file.

Repro steps

  1. In Safari or Firefox, assume you haven’t allowed microphone in the permission dialog before. Also, you never called chooseAudioInputDevice with a non-null device.
  2. Start a meeting.
  3. An attendee will not show up.

Notes

  • SDK creates an empty audio device using Web Audio API and joins the session in the following conditions.
    • chooseAudioInputDevice is never called before joining a meeting
    • chooseAudioInputDevice is called with null. Choosing null indicates no device.
  • In Chrome, an attendee is present. Other attendees won’t be able to hear you since you haven’t selected any audio input device.
  • In Firefox, an attendee is not present due to the no ice candidates were gathered error (Click here to see code).
  • In Safari, an attendee is not present without any error.
  • In the documentation and examples, we recommend choosing an audio input device before starting a meeting. If you choose an audio input device and allow microphone permission, this bug doesn’t happen. An attendee will be present in all supported browsers.

Screenshots If applicable, add screenshots to help explain the problem.

Platform

  • OS: macOS
  • Browser: Safari and Firefox
  • Browser Version: Safari 13.1 and Firefox 76
  • Amazon Chime SDK GitHub Commit: 50b4ef8e73ad82e4735dab4ce6c9667f9c6a03b5

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

14reactions
rubenfonsecacommented, Jul 22, 2020

Thank you for your hard work. However we are also very interested in using the Chime CDK with users that are just “observers”, and right now the SDK is asking them to access their microphone which is extremely awkward. Would it ever be a way of allowing people to join a meeting only as “consumers”?

6reactions
xuesichaocommented, Aug 16, 2021

Hi everyone, although we have not fully resolved this issue yet, we have made some progress. Through our observations, we believe this issue is likely to be related to some restriction of browser.

As we mentioned before:

SDK uses an audio input signal to notify the Chime server that the current attendee has joined a meeting. In case of no device selected, SDK joins a meeting with a fake audio input.

In some cases, the browser seems to block the output of this fake audio input, causing the server to fail to receive the signal, which further prevents the user from joining the meeting.

Currently, there are two ways to fix it:

  1. Before joining the meeting using the view-only mode, do NOT list or select any device. This will neither call the deviceLabelTrigger to trigger the device permission prompt nor cause the user to be unable to join the meeting.
  2. Allow Autoplay for your Application website in Safari.
    • Open your application in the Safari app on your Mac.
    • Choose Safari > Settings for This Website. You can also Control-click in the Smart Search field, then choose Settings for This Website.
    • Hold the pointer to the right of Auto-Play, then click the pop-up menu and choose the option:
      • Allow All Auto-Play: Lets videos on this website play automatically.

We also added some new docs, check them below:

Let us know if this helps. We will keep working on this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

APIOverview | amazon-chime-sdk-js - Open Source at AWS
This guide gives an overview of the API methods you can use to create meeting with audio and video with a roster of...
Read more >
Create an Aggregate Device to combine multiple audio devices
> Audio, then select Devices. For GarageBand, choose GarageBand > Settings (or Preferences) > Audio/MIDI. For MainStage, choose MainStage > ...
Read more >
Troubleshooting Within Virtual Classroom – Bongo: Help Center
Emergency Troubleshooting · Reload the page. · Restart the Browser. · Open the meeting in a different browser. · Close all other tabs...
Read more >
A/V Troubleshooting | Gather's Help Center!
Warning: If you have previously granted permissions for Gather but can no longer use your camera, mic, or screen share, you may need...
Read more >
Troubleshoot audio issues in Google Meet
Mac computer settings might prevent Meet from using the microphone. If this happens, restart Chrome Browser. If that doesn't work, restart your computer,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found