During a cross-browser audio/video call between Firefox and other browsers, an echo issue arises when no microphones are muted. It appears that the microphone in Firefox might be picking up the speaker’s output, as the echo disappears when the caller/callee mutes their microphone. This behavior is unique to Firefox and does not occur in other scenarios such as Chrome-Chrome calls where there is no echo on either side, or Chrome-Firefox calls where the echo is only experienced on the Chrome side. Additionally, Firefox-iOS calls result in echo on the iOS side.
<video/> elements involved – one for the local participant and another for the remote participant. To prevent local audio from being played back (causing echo) in the local
<video/> element, the
muted attribute must be included. Here’s an example of how to use it:
<video id="viewer_local" autoPlay muted></video>. So this is applied and this fixed echo issue for chrome, but not for firefox.
// What version of the SDK are you using? “@sendbird/chat”: “^4.9.9”, “sendbird-calls”: “^1.10.14”,
[Reproduction Steps] // Please provide reproduction steps and, if possible, code snippets.
- Initiate an audio/video call between Firefox and any other device/browser.
- Ensure that both microphones are not muted.
- Observe that an echo occurs, originating from the Firefox side, as the other device picks up sound from the Firefox user.
- When either party (caller or callee) mutes their microphone, the echo disappears.
[Frequency] // Every time.
[Current impact] // This issue significantly affects the user experience for Firefox users, rendering the audio and video call feature unusable due to the persistent echo problem. It’s crucial to address this problem promptly to provide consistent and reliable cross-browser communication for all users.