If a crypto line in the SDP offer contains session-params, the parser fails with the following error, causing the connection setup to fail entirely:
"error":"cannot parse srtp profile "2 AES_CM_128_HMAC_SHA1_80 inline:j/azhfJjX2cv+xwOOH8W7aks30PDRN7MzyRML7UX|2^48 UNENCRYPTED_SRTCP": invalid lifetime parameter "2^48 UNENCRYPTED_SRTCP": invalid exponent in 2^48 UNENCRYPTED_SRTCP: strconv.ParseUint: parsing "48 UNENCRYPTED_SRTCP": invalid syntax"}
Cause
The parser incorrectly treats the session parameter (e.g., "UNENCRYPTED_SRTCP") as part of the key lifetime, which causes strconv.ParseUint to fail.
If a crypto line in the SDP offer contains session-params, the parser fails with the following error, causing the connection setup to fail entirely:
Cause
The parser incorrectly treats the session parameter (e.g., "UNENCRYPTED_SRTCP") as part of the key lifetime, which causes strconv.ParseUint to fail.