Commit graph

381 commits

Author SHA1 Message Date
Sylvain Berfini
11b9ed01d9 Improved LocalRef (see issue 1925) on Android JNI layer 2014-12-11 17:37:22 +01:00
Sylvain Berfini
f3c7c993ea Fix mistake in previous commit 2014-12-11 11:19:37 +01:00
Sylvain Berfini
95de57a6c6 Fix ec calibration crash in Android 2014-12-11 11:16:15 +01:00
Gautier Pelloux-Prayer
4ebc9c85b9 Add port getter/setter 2014-12-09 15:12:00 +01:00
Simon Morlat
fc107e7805 fix unused variables 2014-12-08 17:22:44 +01:00
Simon Morlat
21d25ef90e add get/set RemoteRingbackTone() to java wrapper 2014-12-05 17:54:21 +01:00
Sylvain Berfini
44665fe88a Added implem of remove_listener in jni layer, fixing crash occuring on second call 2014-12-02 12:42:57 +01:00
Sylvain Berfini
de2e98bd96 Added ClearException in jni layer to prevent crash when listener doesn't implement all callbacks + reworked linphonecorelistener 2014-12-01 12:36:24 +01:00
Sylvain Berfini
3f53d5f045 Reworked jni layer to be able to set multiple vtables for callbacks in android app 2014-11-28 17:23:39 +01:00
Sylvain Berfini
110ed1c9d9 Fix crash when receiving some UTF-8 chars 2014-11-27 10:29:39 +01:00
Gautier Pelloux-Prayer
3149d5b692 Fix android compilation 2014-11-21 16:25:20 +01:00
Simon Morlat
c828b54b33 fix errors in the file transfer API design that were also wrapped in java. 2014-11-14 18:58:51 +01:00
François Grisez
8a6a2e4cca Make local player to use the ring default sound card 2014-11-12 16:30:36 +01:00
François Grisez
a9a651b954 Change window IDs type and make local player to use the default ring sound card instead of the default playback one 2014-11-12 14:22:56 +01:00
Ghislain MARY
a2954ef1aa Fix compilation warnings/errors when compiling for Android. 2014-10-30 14:59:08 +01:00
François Grisez
a742a5aa9b Fix compilation on Android 2014-10-22 14:07:39 +02:00
François Grisez
61419585b4 Test that LinphonePlayer has been instanciated while destroying 2014-10-22 12:01:38 +02:00
Sylvain Berfini
f86c329a34 Added missing param since recent changes 2014-10-20 15:27:12 +02:00
François Grisez
9e55c63875 Add getPlayer() method to LinphoneCore class 2014-10-17 13:39:23 +02:00
François Grisez
a6c013bdb7 Rename LinphoneCore.createPlayer() into LinphoneCore.createLocalPlayer() 2014-10-15 16:42:53 +02:00
François Grisez
e7b469eded JNI wrapping of linphone_player_destroy() 2014-10-15 14:55:36 +02:00
François Grisez
9cee579ee1 Fix compilation on Android 2014-10-15 14:39:37 +02:00
François Grisez
2630a9b0f0 Fix compilation on Android 2014-10-15 12:44:52 +02:00
François Grisez
40a82f05f5 Rename fileplayer.c into localplayer.c 2014-10-15 12:10:03 +02:00
François Grisez
0f6ce268ae Fix compilation error for Android 2014-10-14 10:49:08 +02:00
François Grisez
3ae7d1098a Modify JNI glue to pass the window ID while creating a player 2014-10-14 10:26:44 +02:00
François Grisez
eefa7551a1 Fix the listener of linphone player 2014-10-09 11:41:22 +02:00
Simon Morlat
53135182b9 fix tester compilation issue because ms_audio_diff symbol was stripped out of liblinphone, because unused internally. 2014-10-08 21:38:57 +02:00
François Grisez
a2f8befbcf Add JNI wrapper for linphone_player_get_duration and linphone_player_get_current_position 2014-10-07 14:48:23 +02:00
François Grisez
95d4375ac8 Make the FilePlayer to choose the default sound card for Android 2014-10-07 13:59:29 +02:00
François Grisez
db528b1a74 Add the LinphonePlayer Java interface 2014-10-06 15:07:47 +02:00
François Grisez
68b4b63712 Add functions of the new tunnel API to linphonecore_jni.cc 2014-09-18 17:11:49 +02:00
Simon Morlat
9bacd35151 fix problems with JNI references.
The C proxy config should hold a weak ref to the java object. Everytime this weak ref has to be used, it must be promoted as a local ref first.
2014-09-16 22:33:42 +02:00
Sylvain Berfini
505e22c963 Added JNI bindings for set/get AppData methods for LinphoneChatMessage class 2014-09-15 10:50:12 +02:00
Sylvain Berfini
94e9cc391b Prevent creation of a new LinphoneChatMessage on each JNI callback 2014-09-11 12:56:46 +02:00
Sylvain Berfini
e9a376a014 LinphoneContent stored in database + few changes on Java API regarding file transfer 2014-09-11 12:14:35 +02:00
Simon Morlat
856418260a fix missing ref when notifying incoming message to java layer 2014-09-10 21:06:34 +02:00
Sylvain Berfini
8ca0fac233 More work regarding the JNI bindings and the Java interface for the file upload/download 2014-09-10 14:46:51 +02:00
Sylvain Berfini
c384b0b362 Started Java impl of file transfer 2014-09-09 12:39:56 +02:00
Gautier Pelloux-Prayer
b2ae9095d9 Change adaptive_rate_algorithm API to not use enum 2014-09-09 12:35:15 +02:00
Gautier Pelloux-Prayer
f6e388c4b2 Add possibility to change adaptive rate algorithm at runtime 2014-09-08 16:56:23 +02:00
François Grisez
c3575589c1 Add two JNI functions for tunnels manipulation
*Add LinphoneCore.tunnelGetServers()
*Ass LinphoneCore.tunnelAddServer()
2014-09-03 17:12:40 +02:00
Margaux Clerc
06cac462a7 Use ref/unref function in JNI for proxy config 2014-08-28 16:40:47 +02:00
François Grisez
a323e3c357 Add the setAndroidPowerManager private method to the LinphoneCoreImpl class 2014-08-27 16:52:31 +02:00
François Grisez
cb355233b2 Fix compilation error 2014-08-25 18:55:25 +02:00
François Grisez
4677df1e93 Integration of Android's wake locks 2014-08-25 14:53:34 +02:00
Gautier Pelloux-Prayer
e745c956e7 Add method to retrieve size of a conversation history and a part of it 2014-08-19 11:31:40 +02:00
Simon Morlat
3603a92ce4 add jitter buffer settings 2014-08-12 17:24:45 +02:00
Simon Morlat
a357f2fc86 add LinphoneChatMessage.getTo() java wrapper 2014-08-12 17:09:19 +02:00
Margaux Clerc
c7f6a5a4f8 Add JNI for detect VBR codec 2014-08-12 16:16:54 +02:00