mediasoup

/ home / Documentation / v3 / mediasoup / SRTP Parameters

SRTP Parameters

Actually these SRTP parameters just apply to PlainTransport and PipeTransport which has optional SRTP support.


Dictionaries

SrtpParameters

Field Type Description Required Default
cryptoSuite SrtpCryptoSuite Encryption and authentication transforms to be used. Yes  
keyBase64 String SRTP keying material (master key and salt) in Base64. Yes  

Enums

SrtpCryptoSuite

Value Description
“AEAD_AES_256_GCM” It requires SRTP keying material of 44 bytes (60 bytes in Base64).
“AEAD_AES_128_GCM” It requires SRTP keying material of 28 bytes (40 bytes in Base64).
“AES_CM_128_HMAC_SHA1_80” It requires SRTP keying material of 30 bytes (40 bytes in Base64).
“AES_CM_128_HMAC_SHA1_32” It requires SRTP keying material of 30 bytes (40 bytes in Base64).