mirror of
https://github.com/jambonz/sbc-inbound.git
synced 2026-11-10 11:51:44 +00:00
Sdes testing (#67)
* sdes testing * log rtpengine answer * test with sdes off (again)
This commit is contained in:
1 parent
1f1a4d2330
commit
b2d48c8954
3 files changed
+8
-6
No files matched your search
+2
-2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user