srtp: add Javadoc for new API functions

This commit is contained in:
Pierre-Eric Pelloux-Prayer 2011-10-10 10:58:29 +02:00
parent 2c2f4cb921
commit 5becaaee29
2 changed files with 22 additions and 0 deletions

View file

@ -35,7 +35,15 @@ public interface LinphoneCallParams {
*/
void setAudioBandwidth(int value);
/**
* return selected media encryption
* @return 'none', 'srtp' or 'zrtp'
*/
String getMediaEncryption();
/**
* set media encryption (rtp) to use
* @params menc: 'none', 'srtp' or 'zrtp'
*/
void setMediaEnctyption(String menc);
}

View file

@ -622,9 +622,23 @@ public interface LinphoneCore {
LinphoneCall findCallFromUri(String uri);
/**
* set media encryption (rtp) to use
* @params menc: 'none', 'srtp' or 'zrtp'
*/
void setMediaEncryption(String menc);
/**
* return selected media encryption
* @return 'none', 'srtp' or 'zrtp'
*/
String getMediaEncryption();
/**
* Set media encryption required for outgoing calls
*/
void setMediaEncryptionMandatory(boolean yesno);
/**
* @return if media encryption is required for ougtoing calls
*/
boolean isMediaEncryptionMandatory();
}