Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the default SRTP factory class. #300

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,23 @@ jmt {
# This is useful to avoid unnecessary computation for audio silence.
max-consecutive-packets-discarded-early=-1

// The DTLS-SRTP protection profiles that are supported, in preference order.
# The DTLS-SRTP protection profiles that are supported, in preference order.
protection-profiles=[
"SRTP_AEAD_AES_128_GCM",
"SRTP_AES128_CM_HMAC_SHA1_80",
"SRTP_AES128_CM_HMAC_SHA1_32"
]

# The engine (cryptographic provider) to use for SRTP cryptography.
# Valid values are "OpenSSL", "SunJCE", "SunPKCS11", "BouncyCastle",
# or null to let the implementation pick the provider at runtime.
# "OpenSSL" is currently only supported on Linux/x86_64.
# Custom class values are also possible - see Aes.setFactoryClassName
# in jitsi-srtp for more details.
# Generally the best performance will be obtained by "OpenSSL" on Linux/x86_64,
# and "SunJCE" otherwise, but see the logs for the measured performance of
# each provider.
factory-class="OpenSSL"
}
audio {
red {
Expand Down