@webex/plugin-meetings 2.31.4 → 2.33.0
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/constants.js +60 -36
- package/dist/constants.js.map +1 -1
- package/dist/media/properties.js +1 -1
- package/dist/media/properties.js.map +1 -1
- package/dist/meeting/index.js +72 -30
- package/dist/meeting/index.js.map +1 -1
- package/dist/peer-connection-manager/index.js +9 -11
- package/dist/peer-connection-manager/index.js.map +1 -1
- package/dist/peer-connection-manager/util.js +99 -3
- package/dist/peer-connection-manager/util.js.map +1 -1
- package/dist/reachability/index.js +30 -0
- package/dist/reachability/index.js.map +1 -1
- package/dist/roap/turnDiscovery.js +8 -0
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/package.json +18 -17
- package/src/constants.ts +45 -19
- package/src/media/properties.js +1 -1
- package/src/meeting/index.js +28 -5
- package/src/peer-connection-manager/index.js +11 -12
- package/src/peer-connection-manager/util.ts +117 -0
- package/src/reachability/index.js +24 -0
- package/src/roap/turnDiscovery.ts +7 -0
- package/test/unit/spec/meeting/index.js +56 -50
- package/test/unit/spec/peerconnection-manager/utils.js +30 -7
- package/test/unit/spec/peerconnection-manager/utils.test-fixtures.ts +389 -0
- package/test/unit/spec/reachability/index.ts +52 -0
- package/test/unit/spec/roap/turnDiscovery.ts +14 -0
- package/src/peer-connection-manager/util.js +0 -19
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
const PeerConnectionUtils = {};
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Convert C line to IPv4
|
|
6
|
-
* @param {String} sdp
|
|
7
|
-
* @returns {String}
|
|
8
|
-
*/
|
|
9
|
-
PeerConnectionUtils.convertCLineToIpv4 = (sdp) => {
|
|
10
|
-
let replaceSdp = sdp;
|
|
11
|
-
|
|
12
|
-
// TODO: remove this once linus supports Ipv6 c line.currently linus rejects SDP with c line having ipv6 candidates we are
|
|
13
|
-
// mocking ipv6 to ipv4 candidates
|
|
14
|
-
// https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-299232
|
|
15
|
-
replaceSdp = replaceSdp.replace(/c=IN IP6 .*/gi, 'c=IN IP4 0.0.0.0');
|
|
16
|
-
|
|
17
|
-
return replaceSdp;
|
|
18
|
-
};
|
|
19
|
-
export default PeerConnectionUtils;
|