surflion-service 1.3.4 → 1.3.6

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/surflion.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "surflion-service",
3
- "version": "1.3.4",
3
+ "version": "1.3.6",
4
4
  "description": "",
5
5
  "main": "surflion.js",
6
6
  "scripts": {
package/surflion.js CHANGED
@@ -1390,6 +1390,8 @@ var SurfLion = {
1390
1390
  window.localStorage.setItem("localStorageSurflionCall", '0');
1391
1391
  const events = new Event('localStorageSurflionCalling');
1392
1392
  window.dispatchEvent(events);
1393
+
1394
+ window.dispatchEvent(new Event('callingStart'))
1393
1395
  },1000)
1394
1396
  },
1395
1397
  'ended': function (e) {
@@ -1482,7 +1484,7 @@ var SurfLion = {
1482
1484
  register: true,
1483
1485
  session_timers: false,
1484
1486
  iceServers: [],
1485
- contact_uri: sip_uri_ + ';transport=ws'
1487
+ contact_uri: sip_uri_ + ';transport=TCP'
1486
1488
  };
1487
1489
  console.log(';transport=ws')
1488
1490