From c43ae68b80432901a7d1920dcd1f6ba6624c7cc0 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Sat, 15 Mar 2014 10:49:47 +0100 Subject: [PATCH] re-add new functions in LinphoneCore.java that was reverted by my fuck*** Eclipse when crashing. --- java/common/org/linphone/core/LinphoneCore.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/java/common/org/linphone/core/LinphoneCore.java b/java/common/org/linphone/core/LinphoneCore.java index 26256ea1e..1d5a69b41 100644 --- a/java/common/org/linphone/core/LinphoneCore.java +++ b/java/common/org/linphone/core/LinphoneCore.java @@ -1532,4 +1532,17 @@ public interface LinphoneCore { * @param path a wav file to be played when such call failure happens. */ public void setCallErrorTone(Reason reason, String path); + + /** + * Inform the core about the maximum transmission unit of the network. + * This is used for fragmenting video RTP packets to a size compatible with the network. + * @param mtu the MTU in bytes. + */ + public void setMtu(int mtu); + /** + * Returns the mtu value previously set by setMtu(). + * + * @return the MTU in bytes. + */ + public int getMtu(); }