I need to connect my dev (Win10) computer remotely sometimes. I noticed that if I leave RDP session and join again while running Juce audio app in Windows Audio mode (=WASAPI I guess) on the remote PC, audio processing is broken. OnSessionDisconnected is caught and process/processBlock is no longer getting executed. This does not happen in DirectSound mode. Please also note that my RDP connection has “leave audio on remote PC” set, so audio remains on the remote PC. This does not happen when just locking the workstation locally. Is there anything I can do about that, ie. add some callback add try to start audio session back?
I know this is probably not JUCE’es, but WASAP’s fault, though I first experienced it while doing WASAPI call using JUCE.