Use SRTP_AES128_CM_SHA1_80 by default instead of SRTP_AES128_CM_SHA1_32.
A field has been added to "CryptoOptions" to enable SRTP_AES128_CM_SHA1_32 from native apps if really necessary. R=deadbeef@webrtc.org Bug: webrtc:7670 Change-Id: I36b6ab3e302fbf3cda2611ff196757e43a56e704 Reviewed-on: https://webrtc-review.googlesource.com/41420 Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Joachim Bauch <jbauch@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21952}
This commit is contained in:
committed by
Commit Bot
parent
8b0ebb9484
commit
6780c51b23
@ -107,6 +107,7 @@ public class PeerConnectionFactory {
|
||||
public int networkIgnoreMask;
|
||||
public boolean disableEncryption;
|
||||
public boolean disableNetworkMonitor;
|
||||
public boolean enableAes128Sha1_32CryptoCipher;
|
||||
|
||||
@CalledByNative("Options")
|
||||
int getNetworkIgnoreMask() {
|
||||
@ -122,6 +123,11 @@ public class PeerConnectionFactory {
|
||||
boolean getDisableNetworkMonitor() {
|
||||
return disableNetworkMonitor;
|
||||
}
|
||||
|
||||
@CalledByNative("Options")
|
||||
boolean getEnableAes128Sha1_32CryptoCipher() {
|
||||
return enableAes128Sha1_32CryptoCipher;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user