devopvoid / webrtc-java

WebRTC for desktop platforms running Java
Apache License 2.0
264 stars 63 forks source link

WebRTC load failed when no aduio devices in Win10 #136

Closed Stasyanych closed 10 months ago

Stasyanych commented 10 months ago

If there are no audio playback or capture devices on win 10, the WebRTC library returns EXCEPTION_CONTINUE_EXECUTION and the application crashes. This happens when you try to receive devices through the MediaDevices module, when call MediaDevices.getAudioCaptureDevices() method.

2024-01-29_15-48-34

hs_err_pid9080.log

Stasyanych commented 10 months ago

I have solved the problem. The wrong thread called the mediaDevices module method and an exception was thrown because of this.

Stasyanych commented 10 months ago

I'm closing this