pthread_create crashes on Android due to static bionic __init_tcb stubs in the Rust std prebuilt rlibs. This is unfixable without rebuilding std. Solution: run the entire call (QUIC connect, handshake, media send/recv) on a single tokio current_thread runtime. The JNI startCall() now blocks, so Kotlin dispatches it to Dispatchers.IO (JVM thread, not pthread). Audio pipeline temporarily simplified to silence frames — will restore once threading is solved (either via Java Thread or rebuilding std). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
10 MiB
10 MiB
The file is too large to be shown.
View Raw