Describe the bug
when I try to new PeerConnectionFactory, it failed:
java.lang.UnsatisfiedLinkError: /private/var/folders/9m/7cp15xsx4js2sw0_8wrdvj8h0000gn/T/libwebrtc-java5955403832921971662.dylib: dlopen(/private/var/folders/9m/7cp15xsx4js2sw0_8wrdvj8h0000gn/T/libwebrtc-java5955403832921971662.dylib, 0x0001): tried: '/private/var/folders/9m/7cp15xsx4js2sw0_8wrdvj8h0000gn/T/libwebrtc-java5955403832921971662.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/9m/7cp15xsx4js2sw0_8wrdvj8h0000gn/T/libwebrtc-java5955403832921971662.dylib' (no such file), '/private/var/folders/9m/7cp15xsx4js2sw0_8wrdvj8h0000gn/T/libwebrtc-java5955403832921971662.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) ~[na:na] at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) ~[na:na] at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) ~[na:na] at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) ~[na:na] at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394) ~[na:na] at java.base/java.lang.Runtime.load0(Runtime.java:755) ~[na:na] at java.base/java.lang.System.load(System.java:1957) ~[na:na] at dev.onvoid.webrtc.internal.NativeLoader.loadLibrary(NativeLoader.java:71) ~[webrtc-java-0.8.0.jar:na] at dev.onvoid.webrtc.PeerConnectionFactory.<clinit>(PeerConnectionFactory.java:42) ~[webrtc-java-0.8.0.jar:na]
To Reproduce
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Describe the bug when I try to new PeerConnectionFactory, it failed:
java.lang.UnsatisfiedLinkError: /private/var/folders/9m/7cp15xsx4js2sw0_8wrdvj8h0000gn/T/libwebrtc-java5955403832921971662.dylib: dlopen(/private/var/folders/9m/7cp15xsx4js2sw0_8wrdvj8h0000gn/T/libwebrtc-java5955403832921971662.dylib, 0x0001): tried: '/private/var/folders/9m/7cp15xsx4js2sw0_8wrdvj8h0000gn/T/libwebrtc-java5955403832921971662.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/private/var/folders/9m/7cp15xsx4js2sw0_8wrdvj8h0000gn/T/libwebrtc-java5955403832921971662.dylib' (no such file), '/private/var/folders/9m/7cp15xsx4js2sw0_8wrdvj8h0000gn/T/libwebrtc-java5955403832921971662.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64h' or 'x86_64')) at java.base/jdk.internal.loader.NativeLibraries.load(Native Method) ~[na:na] at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388) ~[na:na] at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232) ~[na:na] at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174) ~[na:na] at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2394) ~[na:na] at java.base/java.lang.Runtime.load0(Runtime.java:755) ~[na:na] at java.base/java.lang.System.load(System.java:1957) ~[na:na] at dev.onvoid.webrtc.internal.NativeLoader.loadLibrary(NativeLoader.java:71) ~[webrtc-java-0.8.0.jar:na] at dev.onvoid.webrtc.PeerConnectionFactory.<clinit>(PeerConnectionFactory.java:42) ~[webrtc-java-0.8.0.jar:na]
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context JDK17.0.10 zulu