Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
BC
public
liblinphone
Commits
5becaaee
Commit
5becaaee
authored
13 years ago
by
Pierre-Eric Pelloux-Prayer
Browse files
Options
Download
Patches
Plain Diff
srtp: add Javadoc for new API functions
parent
2c2f4cb9
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
java/common/org/linphone/core/LinphoneCallParams.java
+8
-0
java/common/org/linphone/core/LinphoneCallParams.java
java/common/org/linphone/core/LinphoneCore.java
+14
-0
java/common/org/linphone/core/LinphoneCore.java
with
22 additions
and
0 deletions
java/common/org/linphone/core/LinphoneCallParams.java
+
8
−
0
View file @
5becaaee
...
...
@@ -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
);
}
This diff is collapsed.
Click to expand it.
java/common/org/linphone/core/LinphoneCore.java
+
14
−
0
View file @
5becaaee
...
...
@@ -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
();
}
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets