Commit graph

469 commits

Author SHA1 Message Date
Simon Morlat
dc52e150b7 adapt android jni to MSFactory usage, and add linphone_core_reload_ms_plugins() as a new way of loading plugins after LinphoneCore has been created.
This can be used on platforms where dynamic loading of plugins is not permitted, by doing things in this sequence:
1) Create the LinphoneCore as usual
2) call the libms*_init() routines of the plugins by passing them the MSFactory obtained via linphone_core_get_ms_factory()
3) call linphone_core_reload_ms_plugins()
2016-02-04 22:01:00 +01:00
Simon Morlat
2ce9d4ecc0 fix bug in stats update JNI upcall, since introduction of text stream 2016-01-25 21:53:06 +01:00
Simon Morlat
cd6dfcabe4 add java wrappers for new reachability methods 2016-01-22 18:22:43 +01:00
François Grisez
66cc5b3fc3 Fixes bad function name in linphnonecore_jni.cc 2016-01-22 11:21:07 +01:00
Brieuc Viel
86e7857431 Fix typo in JNI 2016-01-20 14:32:24 +01:00
Simon Morlat
1a36ff6b96 fix android build 2016-01-19 17:50:37 +01:00
Brieuc Viel
8b71cc1fc8 Fixes JNI crach around LinphoneConference constructor 2016-01-19 15:35:41 +01:00
François Grisez
fc9dc6093b Add a method to LinphoneCallLog to check whether a call was a call to a conference server 2016-01-14 17:00:06 +01:00
François Grisez
9eced02408 Wraps LinphoneConferenceParams into Java 2016-01-13 15:51:06 +01:00
François Grisez
5cf1abd58e Fixes prefix of bellesip's wake_lock functions 2016-01-11 11:45:30 +01:00
Brieuc Viel
4836f295b2 Fixes bad cast in JNI 2016-01-08 17:08:37 +01:00
Brieuc Viel
82eb6bac0d Fixes typo and bad cast in JNI 2016-01-08 15:49:44 +01:00
François Grisez
b118f3584a Several fixes of JNI code of LinphoneConferenceImpl
* Bad declaration of native implementations
* Memory leak in getParticipants()
* Bad constructor signature
2016-01-08 14:09:20 +01:00
François Grisez
dab5cc724d Fixes JNI crashes around LinphoneConference.getParticipants() 2016-01-08 10:12:02 +01:00
Brieuc Viel
c20dea4b94 Fix JNI crash about LinphoneCall.getCoference() 2016-01-07 16:26:33 +01:00
François Grisez
38dfb9ab6f Merge branch 'dev_conference_rfc4579' 2016-01-07 10:13:04 +01:00
François Grisez
dc62411463 Fix JNI of getConference() methods of LinphoneCore and LinphoneCall 2016-01-06 15:03:53 +01:00
François Grisez
95c893dcc1 Wrap LinphoneConference class into Java 2016-01-06 14:30:13 +01:00
François Grisez
ca05715af6 Fix crash in JNI concerning the removeListener() function 2016-01-04 16:45:18 +01:00
Christophe Deschamps
4738dd78a4 Do not call linphone_content_get_buffer on multipart body messages (JNI Wrapper) 2015-12-30 22:48:22 +01:00
Christophe Deschamps
293376d648 Fixes crash upon file transfer - jni wrapper 2015-12-29 22:35:58 +01:00
Christophe Deschamps
a589056381 Fix memory leak 2015-12-28 09:26:32 +01:00
Christophe Deschamps
a142ea2981 find friend by URI added to JNI 2015-12-24 00:33:36 +01:00
Christophe Deschamps
2840f5fcac JNI Wrapper for presence list 2015-12-14 14:11:37 +01:00
Christophe Deschamps
f151d70d4d retired LinphoneContentPrivate in JNI & fixed Android compilation (friendlist) 2015-12-14 00:01:15 +01:00
Margaux Clerc
47662ce97e Add calllogs in database for android 2015-11-19 14:43:08 +01:00
Simon Morlat
f0b9d0fffe add linphone_core_set_transport_timeout() wrapper for java 2015-11-04 17:55:10 +01:00
Simon Morlat
faa6092236 fix crashes in android when doing things with LinphoneCore within the globalStateChanged callbacks.
Add wrappers for the http proxy api.
2015-11-03 18:30:33 +01:00
Simon Morlat
4385557cd8 add LinphoneCallLog.getCallId() java wrapper 2015-11-03 14:36:59 +01:00
Simon Morlat
7b529234d6 remove dangerous LinphoneCore.createDefaultCallParameters() from java api. 2015-11-02 22:01:25 +01:00
Simon Morlat
d94a20367f add missing Java bindings 2015-10-30 15:46:52 +01:00
Simon Morlat
9f2f6163d0 fix tunnelconfig problems 2015-10-29 16:05:31 +01:00
Simon Morlat
c4cf58931e rework TunnelConfig java wrapper to make it state of art and in the public interfaces. 2015-10-27 18:41:36 +01:00
Ghislain MARY
c1f90bf283 Add JNI for the API to clear custom SDP attributes. 2015-10-19 16:20:01 +02:00
Ghislain MARY
db3c815956 Add JNI to handle media directions. 2015-10-08 11:40:25 +02:00
Margaux Clerc
68829aef4d Add new methods in JNI 2015-10-07 14:01:29 +02:00
Ghislain MARY
62c627111f Add JNI for the API to handle custom SDP attributes. 2015-10-07 13:34:00 +02:00
Simon Morlat
caa0ce6109 prevent a crash if the chat message listener is destroyed. 2015-10-04 21:53:18 +02:00
Ghislain MARY
c5461d7b6f Add java wrapper for linphone_call_set_next_video_frame_decoded_callback. 2015-09-29 15:38:36 +02:00
Simon Morlat
f67f749dc8 fix possible JNI local ref overflow 2015-09-25 10:51:51 +02:00
Sylvain Berfini
b5d0667594 Merge branch 'dev_rtt' 2015-09-22 11:12:34 +02:00
Gautier Pelloux-Prayer
570ebc6b00 linphonecore_jni.cc: fix compilation of chat 2015-09-18 10:27:32 +02:00
Simon Morlat
5257d25cab removes reference to LinphoneChatRoom.destroy(), which should not be used from java code 2015-09-13 16:47:14 +02:00
Sylvain Berfini
1a43b01696 Merge branch 'master' into dev_rtt 2015-09-10 14:19:52 +02:00
Gautier Pelloux-Prayer
d638129f62 proxy.c: deprecate linphone_proxy_config_normalize_phone and use linphone_proxy_config_normalize_phone_number instead 2015-09-10 11:03:46 +02:00
Johan Pascal
06575db0ae Add codec2 capabilities (when mscodec2 plugin is present)
- update oRTP and ms2
2015-08-20 23:50:41 +02:00
Margaux Clerc
075f13f233 Remove textReceived callback
Made  echo calibration at start
2015-08-12 17:53:32 +02:00
Sylvain Berfini
7f98e218f0 Finished RTT JNI/Java API 2015-08-05 16:52:52 +02:00
Simon Morlat
48e8734b6f repair liblinphone_tester (android) and enable call with file player and rtp io test to run ms_audio_diff on embedded platforms, since it is much faster
than originally.
2015-08-05 15:51:34 +02:00
Margaux Clerc
157c61d2f5 Fix JNI video windowID 2015-07-21 11:10:00 +02:00