Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webrtc run on nativescript vue error #49

Open
soufianelb opened this issue Jul 24, 2020 · 4 comments
Open

Webrtc run on nativescript vue error #49

soufianelb opened this issue Jul 24, 2020 · 4 comments

Comments

@soufianelb
Copy link

Can anyone help me. i run the project in a vue when it starts, i get the following error:
No static method create() lorg/webrtc/EglBase in class Lorg/webrtc...

@AGregorc
Copy link

I get the same error:

An uncaught Exception occurred on "pool-1-thread-1" thread.
No static method create()Lorg/webrtc/EglBase; in class Lorg/webrtc/EglBase; or its super classes (declaration of 'org.webrtc.EglBase' appears in /data/app/org.nativescript.application-rDCBmloXjAwRR_prpR1abQ==/base.apk)

StackTrace:
java.lang.NoSuchMethodError: No static method create()Lorg/webrtc/EglBase; in class Lorg/webrtc/EglBase; or its super classes (declaration of 'org.webrtc.EglBase' appears in /data/app/org.nativescript.application-rDCBmloXjAwRR_prpR1abQ==/base.apk)
at co.fitcom.fancywebrtc.FancyWebRTCEglUtils.getRootEglBase(FancyWebRTCEglUtils.java:13)
at co.fitcom.fancywebrtc.FancyWebRTC.lambda$init$0(FancyWebRTC.java:93)
at co.fitcom.fancywebrtc.-$$Lambda$FancyWebRTC$jFoisGouehK4C4J-BYA5BfOZep4.run(Unknown Source:2)
at java.util.concurrent.ThreadPoolExecutor.processTask(ThreadPoolExecutor.java:1187)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:929)

@rgill02
Copy link

rgill02 commented Nov 2, 2020

You can take a look at this thread. I had the same issue and also found this related thread from another repo that I used to fix the problem. I downgraded my build gradle for android to version 3.4.2 like someone suggested and it worked for me. Obviously this isn't a real fix, just a temporary band aid, but if you can live with it for now then hopefully it helps.

@rgill02
Copy link

rgill02 commented Nov 8, 2020

@AGregorc let me know if you are able to use WebRTCView correctly in your xml page. Since you and I seem to be actively using this library at the moment we should keep each other informed on any issues/fixes

@AGregorc
Copy link

AGregorc commented Nov 9, 2020

@rgill02 well I haven't tried because I found something other to work on. I'll let you know when I find that repository interesting and start working on it again :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants