devopvoid / webrtc-java

WebRTC for desktop platforms running Java
Apache License 2.0
248 stars 60 forks source link

MediaDevicesTests fail "Get frame rate failed The requested attribute was not found." #12

Closed swpalmer closed 2 years ago

swpalmer commented 3 years ago

Describe the bug Test fails:

[INFO] Running dev.onvoid.webrtc.media.MediaDevicesTests [ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.25 s <<< FAILURE! - in dev.onvoid.webrtc.media.MediaDevicesTests [ERROR] dev.onvoid.webrtc.media.MediaDevicesTests.getVideoDevices Time elapsed: 0.243 s <<< ERROR! java.lang.Error: MMF: Get frame rate failed The requested attribute was not found. at webrtc.java@0.3.0-SNAPSHOT/dev.onvoid.webrtc.media.MediaDevicesTests.getVideoDevices(MediaDevicesTests.java:46)

To Reproduce Steps to reproduce the behavior:

  1. Checkout the project (changeset 61cce4508ba595bc9d1938701730151dd02efb34)
  2. set JAVA_HOME to JDK 15.0.2 (Zulu full with JavaFX)
  3. mvn install (Apache Maven 3.6.3)
  4. See error

Expected behavior Tests pass

Desktop (please complete the following information):

devopvoid commented 2 years ago

This issue has been fixed with 702e58c