-
Notifications
You must be signed in to change notification settings - Fork 480
Audio receiving hangs or stutters until reload #115
Comments
I've compiled
|
Could you please check the Javascript console in Chrome when it happens? |
(Actually, the page can hang due to high memory usage if you leave it open for a very long time, e.g. hours or days. In the current version the waterfall is never cleaned up in the browser.) |
@ha7ilm console output:
I found that the probability of getting stuck audio increases with server CPU load and does not correlate with how long the page has been open. |
I fully understand that you shouldn't expect perfect audio with this setup, but at least the application should recover and not hang with a need to manually restart it. |
Thanks for the feedback. Unfortunately I don't know yet why this happens at you. The application is designed to recover. You could probabily check the internal state of the application by sending it the USR1 or USR2 signal (I don't recall which). There's a particular variable called |
I'm guessing that it has something to do with client audio processing, not the server. I'll try to look into it some time later. |
yes, some problem in Chrome/71.0.3578.98 and Safari/605.1.15 but if open in Firefox/46.0 - all is well Console in Chrome: |
So I'm now running a test setup here: http://naoruatho.me:8073/
Currently it's tuned up on the Belorussky railway station frequency in Moscow.
The server is Cubieboard2 with Armbian installed. Performance isn't very good, I'm getting low enough CPU usage with only 300ksps bandwidth.
Everything runs ok, but from time to time it starts repeating a sample over and over and only reloading the page helps. Buffer overrun starts flashing. Waterfall still works. Other clients usually work fine when it happens, only to get the stutter some time later.
I've turned off ADPCM audio compression hoping that it's a simple codec issue but no dice.
Clients use latest Chrome on Windows PCs and Macs. On Edge sound just stops instead of looping.
Can you help me debug this issue?
The text was updated successfully, but these errors were encountered: