Describe the bug
If you call MediaDevices.getAudioCaptureDevices() on some minecraft events, the jvm crashes.
To Reproduce
- clone the repo at https://github.com/Toniboni08/WebRTCCrashTest
- run the gradle task "runClient"
- join a world
Expected behavior
Upon the screen "loading tarrain..." the game crashes with a fatal jvm exception, where it later says: "The crash happened outside the Java Virtual Machine in native code."
Desktop (please complete the following information):
- OS: Windows 11
- Version: 24H2
- OS Build: 26100.4652
Additional context
It can be midigated in calling MediaDevices.getAudioCaptureDevices() in the constructor.
Describe the bug
If you call MediaDevices.getAudioCaptureDevices() on some minecraft events, the jvm crashes.
To Reproduce
Expected behavior
Upon the screen "loading tarrain..." the game crashes with a fatal jvm exception, where it later says: "The crash happened outside the Java Virtual Machine in native code."
Desktop (please complete the following information):
Additional context
It can be midigated in calling MediaDevices.getAudioCaptureDevices() in the constructor.