]> sjero.net Git - linphone/blobdiff - java/common/org/linphone/core/LinphoneCore.java
improve echo calibration
[linphone] / java / common / org / linphone / core / LinphoneCore.java
index 11a7c275f9f569c8c1f7b7068f69c436dd9fb144..3a6cf2a760e1d6c304161b638dc0d3ed8a8cd88c 100644 (file)
@@ -396,6 +396,10 @@ public interface LinphoneCore {
         * @param aCall to be terminated
         */
        public void terminateCall(LinphoneCall aCall);
+       /**
+        * Declines an incoming call, providing a reason for declining it.
+        */
+       public void declineCall(LinphoneCall aCall, Reason reason);
        /**
         * Returns The LinphoneCall the current call if one is in call
         *
@@ -744,6 +748,12 @@ public interface LinphoneCore {
        **/
        void startEchoCalibration(Object data) throws LinphoneCoreException;
 
+       /**
+        * Returns true if echo calibration is recommended.
+        * If the device has a builtin echo canceller or calibration value is already known, it will return false.
+        */
+       boolean needsEchoCalibration();
+       
        void enableIpv6(boolean enable);
        /**
         * @deprecated