MCPcopy Create free account
hub / github.com/SIPp/sipp / selectEncryptionKey

Method selectEncryptionKey

src/jlsrtp.cpp:1645–1664  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1643}
1644
1645int JLSRTP::selectEncryptionKey()
1646{
1647 int rc = 0;
1648
1649 assert(!_session_enc_key.empty());
1650 if (!_session_enc_key.empty())
1651 {
1652 rc = setAESSessionEncryptionKey();
1653 if (rc == 0)
1654 {
1655 return 0;
1656 }
1657
1658 return -2;
1659 }
1660 else
1661 {
1662 return -1;
1663 }
1664}
1665
1666int JLSRTP::selectDecryptionKey()
1667{

Callers 1

executeActionMethod · 0.80

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected