Hello! I'm trying to build an app for android with GUI written on Qt. Now I'm working on video preview. What i've done already: 1. Build OpenH264 lib. 2. Build pjsip with video support. 3. Copy PjCamera.java and PjCameraInfo.java into my app folder (src\org\pjsip\). The problem is that pjsip unable to find class name PjCamera from JVM. I have this debug log: ............. I/pjsua (16412): 22:52:38.159 android_jni_de ..Android JNI sound library initialized I/pjsua (16412): 22:52:38.162 pjlib ..select() I/O Queue created (0xb861b48c) I/pjsua (16412): 22:52:38.182 pjsua_vid.c ..Initializing video subsystem.. I/pjsua (16412): 22:52:38.183 openh264.cpp ...OpenH264 codec initialized I/pjsua (16412): 22:52:38.183 opengl_dev.c ...OpenGL device initialized I/pjsua (16412): 22:52:38.184 android_dev.c ...[JNI] Unable to find class 'PjCamera' ............. And when I'm trying to create preview video program crashes. (I'm not sure that I'm creating video preview with correct device and maybe this is another error). My code: vidPrev = new VideoPreview(PJMEDIA_VID_DEFAULT_RENDER_DEV); VideoPreviewOpParam param; vidPrev->start(param); // <-- crash here VideoWindow prev = vidPrev->getVideoWindow(); Crash log: I/pjsua (16412): 22:52:39.511 pjsua_vid.c !Starting preview for cap_dev=-2, show=1 I/pjsua (16412): 22:52:39.511 pjsua_vid.c .Creating video window: type=preview, cap_id=-2, rend_id=-2 I/pjsua (16412): 22:52:39.511 pjsua_vid.c ..Window 0: destroying.. I/pjsua (16412): 22:52:39.511 media.cpp pjsua_vid_preview_start(devId, &prm) error: Invalid video device (PJMEDIA_EVID_INVDEV) (status=520004) [../src/pjsua2/media.cpp:1185] F/libc (16412): Fatal signal 6 (SIGABRT), code -6 in tid 16638 (QtThread) I/DEBUG ( 288): pid: 16412, tid: 16638, name: QtThread >>> org.qtproject.example <<< D/InputDispatcher( 984): Focus left window: 16412 E/lowmemorykiller( 255): Error writing /proc/16412/oom_score_adj; errno=22 I/Zygote ( 317): Process 16412 exited due to signal (6) I/ActivityManager( 984): Process org.qtproject.example (pid 16412)(adj 1) has died.(63,298) Does anybody faced with such error before? -- С уважением, Александр Анцев _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org