-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Cannot hear any ringing tone when there is an incoming call #20832
Comments
@dbkr, this is a common issue? I have yet to see it happen @benparsons, what does the customer have set here? |
Hi @chagai95 one for when you're back at a desk. We're having trouble repro'ing, can you help with more information? |
Hey, I am getting this a lot, and I'll try adding more info as soon as I get this again. I have seen others have the same issue, so the exact browser information is not that important I believe, nevertheless: Chrome 98.0.4758.102 on Windows. |
This might be sometimes because Chrome does not allow to play sound before a first user interaction. But that might only be some of the cases this happens and not all of them. We might be able to solve this I guess in Desktop because we can change that? But I guess we are looking to reproduce cases where there was user interaction after a refresh and the issue still persists. |
@chagai95 Did you ever submit debug logs when this occurred? I'm not seeing a rageshake log for this issue or around this time for your Are you still seeing this problem? |
Hey yes here are the logs and a recording I made showing this I just encountered this today: chrome_c4VHgwDprd.mp4 |
I'm strongly inclined to believe that this is related to the interaction requirements of Chrome. If someone is able to confirm that they do not see the issue after clicking on the page a bunch then will write it off as that. |
I'll try that next time I encounter the issue. I'll try reading more about those chrome interaction requirements, but I was wondering if you have any good suggestions where I could read about that? Also if it's a chrome thing, would it be possible to change these requirements for electron? Maybe it even already works fine on electron...) I think (at least for us at Aarenet) it's a pretty high priority to be able to reliably play ringtone so people know when they are getting an incoming call. Therefore we'll probably want to go the distance and at least configure electron to be able to do that. Just to clarify, do you think this issue is different than the issue where there user can't hear the ringback? Because in that case there is always a user interaction (phoning someone) before the issue happens. |
Some more logs, just saw this happening after a lot of user interaction, you should be able to see the user interaction in the logs as well no? This is on Electron so I believe there was also no refreshing involved but I might be wrong about that logs-0003.log.gz |
The following video demonstrates both problems:
2022-06-06.13-39-18.mp4As you can see in the video, "clicking on the page a bunch" didn't help, the problem persists. |
To better investigate element-hq/element-web#20832 Try and find out why ring and ringback sounds aren't playing
@belakalotay That reproduction video is fantastic! Thanks for the voiceover explaining the problem and clear demonstration of the both issues! I've added some more logging around how we play sound effects to try to narrow this down more, matrix-org/matrix-react-sdk#8772. Once that PR merges and is updated in your anConnect fork, send another set of debug logs 🤞 |
…ds aren't playing (#8772) To better investigate element-hq/element-web#20832
…ds aren't playing (matrix-org#8772) To better investigate element-hq/element-web#20832
We have reproduced the problem with the additional logs.
|
@belakalotay Looking at your logs ( From the call at 9:16, it looks like you called for 3 seconds before hanging up and according to the logs, the
From the call at 9:18, the
Things seem to behaving as expected from the app perspective. We can't really track beyond this point to see if your browser or system is actually emitting sound though. Since you were the one making the calls (outgoing calls), this is more applicable to #20831 since the From a general Element perspective, since we only have one Your earlier video demonstrating both issues still makes this a real problem though. I just don't know what and where we can debug to get the proper information on why audio isn't making it out from when the browser says the audio is playing successfully to your speakers. If it was a browser interaction requirement, we should be seeing a |
Customer reports this is "being noticed more and more in the field." |
…9642) * Add more debugging for why audio might not be playing More debugging for element-hq/element-web#20832 * Listen to events from <audio> * Make it easier to spot event type * Move to start/stop functions * Fix some lints * Protect from potentially undefined element * Needs more mocked functions * More code coverage * Test formatting * Add return types See #9642 (comment) * Add comment on when magic comment is applicable See #9642 (comment)
@chagai95 @belakalotay We've just merged some additional debug logs around the Just like last time, once that PR makes it to a release and is updated in your anConnect fork, send another set of debug logs, video, timestamp, etc 🤞 You can also enable some additional logging of Turn on extra logging: mxSettingsStore.setValue('debug_legacy_call_handler', null, 'device', true); Turn off extra logging: mxSettingsStore.setValue('debug_legacy_call_handler', null, 'device', false); |
Interesting issue #19294 that may be related |
Steps to reproduce
Customer reports they are unable to hear the ringing tone when they have an incoming call. However, when the call is answered audio works.
Could be related to: #20831
Outcome
What did you expect?
to hear the ringing tone
What happened instead?
nothing heard, but when the call is picked up audio is correctly heard.
See rageshake.
Operating system
Windows
Browser information
Chrome version 98.0.4758.102
URL for webapp
N/A
Application version
N/A
Homeserver
No response
Will you send logs?
Yes
no-sound-web.zip
The text was updated successfully, but these errors were encountered: