@routr/rtprelay 2.11.3 → 2.11.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/utils.d.ts CHANGED
@@ -5,7 +5,7 @@ export declare function getDirectionFromRequest(request: MessageRequest): Direct
5
5
  export declare function getDirection(srcTransport: CT.Transport, dstTransport: CT.Transport): Direction;
6
6
  export declare function getRTPEParamsByDirection(dir: Direction): {
7
7
  ICE: string;
8
- SDES: string;
8
+ SDES: string[];
9
9
  flags: string[];
10
10
  "transport-protocol"?: undefined;
11
11
  "rtcp-mux"?: undefined;
@@ -19,7 +19,7 @@ export declare function getRTPEParamsByDirection(dir: Direction): {
19
19
  "transport-protocol": string;
20
20
  "rtcp-mux": string;
21
21
  ICE: string;
22
- SDES: string;
22
+ SDES: string[];
23
23
  flags: string[];
24
24
  };
25
25
  export declare const callInvolvesWebRTC: (direction: Direction) => boolean;
package/dist/utils.js CHANGED
@@ -35,7 +35,7 @@ function getRTPEParamsByDirection(dir) {
35
35
  case types_1.Direction.WEB_TO_WEB:
36
36
  return {
37
37
  ICE: "force",
38
- SDES: "off",
38
+ SDES: ["off"],
39
39
  flags: ["trust-address", "replace-origin", "replace-session-connection"]
40
40
  };
41
41
  case types_1.Direction.WEB_TO_PHONE:
@@ -50,7 +50,7 @@ function getRTPEParamsByDirection(dir) {
50
50
  "transport-protocol": "UDP/TLS/RTP/SAVPF",
51
51
  "rtcp-mux": "require",
52
52
  ICE: "force",
53
- SDES: "off",
53
+ SDES: ["off"],
54
54
  flags: [
55
55
  "trust-address",
56
56
  "replace-origin",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@routr/rtprelay",
3
- "version": "2.11.3",
3
+ "version": "2.11.5",
4
4
  "description": "Media Relay for Routr using RTPengine",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/routr#readme",
@@ -29,8 +29,8 @@
29
29
  "@opentelemetry/sdk-trace-base": "^1.0.4",
30
30
  "@opentelemetry/sdk-trace-node": "^1.0.4",
31
31
  "@opentelemetry/semantic-conventions": "^1.0.4",
32
- "@routr/common": "^2.11.3",
33
- "@routr/processor": "^2.11.3",
32
+ "@routr/common": "^2.11.5",
33
+ "@routr/processor": "^2.11.5",
34
34
  "rtpengine-client": "^0.4.11"
35
35
  },
36
36
  "files": [
@@ -46,5 +46,5 @@
46
46
  "bugs": {
47
47
  "url": "https://github.com/fonoster/routr/issues"
48
48
  },
49
- "gitHead": "806523c0ab3833c26a6343716ba34af4512aca4f"
49
+ "gitHead": "5183aed7ea8b3c0a2a963224ef6068a7922a9e0b"
50
50
  }