Package org.webrtc

Class CryptoOptions.Srtp

java.lang.Object
org.webrtc.CryptoOptions.Srtp
Enclosing class:
CryptoOptions

public final class CryptoOptions.Srtp extends Object
SRTP Related Peer Connection Options.
  • Field Details

    • enableGcmCryptoSuites

      private final boolean enableGcmCryptoSuites
      Enable GCM crypto suites from RFC 7714 for SRTP. GCM will only be used if both sides enable it
    • enableAes128Sha1_32CryptoCipher

      private final boolean enableAes128Sha1_32CryptoCipher
      If set to true, the (potentially insecure) crypto cipher kSrtpAes128CmSha1_32 will be included in the list of supported ciphers during negotiation. It will only be used if both peers support it and no other ciphers get preferred.
    • enableEncryptedRtpHeaderExtensions

      private final boolean enableEncryptedRtpHeaderExtensions
      If set to true, encrypted RTP header extensions as defined in RFC 6904 will be negotiated. They will only be used if both peers support them.
  • Constructor Details

    • Srtp

      private Srtp(boolean enableGcmCryptoSuites, boolean enableAes128Sha1_32CryptoCipher, boolean enableEncryptedRtpHeaderExtensions)
  • Method Details

    • getEnableGcmCryptoSuites

      public boolean getEnableGcmCryptoSuites()
    • getEnableAes128Sha1_32CryptoCipher

      public boolean getEnableAes128Sha1_32CryptoCipher()
    • getEnableEncryptedRtpHeaderExtensions

      public boolean getEnableEncryptedRtpHeaderExtensions()