Skip to content

Commit

Permalink
Merge pull request #281 from SemiConscious/Fix-disabling-of-SDES-in-r…
Browse files Browse the repository at this point in the history
…tpengine-protocol-config

Fix SIP.js SDP error - update utils.ts with correct SDES parameter
  • Loading branch information
psanders authored Jun 21, 2024
2 parents 436f01e + f0f535b commit a4c2139
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mods/rtprelay/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function getRTPEParamsByDirection(dir: Direction) {
case Direction.WEB_TO_WEB:
return {
ICE: "force",
SDES: "off",
SDES: ["off"],
flags: ["trust-address", "replace-origin", "replace-session-connection"]
}
case Direction.WEB_TO_PHONE:
Expand All @@ -74,7 +74,7 @@ export function getRTPEParamsByDirection(dir: Direction) {
"transport-protocol": "UDP/TLS/RTP/SAVPF",
"rtcp-mux": "require",
ICE: "force",
SDES: "off",
SDES: ["off"],
flags: [
"trust-address",
"replace-origin",
Expand Down

0 comments on commit a4c2139

Please sign in to comment.