Commit 5becaaee authored by Pierre-Eric Pelloux-Prayer's avatar Pierre-Eric Pelloux-Prayer
Browse files

srtp: add Javadoc for new API functions

parent 2c2f4cb9
No related merge requests found
Showing with 22 additions and 0 deletions
......@@ -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);
}
......@@ -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();
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment