RTCSrtpKeyParam Dictionary object
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Dictionary for RTCSrtpKeyParam, a member of the RTCSrtpParameters
object.
Syntax
dictionary RTCSrtpKeyParam {
DOMString keyMethod;
DOMString keySalt;
DOMString lifetime;
unsigned short mkiValue;
unsigned short mkiLength;
};
Standards information
Dictionary
Members | Type | Definition |
---|---|---|
keyMethod | DOMString | The key method to be utilized, in the syntax defined for 'srtp-key-method' in [RFC4568] Section 9.2. |
keySalt | DOMString | The key and salt to be utilized, in the syntax defined for 'key-salt' in [RFC4568] Section 9.2. |
lifetime | DOMString | The key lifetime to be utilized, in the syntax defined for 'lifetime' in [RFC4568] Section 9.2. |
mkiLength | unsigned short | The master key index length in decimal digits, in the syntax defined for 'mki-length' in [RFC4568] Section 9.2. |
mkiValue | unsigned short | The master key index to be utilized. |
Remarks
Note
Edge Interop Note: Limitations of the Microsoft Edge SRTP/SDES implementation are described in [MS-SDPEXT] Extion 3.1.5.1. In Microsoft Edge, the value of 'lifetime' is ignored and is set internally to 2^31. 'mki-value' is defined in [RFC4568] Section 9.2 as a string containing up to 128 decimal digits. However, the only supported value of 'mkiLength' is 1, so that Microsoft Edge only supports values of 'mki-value' from 0 to 255.