mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 03:28:07 +00:00
srtp: add Javadoc for new API functions
This commit is contained in:
parent
2c2f4cb921
commit
5becaaee29
2 changed files 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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue