@wireapp/avs 10.5.19 → 11.0.17

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
@@ -1496,8 +1496,7 @@ function pc_GetLocalStats(hnd) {
1496
1496
  }
1497
1497
  }
1498
1498
  }
1499
- // Ignore `priority` as browsers may report values exceeding the AVS JSON decoder range.
1500
- report += JSON.stringify(stat, function (key, value) { return key === 'priority' ? undefined : value; });
1499
+ report += JSON.stringify(stat);
1501
1500
  report += ',';
1502
1501
  });
1503
1502
  // remove tailing ',' if any
@@ -174,7 +174,7 @@ export declare class Wcall {
174
174
  setActiveSpeakerHandler(wuser: number, activeh: WcallActiveSpeakerHandler): void;
175
175
  requestVideoStreams(wuser: number, convid: string, mode: number, json: string): number;
176
176
  processNotifications(wuser: number, processing: number): number;
177
- audioRecord(wuser: number, path: string): number;
177
+ audioRecord(wuser: number, convid: string, path: string): number;
178
178
  poll(): void;
179
179
  setupEx(flags: number): number;
180
180
  eventCreate(userid: string, clientid: string, incomingh: WcallIncomingHandler, missedh: WcallMissedHandler, closeh: WcallCloseHandler, arg?: number): number;
package/dist/avs_wcall.js CHANGED
@@ -602,8 +602,8 @@ var Wcall = /** @class */ (function () {
602
602
  Wcall.prototype.processNotifications = function (wuser, processing) {
603
603
  return this.em_module.ccall("wcall_process_notifications", "number", ["number", "number"], [wuser, processing]);
604
604
  };
605
- Wcall.prototype.audioRecord = function (wuser, path) {
606
- return this.em_module.ccall("wcall_audio_record", "number", ["number", "string"], [wuser, path]);
605
+ Wcall.prototype.audioRecord = function (wuser, convid, path) {
606
+ return this.em_module.ccall("wcall_audio_record", "number", ["number", "string", "string"], [wuser, convid, path]);
607
607
  };
608
608
  Wcall.prototype.poll = function () {
609
609
  this.em_module.ccall("wcall_poll", "null", [], []);
package/package.json CHANGED
@@ -27,5 +27,5 @@
27
27
  "prepack": "prettier -w src/avs_wcall.ts && tsc && cp src/*.js src/*.d.ts dist/",
28
28
  "test": "karma start"
29
29
  },
30
- "version": "10.5.19"
30
+ "version": "11.0.17"
31
31
  }