Giter Club home page Giter Club logo

Comments (7)

nanguantong avatar nanguantong commented on June 14, 2024 1

Hi, how to use the gradle jar on windows or linux without adding fmodule-info.java in IntelliJ IDEA,load error: tmp file: C:\Users\ADMINI~1\AppData\Local\Temp\webrtc-java2765647831398423105.dll

Caused by: java.lang.RuntimeException: Load library 'webrtc-java' failed

See #23

from webrtc-java.

devopvoid avatar devopvoid commented on June 14, 2024

Since the native libraries are packaged into the jar-files, they need to be extracted to the filesystem. The target directory is the temp folder.

If you haven't, create a module-info.java within your project and import (requires webrtc.java;). This should work.

from webrtc-java.

devopvoid avatar devopvoid commented on June 14, 2024

See this issue if you are using IDEA.

from webrtc-java.

RaniRaven avatar RaniRaven commented on June 14, 2024

I have solved this issue, it seems that in IdeaJ project one needs to add the native jar as module dependency before anything will work there. Thanx.

from webrtc-java.

nanguantong avatar nanguantong commented on June 14, 2024

Hi, how to use the gradle jar on windows or linux without adding fmodule-info.java in IntelliJ IDEA,load error:
tmp file:
C:\Users\ADMINI~1\AppData\Local\Temp\webrtc-java2765647831398423105.dll

Caused by: java.lang.RuntimeException: Load library 'webrtc-java' failed

from webrtc-java.

nanguantong avatar nanguantong commented on June 14, 2024

Hi, how to use the gradle jar on windows or linux without adding fmodule-info.java in IntelliJ IDEA,load error: tmp file: C:\Users\ADMINI~1\AppData\Local\Temp\webrtc-java2765647831398423105.dll

Caused by: java.lang.RuntimeException: Load library 'webrtc-java' failed

gradle import :
implementation group: 'dev.onvoid.webrtc', name: 'webrtc-java', version: '0.3.0'

image

then lack the webrtc-java-0.3.0-windows-x86_64.jar compared with maven.

image

see #23

from webrtc-java.

nanguantong avatar nanguantong commented on June 14, 2024

And then when use maven project, it's ok to run this jar, but error happened while running List<AudioDevice> captureDevices = MediaDevices.getAudioCaptureDevices();
java.lang.Error: MMF: Create device enumerator failed CoInitialize has not been called.`

from webrtc-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.