Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
2416116d
Commit
2416116d
authored
Nov 30, 2010
by
Simon Morlat
Browse files
use ms_set_jvm()
parent
5cdf2910
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
coreapi/linphonecore_jni.cc
coreapi/linphonecore_jni.cc
+3
-0
No files found.
coreapi/linphonecore_jni.cc
View file @
2416116d
...
...
@@ -18,6 +18,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <jni.h>
#include "linphonecore.h"
#include "mediastreamer2/msjava.h"
#ifdef ANDROID
#include <android/log.h>
extern
"C"
void
libmsilbc_init
();
...
...
@@ -47,6 +49,7 @@ static void linphone_android_log_handler(OrtpLogLevel lev, const char *fmt, va_l
JNIEXPORT
jint
JNICALL
JNI_OnLoad
(
JavaVM
*
ajvm
,
void
*
reserved
)
{
#ifdef ANDROID
ms_set_jvm
(
ajvm
);
ms_andsnd_set_jvm
(
ajvm
);
#ifdef VIDEO_ENABLED
ms_andvid_set_jvm
(
ajvm
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment