Sdes testing (#67)

* sdes testing

* log rtpengine answer

* test with sdes off (again)
This commit is contained in:
Dave Horton authored and GitHub committed 2022-12-01 11:41:30 -05:00
1 parent 1f1a4d2330
commit b2d48c8954
3 files changed
+8 -6

No files matched your search

+2 -2
View File
@@ -41,7 +41,7 @@ function makeRtpEngineOpts(req, srcIsUsingSrtp, dstIsUsingSrtp, teams = false) {
};
}
const SdpDoesNotWantDTLS = (sdp) => {
const SdpWantsSDES = (sdp) => {
return /m=audio.*\s+RTP\/SAVP/.test(sdp);
};
const SdpWantsSrtp = (sdp) => {
@@ -181,7 +181,7 @@ const parseConnectionIp = (sdp) => {
module.exports = {
isWSS,
SdpWantsSrtp,
SdpDoesNotWantDTLS,
SdpWantsSDES,
getAppserver,
makeRtpEngineOpts,
makeAccountCallCountKey,