$(LOCAL_PATH)/../../externals/exosip/include \
$(LOCAL_PATH)/../../externals/osip/include
-LOCAL_LDLIBS += -llog
+LOCAL_LDLIBS += -llog -ldl
LOCAL_STATIC_LIBRARIES := \
libmediastreamer2 \
* If not set the core will create its own window.
**/
void linphone_core_set_native_video_window_id(LinphoneCore *lc, unsigned long id){
+#ifdef VIDEO_ENABLED
+ LinphoneCall *call=linphone_core_get_current_call(lc);
lc->video_window_id=id;
+ if (call!=NULL && call->videostream){
+ video_stream_set_native_window_id(call->videostream,id);
+ }
+#endif
}
/**
}
return "unknown error";
}
+
}
+extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setVideoWindowId(JNIEnv* env
+ ,jobject thiz
+ ,jlong lc
+ ,jobject obj) {
+ linphone_core_set_native_video_window_id((LinphoneCore*)lc,(unsigned long)obj);
+ ms_message("linphone_core_set_native_video_window_id() called !!!!!!!");
+}
+
+