@wireapp/avs 9.9.5 → 9.9.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.
package/dist/avs_pc.js CHANGED
@@ -371,40 +371,6 @@ function candidateHandler(pc, cand) {
371
371
  ccallGatheringHandler(pc, sdp.type.toString(), sdp.sdp.toString());
372
372
  return;
373
373
  }
374
- if (pc_env === ENV_FIREFOX) {
375
- if (mindex != null) {
376
- var cmid = pc.cands[mindex];
377
- if (!cmid) {
378
- pc_log(LOG_LEVEL_INFO, "candidateHandler: adding mindex=".concat(mindex));
379
- pc.cands[mindex] = {
380
- mindex: mindex,
381
- hasRelay: false
382
- };
383
- }
384
- }
385
- }
386
- if (cand.type === 'relay') {
387
- var sdp = pc.rtc.localDescription;
388
- if (!sdp) {
389
- return;
390
- }
391
- if (pc_env == ENV_FIREFOX) {
392
- if (mindex != null) {
393
- var rmid = pc.cands[mindex];
394
- if (rmid)
395
- rmid.hasRelay = true;
396
- }
397
- for (var _i = 0, _a = pc.cands; _i < _a.length; _i++) {
398
- var cc = _a[_i];
399
- if (cc && !cc.hasRelay) {
400
- pc_log(LOG_LEVEL_INFO, "candidateHandler: mindex=".concat(cc.mindex, " still missing relay"));
401
- return;
402
- }
403
- }
404
- }
405
- pc_log(LOG_LEVEL_INFO, 'candidateHandler: relay(s) found, finished gathering');
406
- ccallGatheringHandler(pc, sdp.type.toString(), sdp.sdp.toString());
407
- }
408
374
  }
409
375
  function connectionHandler(pc) {
410
376
  var rtc = pc.rtc;
@@ -470,7 +436,6 @@ function pc_New(self, convidPtr, audioIvPtr, videoIvPtr, ivlen) {
470
436
  call_type: CALL_TYPE_NORMAL,
471
437
  conv_type: CONV_TYPE_ONEONONE,
472
438
  muted: false,
473
- cands: [null, null, null],
474
439
  users: {},
475
440
  iva: iva8,
476
441
  ivv: ivv8,
package/package.json CHANGED
@@ -21,5 +21,5 @@
21
21
  "prepack": "prettier -w src/avs_wcall.ts && tsc && cp src/*.js src/*.d.ts dist/",
22
22
  "test": "karma start"
23
23
  },
24
- "version": "9.9.5"
24
+ "version": "9.9.6"
25
25
  }