]> sjero.net Git - linphone/blobdiff - java/common/org/linphone/core/LinphoneCallParams.java
Add JNI for used codecs.
[linphone] / java / common / org / linphone / core / LinphoneCallParams.java
index 5bf06733717f369069d9adad40a1f370351d7b3a..2dd497c9c346f4cf511a6d1448181ee24c3b0cdb 100644 (file)
@@ -34,7 +34,7 @@ public interface LinphoneCallParams {
         * @param value 0 to disable limitation
         */
        void setAudioBandwidth(int value);
-       
+
        /**
         * return selected media encryption
         * @return MediaEncryption.None MediaEncryption.SRTP or MediaEncryption.ZRTP
@@ -45,5 +45,16 @@ public interface LinphoneCallParams {
         * @params menc: MediaEncryption.None, MediaEncryption.SRTP or MediaEncryption.ZRTP
         */
        void setMediaEnctyption(MediaEncryption menc);
-       
+
+       /**
+        * Get the currently used audio codec
+        * @return PayloadType or null
+        */
+       PayloadType getUsedAudioCodec();
+
+       /**
+        * Get the currently used video codec
+        * @return PayloadType or null
+        */
+       PayloadType getUsedVideoCodec();
 }