Commit 67daaaa1 authored by Guillaume Beraudo's avatar Guillaume Beraudo
Browse files

Take a reference on android camera preview.

parent e740628a
......@@ -1205,6 +1205,13 @@ extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setPreviewWindowId(JNIEn
,jobject thiz
,jlong lc
,jobject obj) {
jobject oldWindow = (jobject) linphone_core_get_native_preview_window_id((LinphoneCore*)lc);
if (oldWindow != NULL) {
if (obj != NULL) {
obj = env->NewGlobalRef(obj);
linphone_core_set_native_preview_window_id((LinphoneCore*)lc,(unsigned long)obj);
mediastreamer2 @ 66355f56
Subproject commit 3073a0ed620856744e2718cc94868ed76c5e0a5c
Subproject commit 66355f56a793377d02d7a6e30604fbcd23378bd3
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment