python-radio-console
python-radio-console copied to clipboard
Transmit audio can stop working on the server-side
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.
Should be fixed with commit b3f1bb32d72c50fbf4efb740a14ebb937cbabc21 but will continue to monitor
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.
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.
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
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.