]> sjero.net Git - linphone/blobdiff - java/common/org/linphone/core/LinphoneCore.java
Added audio and video port API to JNI
[linphone] / java / common / org / linphone / core / LinphoneCore.java
index 732940fdd4c04fce583fb3ac95d3508f91506815..50b8609f0c2fb75bf7317d6a996fe42c59014f5d 100644 (file)
@@ -809,4 +809,24 @@ public interface LinphoneCore {
         * return a linphone friend (if exists) that matches the sip address
         */
        LinphoneFriend findFriendByAddress(String sipUri);
+       
+       /**
+        * Sets the UDP port used for audio streaming.
+       **/
+       void setAudioPort(int port);
+       
+       /**
+        * Sets the UDP port range from which to randomly select the port used for audio streaming.
+        */
+       void setAudioPortRange(int minPort, int maxPort);
+       
+       /**
+        * Sets the UDP port used for video streaming.
+       **/
+       void setVideoPort(int port);
+       
+       /**
+        * Sets the UDP port range from which to randomly select the port used for video streaming.
+        */
+       void setVideoPortRange(int minPort, int maxPort);
 }