This is a fork of libdatachannel C Java wrappers: libdatachannel-java intended to be used within the Nostr Game Engine codebase.
The fork diverges from the original repository in few key areas:
- Direct ByteBuffer allocation can be wired to a custom allocator
- Mimalloc (w/ MI_SECURE) for internal allocations on the jni binding side.
- JUL instead of SLF4J for logging.
implementation("org.ngengine:libdatachannel-java:0.24.1.nge3 ")
implementation("org.ngengine:libdatachannel-java-arch-detect:0.24.1.nge3 ")implementation("org.ngengine:libdatachannel-java:0.24.1.nge3 ")
implementation("org.ngengine:libdatachannel-java-android:0.24.1.nge3 ")To use libdatachannel on Android, the following permissions are required:
android.permission.INTERNET