Skip to content
Snippets Groups Projects
Commit 7e2e1f35 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#1722] Fix inline: format

parent 5cf2efbe
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ std::string AudioSrtpSession::getLocalCryptoInfo() {
// std::string srtp_keys = "inline:16/14/NzB4d1BINUAvLEw6UzF3WSJ+PSdFcGdUJShpX1Zj/2^20/1:32";
// format srtp keys as the following
// inline:16/14/NzB4d1BINUAvLEw6UzF3WSJ+PSdFcGdUJShpX1Zj/2^20/1:32
// inline:16/14/NzB4d1BINUAvLEw6UzF3WSJ+PSdFcGdUJShpX1Zj|2^20|1:32
std::string srtp_keys = "inline:";
// srtp_keys.append("16/14/");
srtp_keys += getBase64ConcatenatedKeys();
......
......@@ -74,7 +74,7 @@ void SdesNegotiator::parse (void)
keyParamsPattern = new Pattern (
"(?P<srtpKeyMethod>inline|[A-Za-z0-9_]+)\\:" \
"(?P<srtpKeyInfo>[A-Za-z0-9\x2B\x2F\x3D]+|[\w\x2B\x2F\x3D]+)\\|" \
"(?P<srtpKeyInfo>[A-Za-z0-9\x2B\x2F\x3D]+)\\|" \
"2\\^(?P<lifetime>[0-9]+)\\|" \
"(?P<mkiValue>[0-9]+)\\:" \
"(?P<mkiLength>[0-9]{1,3})\\;?", "g");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment