-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Incoming sound keeps playing even after the call is disconnected #133
Comments
Hey @kamalbennani, thanks for filing this issue and providing a solution. We'll add it as soon as we can, I've filed an internal ticket to keep track of this. |
Hi @mhuynh5757 thank you for your quick response 🙇 |
Hey @kamalbennani, PRs are always welcome. Once the fix is done, our team will run through the usual regression testing before we can release. Thanks for the community contributions, we genuinely appreciate it. |
Hi @mhuynh5757 I've opened a PR for this. I'd like to have your thoughts on it. |
should be fixed on 2.3.1 |
Is it possible that this bug has resurfaced after the latest update on chrome? |
@bradleyy1012 we're not seeing this with the latest update on chrome. Do you have repro steps? |
or sensitive account information (API keys, credentials, etc.) when reporting this issue.
Code to reproduce the issue:
Expected behavior:
The incoming sound should be stopped after a call disconnection
Actual behavior:
The incoming sound keeps playing forever
Software versions:
Solution
I've debugged the situation and I found the following issue:
In the device class, the SDK only stops the incoming sound in the following situation:
But none of these events is sent in the case I described above.
The only event emitted is "disconnect" because the call got disconnected just after attempting to connect.
To resolve the issue, it's as simple as calling
this._maybeStopIncomingSound();
at the end of the disconnect eventI would like to hear your thoughts about this, to know if you are also able to reproduce it and if I should pull up a PR for it.
The text was updated successfully, but these errors were encountered: