python-radio-console icon indicating copy to clipboard operation
python-radio-console copied to clipboard

Transmit audio can stop working on the server-side

Open W3AXL opened this issue 4 years ago • 5 comments

I've seen a few times where TX audio output to the radio will stop after a long period of console operation. No errors show up in the logs, and a restart of the console is required to restore TX audio properly. I'm not sure exactly what's going on. Will have to monitor this for now.

W3AXL avatar Sep 21 '21 13:09 W3AXL

Should be fixed with commit b3f1bb32d72c50fbf4efb740a14ebb937cbabc21 but will continue to monitor

W3AXL avatar Mar 30 '22 16:03 W3AXL

Turns out the client microphone track can end for unknown reasons and without notification to the user.

9f25cb05007d85fdb8ce03de41595a9c73f8b963 adds a notification popup that the client mic track has ended. Further work needed to handle automatic restart of mic audio.

W3AXL avatar Nov 02 '22 14:11 W3AXL

I broke the branches for a sec, so commits aren't split into easy-to-follow chunks, but master should now have a mic auto-restart function to handle this issue.

W3AXL avatar Nov 10 '22 20:11 W3AXL

Problem still exists but much less frequent after WebRTC improvements - I believe it's a windows-specific issue when audio devices are changed. More investigation needed

W3AXL avatar Oct 02 '23 17:10 W3AXL

looks like the audio.inputStream.mediaStream keeps going active:false, but running restartMicStream fixes the issue. So, the auto-restart logic just isn't working properly.

W3AXL avatar Oct 14 '23 13:10 W3AXL