@wireapp/avs 0.0.4388 → 0.0.4411

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.
@@ -174,17 +174,13 @@ 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;
181
181
  eventStart(wuser: number): void;
182
182
  eventProcess(wuser: number, buf: string, len: number, curr_time: number, msg_time: number, convid: string, userid: string, clientid: string, conv_type: number): number;
183
183
  eventEnd(wuser: number): void;
184
- sipInit(wuser: number, conf_path: string): number;
185
- sipClose(wuser: number): number;
186
- sipCreate(wuser: number, aor: string): number;
187
- sipDestroy(wuser: number, aor: string): number;
188
184
  setMode(mode: number): void;
189
185
  getMode(): number;
190
186
  setConfigVersion(sft_version: number, turn_version: number): void;
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", [], []);
@@ -660,18 +660,6 @@ var Wcall = /** @class */ (function () {
660
660
  Wcall.prototype.eventEnd = function (wuser) {
661
661
  this.em_module.ccall("wcall_event_end", "null", ["number"], [wuser]);
662
662
  };
663
- Wcall.prototype.sipInit = function (wuser, conf_path) {
664
- return this.em_module.ccall("wcall_sip_init", "number", ["number", "string"], [wuser, conf_path]);
665
- };
666
- Wcall.prototype.sipClose = function (wuser) {
667
- return this.em_module.ccall("wcall_sip_close", "number", ["number"], [wuser]);
668
- };
669
- Wcall.prototype.sipCreate = function (wuser, aor) {
670
- return this.em_module.ccall("wcall_sip_create", "number", ["number", "string"], [wuser, aor]);
671
- };
672
- Wcall.prototype.sipDestroy = function (wuser, aor) {
673
- return this.em_module.ccall("wcall_sip_destroy", "number", ["number", "string"], [wuser, aor]);
674
- };
675
663
  Wcall.prototype.setMode = function (mode) {
676
664
  this.em_module.ccall("wcall_set_mode", "null", ["number"], [mode]);
677
665
  };
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": "0.0.4388"
30
+ "version": "0.0.4411"
31
31
  }