@wireapp/avs 9.0.11 → 9.0.13
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_core.js +1 -1
- package/dist/avs_wcall.js +33 -33
- package/package.json +1 -1
package/dist/avs_wcall.js
CHANGED
|
@@ -148,45 +148,45 @@ var Wcall = /** @class */ (function () {
|
|
|
148
148
|
: _this.em_module.UTF8ToString(clientid_self), targets == 0 ? null : _this.em_module.UTF8ToString(targets), unused == 0 ? null : _this.em_module.UTF8ToString(unused), data == 0 ? null : _this.em_module.UTF8ToString(data), len, trans, my_clients_only, arg);
|
|
149
149
|
}
|
|
150
150
|
return null;
|
|
151
|
-
}, "
|
|
151
|
+
}, "iiiiiiiiiiii");
|
|
152
152
|
var fn_sfth = this.em_module.addFunction(function (ctx, url, data, len, arg) {
|
|
153
153
|
if (sfth) {
|
|
154
154
|
return sfth(ctx, url == 0 ? null : _this.em_module.UTF8ToString(url), data == 0 ? null : _this.em_module.UTF8ToString(data), len, arg);
|
|
155
155
|
}
|
|
156
156
|
return null;
|
|
157
|
-
}, "
|
|
157
|
+
}, "iiiiii");
|
|
158
158
|
var fn_incomingh = this.em_module.addFunction(function (convid, msg_time, userid, clientid, video_call, should_ring, conv_type, arg) {
|
|
159
159
|
if (incomingh) {
|
|
160
160
|
incomingh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), msg_time, userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), video_call, should_ring, conv_type, arg);
|
|
161
161
|
}
|
|
162
|
-
}, "
|
|
162
|
+
}, "viiiiiiii");
|
|
163
163
|
var fn_missedh = this.em_module.addFunction(function (convid, msg_time, userid, clientid, video_call, arg) {
|
|
164
164
|
if (missedh) {
|
|
165
165
|
missedh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), msg_time, userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), video_call, arg);
|
|
166
166
|
}
|
|
167
|
-
}, "
|
|
167
|
+
}, "viiiiii");
|
|
168
168
|
var fn_answerh = this.em_module.addFunction(function (convid, arg) {
|
|
169
169
|
if (answerh) {
|
|
170
170
|
answerh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), arg);
|
|
171
171
|
}
|
|
172
|
-
}, "
|
|
172
|
+
}, "vii");
|
|
173
173
|
var fn_estabh = this.em_module.addFunction(function (convid, userid, clientid, arg) {
|
|
174
174
|
if (estabh) {
|
|
175
175
|
estabh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), arg);
|
|
176
176
|
}
|
|
177
|
-
}, "
|
|
177
|
+
}, "viiii");
|
|
178
178
|
var fn_closeh = this.em_module.addFunction(function (reason, convid, msg_time, userid, clientid, arg) {
|
|
179
179
|
if (closeh) {
|
|
180
180
|
closeh(reason, convid == 0 ? null : _this.em_module.UTF8ToString(convid), msg_time, userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), arg);
|
|
181
181
|
}
|
|
182
|
-
}, "
|
|
182
|
+
}, "viiiiii");
|
|
183
183
|
var fn_metricsh = this.em_module.addFunction(function (convid, metrics_json, arg) {
|
|
184
184
|
if (metricsh) {
|
|
185
185
|
metricsh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), metrics_json == 0
|
|
186
186
|
? null
|
|
187
187
|
: _this.em_module.UTF8ToString(metrics_json), arg);
|
|
188
188
|
}
|
|
189
|
-
}, "
|
|
189
|
+
}, "viii");
|
|
190
190
|
var fn_cfg_reqh = this.em_module.addFunction(function (wuser, arg) {
|
|
191
191
|
if (cfg_reqh) {
|
|
192
192
|
return cfg_reqh(wuser, arg);
|
|
@@ -197,12 +197,12 @@ var Wcall = /** @class */ (function () {
|
|
|
197
197
|
if (acbrh) {
|
|
198
198
|
acbrh(userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), enabled, arg);
|
|
199
199
|
}
|
|
200
|
-
}, "
|
|
200
|
+
}, "viiii");
|
|
201
201
|
var fn_vstateh = this.em_module.addFunction(function (convid, userid, clientid, state, arg) {
|
|
202
202
|
if (vstateh) {
|
|
203
203
|
vstateh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), state, arg);
|
|
204
204
|
}
|
|
205
|
-
}, "
|
|
205
|
+
}, "viiiii");
|
|
206
206
|
return this.em_module.ccall("wcall_create", "number", [
|
|
207
207
|
"string",
|
|
208
208
|
"string",
|
|
@@ -252,45 +252,45 @@ var Wcall = /** @class */ (function () {
|
|
|
252
252
|
: _this.em_module.UTF8ToString(clientid_self), targets == 0 ? null : _this.em_module.UTF8ToString(targets), unused == 0 ? null : _this.em_module.UTF8ToString(unused), data == 0 ? null : _this.em_module.UTF8ToString(data), len, trans, my_clients_only, arg);
|
|
253
253
|
}
|
|
254
254
|
return null;
|
|
255
|
-
}, "
|
|
255
|
+
}, "iiiiiiiiiiii");
|
|
256
256
|
var fn_sfth = this.em_module.addFunction(function (ctx, url, data, len, arg) {
|
|
257
257
|
if (sfth) {
|
|
258
258
|
return sfth(ctx, url == 0 ? null : _this.em_module.UTF8ToString(url), data == 0 ? null : _this.em_module.UTF8ToString(data), len, arg);
|
|
259
259
|
}
|
|
260
260
|
return null;
|
|
261
|
-
}, "
|
|
261
|
+
}, "iiiiii");
|
|
262
262
|
var fn_incomingh = this.em_module.addFunction(function (convid, msg_time, userid, clientid, video_call, should_ring, conv_type, arg) {
|
|
263
263
|
if (incomingh) {
|
|
264
264
|
incomingh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), msg_time, userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), video_call, should_ring, conv_type, arg);
|
|
265
265
|
}
|
|
266
|
-
}, "
|
|
266
|
+
}, "viiiiiiii");
|
|
267
267
|
var fn_missedh = this.em_module.addFunction(function (convid, msg_time, userid, clientid, video_call, arg) {
|
|
268
268
|
if (missedh) {
|
|
269
269
|
missedh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), msg_time, userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), video_call, arg);
|
|
270
270
|
}
|
|
271
|
-
}, "
|
|
271
|
+
}, "viiiiii");
|
|
272
272
|
var fn_answerh = this.em_module.addFunction(function (convid, arg) {
|
|
273
273
|
if (answerh) {
|
|
274
274
|
answerh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), arg);
|
|
275
275
|
}
|
|
276
|
-
}, "
|
|
276
|
+
}, "vii");
|
|
277
277
|
var fn_estabh = this.em_module.addFunction(function (convid, userid, clientid, arg) {
|
|
278
278
|
if (estabh) {
|
|
279
279
|
estabh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), arg);
|
|
280
280
|
}
|
|
281
|
-
}, "
|
|
281
|
+
}, "viiii");
|
|
282
282
|
var fn_closeh = this.em_module.addFunction(function (reason, convid, msg_time, userid, clientid, arg) {
|
|
283
283
|
if (closeh) {
|
|
284
284
|
closeh(reason, convid == 0 ? null : _this.em_module.UTF8ToString(convid), msg_time, userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), arg);
|
|
285
285
|
}
|
|
286
|
-
}, "
|
|
286
|
+
}, "viiiiii");
|
|
287
287
|
var fn_metricsh = this.em_module.addFunction(function (convid, metrics_json, arg) {
|
|
288
288
|
if (metricsh) {
|
|
289
289
|
metricsh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), metrics_json == 0
|
|
290
290
|
? null
|
|
291
291
|
: _this.em_module.UTF8ToString(metrics_json), arg);
|
|
292
292
|
}
|
|
293
|
-
}, "
|
|
293
|
+
}, "viii");
|
|
294
294
|
var fn_cfg_reqh = this.em_module.addFunction(function (wuser, arg) {
|
|
295
295
|
if (cfg_reqh) {
|
|
296
296
|
return cfg_reqh(wuser, arg);
|
|
@@ -301,12 +301,12 @@ var Wcall = /** @class */ (function () {
|
|
|
301
301
|
if (acbrh) {
|
|
302
302
|
acbrh(userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), enabled, arg);
|
|
303
303
|
}
|
|
304
|
-
}, "
|
|
304
|
+
}, "viiii");
|
|
305
305
|
var fn_vstateh = this.em_module.addFunction(function (convid, userid, clientid, state, arg) {
|
|
306
306
|
if (vstateh) {
|
|
307
307
|
vstateh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), state, arg);
|
|
308
308
|
}
|
|
309
|
-
}, "
|
|
309
|
+
}, "viiiii");
|
|
310
310
|
return this.em_module.ccall("wcall_create_ex", "number", [
|
|
311
311
|
"string",
|
|
312
312
|
"string",
|
|
@@ -413,7 +413,7 @@ var Wcall = /** @class */ (function () {
|
|
|
413
413
|
if (mestabh) {
|
|
414
414
|
mestabh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), peer, userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), arg);
|
|
415
415
|
}
|
|
416
|
-
}, "
|
|
416
|
+
}, "viiiii");
|
|
417
417
|
this.em_module.ccall("wcall_set_media_estab_handler", "null", ["number", "number"], [wuser, fn_mestabh]);
|
|
418
418
|
};
|
|
419
419
|
Wcall.prototype.setMediaStoppedHandler = function (wuser, mstoph) {
|
|
@@ -422,7 +422,7 @@ var Wcall = /** @class */ (function () {
|
|
|
422
422
|
if (mstoph) {
|
|
423
423
|
mstoph(convid == 0 ? null : _this.em_module.UTF8ToString(convid), arg);
|
|
424
424
|
}
|
|
425
|
-
}, "
|
|
425
|
+
}, "vii");
|
|
426
426
|
this.em_module.ccall("wcall_set_media_stopped_handler", "null", ["number", "number"], [wuser, fn_mstoph]);
|
|
427
427
|
};
|
|
428
428
|
Wcall.prototype.setDataChanEstabHandler = function (wuser, dcestabh) {
|
|
@@ -431,7 +431,7 @@ var Wcall = /** @class */ (function () {
|
|
|
431
431
|
if (dcestabh) {
|
|
432
432
|
dcestabh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), arg);
|
|
433
433
|
}
|
|
434
|
-
}, "
|
|
434
|
+
}, "viiii");
|
|
435
435
|
this.em_module.ccall("wcall_set_data_chan_estab_handler", "null", ["number", "number"], [wuser, fn_dcestabh]);
|
|
436
436
|
};
|
|
437
437
|
Wcall.prototype.setVideoSendState = function (wuser, convid, state) {
|
|
@@ -444,7 +444,7 @@ var Wcall = /** @class */ (function () {
|
|
|
444
444
|
if (size_h) {
|
|
445
445
|
size_h(w, h, userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), arg);
|
|
446
446
|
}
|
|
447
|
-
}, "
|
|
447
|
+
}, "viiiii");
|
|
448
448
|
this.em_module.ccall("wcall_set_video_handlers", "null", ["wcall_render_frame_h*", "number", "number"], [render_frame_h, fn_size_h, arg]);
|
|
449
449
|
};
|
|
450
450
|
Wcall.prototype.networkChanged = function (wuser) {
|
|
@@ -457,7 +457,7 @@ var Wcall = /** @class */ (function () {
|
|
|
457
457
|
if (chgh) {
|
|
458
458
|
chgh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), arg);
|
|
459
459
|
}
|
|
460
|
-
}, "
|
|
460
|
+
}, "vii");
|
|
461
461
|
this.em_module.ccall("wcall_set_group_changed_handler", "null", ["number", "number", "number"], [wuser, fn_chgh, arg]);
|
|
462
462
|
};
|
|
463
463
|
Wcall.prototype.setParticipantChangedHandler = function (wuser, chgh, arg) {
|
|
@@ -467,7 +467,7 @@ var Wcall = /** @class */ (function () {
|
|
|
467
467
|
if (chgh) {
|
|
468
468
|
chgh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), mjson == 0 ? null : _this.em_module.UTF8ToString(mjson), arg);
|
|
469
469
|
}
|
|
470
|
-
}, "
|
|
470
|
+
}, "viii");
|
|
471
471
|
this.em_module.ccall("wcall_set_participant_changed_handler", "null", ["number", "number", "number"], [wuser, fn_chgh, arg]);
|
|
472
472
|
};
|
|
473
473
|
Wcall.prototype.setNetworkQualityHandler = function (wuser, netqh, interval, arg) {
|
|
@@ -477,7 +477,7 @@ var Wcall = /** @class */ (function () {
|
|
|
477
477
|
if (netqh) {
|
|
478
478
|
netqh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), userid == 0 ? null : _this.em_module.UTF8ToString(userid), clientid == 0 ? null : _this.em_module.UTF8ToString(clientid), quality, rtt, uploss, downloss, arg);
|
|
479
479
|
}
|
|
480
|
-
}, "
|
|
480
|
+
}, "viiiiiiii");
|
|
481
481
|
return this.em_module.ccall("wcall_set_network_quality_handler", "number", ["number", "number", "number", "number"], [wuser, fn_netqh, interval, arg]);
|
|
482
482
|
};
|
|
483
483
|
Wcall.prototype.setLogHandler = function (logh, arg) {
|
|
@@ -487,7 +487,7 @@ var Wcall = /** @class */ (function () {
|
|
|
487
487
|
if (logh) {
|
|
488
488
|
logh(level, msg == 0 ? null : _this.em_module.UTF8ToString(msg), arg);
|
|
489
489
|
}
|
|
490
|
-
}, "
|
|
490
|
+
}, "viii");
|
|
491
491
|
logFn = logh;
|
|
492
492
|
this.em_module.ccall("wcall_set_log_handler", "null", ["number", "number"], [fn_logh, arg]);
|
|
493
493
|
};
|
|
@@ -500,7 +500,7 @@ var Wcall = /** @class */ (function () {
|
|
|
500
500
|
if (req_new_epochh) {
|
|
501
501
|
req_new_epochh(wuser, convid == 0 ? null : _this.em_module.UTF8ToString(convid), arg);
|
|
502
502
|
}
|
|
503
|
-
}, "
|
|
503
|
+
}, "viii");
|
|
504
504
|
this.em_module.ccall("wcall_set_req_new_epoch_handler", "null", ["number", "number"], [wuser, fn_req_new_epochh]);
|
|
505
505
|
};
|
|
506
506
|
Wcall.prototype.getMute = function (wuser) {
|
|
@@ -524,7 +524,7 @@ var Wcall = /** @class */ (function () {
|
|
|
524
524
|
if (stateh) {
|
|
525
525
|
stateh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), state, arg);
|
|
526
526
|
}
|
|
527
|
-
}, "
|
|
527
|
+
}, "viii");
|
|
528
528
|
this.em_module.ccall("wcall_set_state_handler", "null", ["number", "number"], [wuser, fn_stateh]);
|
|
529
529
|
};
|
|
530
530
|
Wcall.prototype.getState = function (wuser, convid) {
|
|
@@ -537,7 +537,7 @@ var Wcall = /** @class */ (function () {
|
|
|
537
537
|
if (stateh) {
|
|
538
538
|
stateh(convid == 0 ? null : _this.em_module.UTF8ToString(convid), state, arg);
|
|
539
539
|
}
|
|
540
|
-
}, "
|
|
540
|
+
}, "viii");
|
|
541
541
|
this.em_module.ccall("wcall_iterate_state", "null", ["number", "number", "number"], [wuser, fn_stateh, arg]);
|
|
542
542
|
};
|
|
543
543
|
Wcall.prototype.propsyncRequest = function (wuser, convid) {
|
|
@@ -555,7 +555,7 @@ var Wcall = /** @class */ (function () {
|
|
|
555
555
|
if (reqch) {
|
|
556
556
|
reqch(wuser, convid == 0 ? null : _this.em_module.UTF8ToString(convid), arg);
|
|
557
557
|
}
|
|
558
|
-
}, "
|
|
558
|
+
}, "viii");
|
|
559
559
|
this.em_module.ccall("wcall_set_req_clients_handler", "null", ["number", "number"], [wuser, fn_reqch]);
|
|
560
560
|
};
|
|
561
561
|
Wcall.prototype.setClientsForConv = function (wuser, convid, json) {
|
|
@@ -567,7 +567,7 @@ var Wcall = /** @class */ (function () {
|
|
|
567
567
|
if (activeh) {
|
|
568
568
|
activeh(wuser, convid == 0 ? null : _this.em_module.UTF8ToString(convid), json_levels == 0 ? null : _this.em_module.UTF8ToString(json_levels), arg);
|
|
569
569
|
}
|
|
570
|
-
}, "
|
|
570
|
+
}, "viiii");
|
|
571
571
|
this.em_module.ccall("wcall_set_active_speaker_handler", "null", ["number", "number"], [wuser, fn_activeh]);
|
|
572
572
|
};
|
|
573
573
|
Wcall.prototype.requestVideoStreams = function (wuser, convid, mode, json) {
|
package/package.json
CHANGED