这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@davidliu
Copy link
Contributor

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Nov 17, 2025

🦋 Changeset detected

Latest commit: 276dfd7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
client-sdk-android Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

-keep class livekit.org.webrtc.** { *; }

# JNI Zero initialization (required for WebRTC native method registration)
-keep class livekit.org.jni_zero.JniInit {
Copy link
Contributor

@adrian-niculescu adrian-niculescu Nov 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davidliu, I tested this change on a release build and got:

2025-11-17 14:59:48.363 18718-18968 System.err                 W  java.lang.ClassNotFoundException: livekit.org.jni_zero.JniInit
2025-11-17 14:59:48.363 18718-18968 System.err                 W  	at java.lang.Runtime.nativeLoad(Native Method)
2025-11-17 14:59:48.363 18718-18968 System.err                 W  	at java.lang.Runtime.loadLibrary0(Runtime.java:1088)
2025-11-17 14:59:48.363 18718-18968 System.err                 W  	at java.lang.Runtime.loadLibrary0(Runtime.java:1012)
2025-11-17 14:59:48.363 18718-18968 System.err                 W  	at java.lang.System.loadLibrary(System.java:1765)
2025-11-17 14:59:48.363 18718-18968 System.err                 W  	at livekit.org.webrtc.PeerConnectionFactory.k(r8-map-id-90f24bdfa111a01f7121043ad3cf72729799e3410d60489d64de3d171e47221a:41)
2025-11-17 14:59:48.363 18718-18968 System.err                 W  	at e8.e.call(r8-map-id-90f24bdfa111a01f7121043ad3cf72729799e3410d60489d64de3d171e47221a:88)
2025-11-17 14:59:48.363 18718-18968 System.err                 W  	at java.util.concurrent.FutureTask.run(FutureTask.java:317)
2025-11-17 14:59:48.363 18718-18968 System.err                 W  	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
2025-11-17 14:59:48.363 18718-18968 System.err                 W  	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
2025-11-17 14:59:48.363 18718-18968 System.err                 W  	at java.lang.Thread.run(Thread.java:1119)
2025-11-17 14:59:48.363 18718-18968 jni_zero                   W  jni_zero.cc:38 Failed to find class livekit/org/jni_zero/JniInit

so that keep rule still seems needed.

I now this is only a draft, just letting you know.

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

Successfully merging this pull request may close these issues.

3 participants