mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 22:28:07 +00:00
Enable ipv6 support for Android.
This commit is contained in:
parent
4dd30dcf60
commit
f596a19ad5
1 changed files with 5 additions and 1 deletions
|
|
@ -93,7 +93,8 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
private native int startEchoCalibration(long nativePtr,Object data);
|
||||
private native int getSignalingTransportPort(long nativePtr, int code);
|
||||
private native void setSignalingTransportPorts(long nativePtr, int udp, int tcp, int tls);
|
||||
|
||||
private native void enableIpv6(long nativePtr,boolean enable);
|
||||
|
||||
LinphoneCoreImpl(LinphoneCoreListener listener, File userConfig,File factoryConfig,Object userdata) throws IOException {
|
||||
mListener=listener;
|
||||
nativePtr = newLinphoneCore(listener,userConfig.getCanonicalPath(),factoryConfig.getCanonicalPath(),userdata);
|
||||
|
|
@ -450,5 +451,8 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
setSignalingTransportPorts(nativePtr, transports.udp, transports.tcp, transports.tls);
|
||||
}
|
||||
|
||||
public void enableIpv6(boolean enable) {
|
||||
enableIpv6(nativePtr,enable);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue