update linphone submodule, add new interface for chat.

This commit is contained in:
Simon Morlat 2012-09-05 11:52:18 +02:00
parent 4235b26bb5
commit 048594438d
4 changed files with 16 additions and 3 deletions

View file

@ -4,6 +4,8 @@ upload_bw=256
firewall_policy=0
mtu=1300
#adaptive_rate_control=1
#activate_edge_workarounds=1
#edge_ping_time=200
[sip]
sip_port=5060
@ -18,7 +20,6 @@ default_proxy=0
auto_net_state_mon=0
keepalive_period=30000
auto_answer_replacing_calls=1
media_encryption=zrtp
media_encryption_mandatory=0
[rtp]

View file

@ -18,6 +18,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
package org.linphone.core;
import org.linphone.core.LinphoneChatMessage.StateListener;
class LinphoneChatRoomImpl implements LinphoneChatRoom {
protected final long nativePtr;
private native long getPeerAddress(long ptr);
@ -34,4 +36,14 @@ class LinphoneChatRoomImpl implements LinphoneChatRoom {
public void sendMessage(String message) {
sendMessage(nativePtr,message);
}
@Override
public void sendMessage(LinphoneChatMessage msg, StateListener listener) {
// TODO To be implemened
}
@Override
public void sendMessage(Object opaque, String message) {
// ignore, deprecated.
}
}

@ -1 +1 @@
Subproject commit 05978321cfc73a91a12c2a818a45a308f3f55a47
Subproject commit b62c4167702f5333686754f55a2da81705e170ba

@ -1 +1 @@
Subproject commit 976711219328335b36d21c3f3d233a8efce170e6
Subproject commit fd4937409b089ba35c887dde134c2ab0864411ca