@vonage/client-sdk 0.1.3-alpha.23 → 0.1.3
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.
|
@@ -95,15 +95,15 @@
|
|
|
95
95
|
}
|
|
96
96
|
function CoreClientConfigRegionJS(name, ordinal, coreRegion) {
|
|
97
97
|
Enum.call(this, name, ordinal);
|
|
98
|
-
this.
|
|
98
|
+
this.g2c_1 = coreRegion;
|
|
99
99
|
}
|
|
100
|
-
CoreClientConfigRegionJS.prototype.
|
|
101
|
-
return this.
|
|
100
|
+
CoreClientConfigRegionJS.prototype.h2c = function () {
|
|
101
|
+
return this.g2c_1;
|
|
102
102
|
};
|
|
103
103
|
CoreClientConfigRegionJS.$metadata$ = classMeta('CoreClientConfigRegionJS', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
104
104
|
Object.defineProperty(CoreClientConfigRegionJS.prototype, 'coreRegion', {
|
|
105
105
|
configurable: true,
|
|
106
|
-
get: CoreClientConfigRegionJS.prototype.
|
|
106
|
+
get: CoreClientConfigRegionJS.prototype.h2c
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(CoreClientConfigRegionJS.prototype, 'name', {
|
|
109
109
|
configurable: true,
|
|
@@ -114,56 +114,56 @@
|
|
|
114
114
|
get: CoreClientConfigRegionJS.prototype.oe
|
|
115
115
|
});
|
|
116
116
|
function CoreClientConfigJS(region) {
|
|
117
|
-
this.
|
|
118
|
-
this.
|
|
119
|
-
this.
|
|
120
|
-
this.
|
|
121
|
-
this.
|
|
117
|
+
this.i2c_1 = Companion_getInstance().t1y(region.g2c_1);
|
|
118
|
+
this.j2c_1 = this.i2c_1.u1y_1;
|
|
119
|
+
this.k2c_1 = this.i2c_1.v1y_1;
|
|
120
|
+
this.l2c_1 = this.i2c_1.w1y_1;
|
|
121
|
+
this.m2c_1 = this.i2c_1.x1y_1;
|
|
122
122
|
}
|
|
123
|
-
CoreClientConfigJS.prototype.
|
|
124
|
-
this.
|
|
123
|
+
CoreClientConfigJS.prototype.n2c = function (_set____db54di) {
|
|
124
|
+
this.j2c_1 = _set____db54di;
|
|
125
125
|
};
|
|
126
|
-
CoreClientConfigJS.prototype.
|
|
127
|
-
return this.
|
|
126
|
+
CoreClientConfigJS.prototype.o2c = function () {
|
|
127
|
+
return this.j2c_1;
|
|
128
128
|
};
|
|
129
|
-
CoreClientConfigJS.prototype.
|
|
130
|
-
this.
|
|
129
|
+
CoreClientConfigJS.prototype.p2c = function (_set____db54di) {
|
|
130
|
+
this.k2c_1 = _set____db54di;
|
|
131
131
|
};
|
|
132
|
-
CoreClientConfigJS.prototype.
|
|
133
|
-
return this.
|
|
132
|
+
CoreClientConfigJS.prototype.q2c = function () {
|
|
133
|
+
return this.k2c_1;
|
|
134
134
|
};
|
|
135
|
-
CoreClientConfigJS.prototype.
|
|
136
|
-
this.
|
|
135
|
+
CoreClientConfigJS.prototype.r2c = function (_set____db54di) {
|
|
136
|
+
this.l2c_1 = _set____db54di;
|
|
137
137
|
};
|
|
138
|
-
CoreClientConfigJS.prototype.
|
|
139
|
-
return this.
|
|
138
|
+
CoreClientConfigJS.prototype.s2c = function () {
|
|
139
|
+
return this.l2c_1;
|
|
140
140
|
};
|
|
141
|
-
CoreClientConfigJS.prototype.
|
|
142
|
-
this.
|
|
141
|
+
CoreClientConfigJS.prototype.t2c = function (_set____db54di) {
|
|
142
|
+
this.m2c_1 = _set____db54di;
|
|
143
143
|
};
|
|
144
|
-
CoreClientConfigJS.prototype.
|
|
145
|
-
return this.
|
|
144
|
+
CoreClientConfigJS.prototype.u2c = function () {
|
|
145
|
+
return this.m2c_1;
|
|
146
146
|
};
|
|
147
147
|
CoreClientConfigJS.$metadata$ = classMeta('CoreClientConfigJS');
|
|
148
148
|
Object.defineProperty(CoreClientConfigJS.prototype, 'apiUrl', {
|
|
149
149
|
configurable: true,
|
|
150
|
-
get: CoreClientConfigJS.prototype.
|
|
151
|
-
set: CoreClientConfigJS.prototype.
|
|
150
|
+
get: CoreClientConfigJS.prototype.o2c,
|
|
151
|
+
set: CoreClientConfigJS.prototype.n2c
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(CoreClientConfigJS.prototype, 'websocketUrl', {
|
|
154
154
|
configurable: true,
|
|
155
|
-
get: CoreClientConfigJS.prototype.
|
|
156
|
-
set: CoreClientConfigJS.prototype.
|
|
155
|
+
get: CoreClientConfigJS.prototype.q2c,
|
|
156
|
+
set: CoreClientConfigJS.prototype.p2c
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(CoreClientConfigJS.prototype, 'websocketPath', {
|
|
159
159
|
configurable: true,
|
|
160
|
-
get: CoreClientConfigJS.prototype.
|
|
161
|
-
set: CoreClientConfigJS.prototype.
|
|
160
|
+
get: CoreClientConfigJS.prototype.s2c,
|
|
161
|
+
set: CoreClientConfigJS.prototype.r2c
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(CoreClientConfigJS.prototype, 'autoMediaReoffer', {
|
|
164
164
|
configurable: true,
|
|
165
|
-
get: CoreClientConfigJS.prototype.
|
|
166
|
-
set: CoreClientConfigJS.prototype.
|
|
165
|
+
get: CoreClientConfigJS.prototype.u2c,
|
|
166
|
+
set: CoreClientConfigJS.prototype.t2c
|
|
167
167
|
});
|
|
168
168
|
var LoggingLevelJS_Verbose_instance;
|
|
169
169
|
var LoggingLevelJS_Debug_instance;
|
|
@@ -208,10 +208,10 @@
|
|
|
208
208
|
}
|
|
209
209
|
function LoggingLevelJS(name, ordinal, sev) {
|
|
210
210
|
Enum.call(this, name, ordinal);
|
|
211
|
-
this.
|
|
211
|
+
this.x2c_1 = sev;
|
|
212
212
|
}
|
|
213
213
|
LoggingLevelJS.prototype.x1b = function () {
|
|
214
|
-
return this.
|
|
214
|
+
return this.x2c_1;
|
|
215
215
|
};
|
|
216
216
|
LoggingLevelJS.$metadata$ = classMeta('LoggingLevelJS', [ILoggingLevel], undefined, undefined, undefined, Enum.prototype);
|
|
217
217
|
Object.defineProperty(LoggingLevelJS.prototype, 'name', {
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
}
|
|
239
239
|
function CoreClientJS$createSession$lambda(this$0, $token, $sessionId) {
|
|
240
240
|
return function (resolve, reject) {
|
|
241
|
-
this$0.
|
|
241
|
+
this$0.z2c_1.u1a($token, $sessionId, CoreClientJS$createSession$lambda$lambda(reject, resolve));
|
|
242
242
|
return Unit_getInstance();
|
|
243
243
|
};
|
|
244
244
|
}
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
}
|
|
254
254
|
function CoreClientJS$deleteSession$lambda(this$0) {
|
|
255
255
|
return function (resolve, reject) {
|
|
256
|
-
this$0.
|
|
256
|
+
this$0.z2c_1.v1a(CoreClientJS$deleteSession$lambda$lambda(reject, resolve));
|
|
257
257
|
return Unit_getInstance();
|
|
258
258
|
};
|
|
259
259
|
}
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
}
|
|
269
269
|
function CoreClientJS$refreshSession$lambda(this$0, $token) {
|
|
270
270
|
return function (resolve, reject) {
|
|
271
|
-
this$0.
|
|
271
|
+
this$0.z2c_1.w1a($token, CoreClientJS$refreshSession$lambda$lambda(reject, resolve));
|
|
272
272
|
return Unit_getInstance();
|
|
273
273
|
};
|
|
274
274
|
}
|
|
@@ -286,31 +286,31 @@
|
|
|
286
286
|
}
|
|
287
287
|
function CoreClientJS$serverCall$lambda(this$0, $typedContext) {
|
|
288
288
|
return function (resolve, reject) {
|
|
289
|
-
this$0.
|
|
289
|
+
this$0.z2c_1.z1a($typedContext, CoreClientJS$serverCall$lambda$lambda(resolve, reject));
|
|
290
290
|
return Unit_getInstance();
|
|
291
291
|
};
|
|
292
292
|
}
|
|
293
293
|
function CoreClientJS$1(this$0) {
|
|
294
|
-
this.
|
|
294
|
+
this.a2d_1 = this$0;
|
|
295
295
|
}
|
|
296
|
-
CoreClientJS$1.prototype.
|
|
297
|
-
var tmp0_safe_receiver = this.
|
|
296
|
+
CoreClientJS$1.prototype.n20 = function () {
|
|
297
|
+
var tmp0_safe_receiver = this.a2d_1.y2c_1;
|
|
298
298
|
if (tmp0_safe_receiver == null)
|
|
299
299
|
null;
|
|
300
300
|
else {
|
|
301
301
|
tmp0_safe_receiver.reconnecting();
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
|
-
CoreClientJS$1.prototype.
|
|
305
|
-
var tmp0_safe_receiver = this.
|
|
304
|
+
CoreClientJS$1.prototype.o20 = function () {
|
|
305
|
+
var tmp0_safe_receiver = this.a2d_1.y2c_1;
|
|
306
306
|
if (tmp0_safe_receiver == null)
|
|
307
307
|
null;
|
|
308
308
|
else {
|
|
309
309
|
tmp0_safe_receiver.reconnection();
|
|
310
310
|
}
|
|
311
311
|
};
|
|
312
|
-
CoreClientJS$1.prototype.
|
|
313
|
-
var tmp0_safe_receiver = this.
|
|
312
|
+
CoreClientJS$1.prototype.p20 = function (reason) {
|
|
313
|
+
var tmp0_safe_receiver = this.a2d_1.y2c_1;
|
|
314
314
|
if (tmp0_safe_receiver == null)
|
|
315
315
|
null;
|
|
316
316
|
else {
|
|
@@ -319,50 +319,50 @@
|
|
|
319
319
|
};
|
|
320
320
|
CoreClientJS$1.$metadata$ = classMeta(undefined, [SessionListener]);
|
|
321
321
|
function CoreClientJS$2(this$0) {
|
|
322
|
-
this.
|
|
322
|
+
this.b2d_1 = this$0;
|
|
323
323
|
}
|
|
324
|
-
CoreClientJS$2.prototype.
|
|
325
|
-
var tmp0_safe_receiver = this.
|
|
324
|
+
CoreClientJS$2.prototype.a22 = function (invite) {
|
|
325
|
+
var tmp0_safe_receiver = this.b2d_1.y2c_1;
|
|
326
326
|
if (tmp0_safe_receiver == null)
|
|
327
327
|
null;
|
|
328
328
|
else {
|
|
329
329
|
tmp0_safe_receiver.callInvite(VoiceInviteJS_init_$Create$(invite, null, 2, null));
|
|
330
330
|
}
|
|
331
331
|
};
|
|
332
|
-
CoreClientJS$2.prototype.
|
|
333
|
-
var tmp0_safe_receiver = this.
|
|
332
|
+
CoreClientJS$2.prototype.b22 = function (call, newConversation, prevConversation) {
|
|
333
|
+
var tmp0_safe_receiver = this.b2d_1.y2c_1;
|
|
334
334
|
if (tmp0_safe_receiver == null)
|
|
335
335
|
null;
|
|
336
336
|
else {
|
|
337
337
|
tmp0_safe_receiver.callTransfer(new VoiceCallJS(call), new ConversationJS(newConversation), new ConversationJS(prevConversation));
|
|
338
338
|
}
|
|
339
339
|
};
|
|
340
|
-
CoreClientJS$2.prototype.
|
|
341
|
-
var tmp0_safe_receiver = this.
|
|
340
|
+
CoreClientJS$2.prototype.c22 = function (call, legId, isMuted) {
|
|
341
|
+
var tmp0_safe_receiver = this.b2d_1.y2c_1;
|
|
342
342
|
if (tmp0_safe_receiver == null)
|
|
343
343
|
null;
|
|
344
344
|
else {
|
|
345
345
|
tmp0_safe_receiver.mute(new VoiceCallJS(call), legId, isMuted);
|
|
346
346
|
}
|
|
347
347
|
};
|
|
348
|
-
CoreClientJS$2.prototype.
|
|
349
|
-
var tmp0_safe_receiver = this.
|
|
348
|
+
CoreClientJS$2.prototype.d22 = function (call, legId, earmuffStatus) {
|
|
349
|
+
var tmp0_safe_receiver = this.b2d_1.y2c_1;
|
|
350
350
|
if (tmp0_safe_receiver == null)
|
|
351
351
|
null;
|
|
352
352
|
else {
|
|
353
353
|
tmp0_safe_receiver.earmuff(new VoiceCallJS(call), legId, earmuffStatus);
|
|
354
354
|
}
|
|
355
355
|
};
|
|
356
|
-
CoreClientJS$2.prototype.
|
|
357
|
-
var tmp0_safe_receiver = this.
|
|
356
|
+
CoreClientJS$2.prototype.e22 = function (call, legId, digits) {
|
|
357
|
+
var tmp0_safe_receiver = this.b2d_1.y2c_1;
|
|
358
358
|
if (tmp0_safe_receiver == null)
|
|
359
359
|
null;
|
|
360
360
|
else {
|
|
361
361
|
tmp0_safe_receiver.dtmf(new VoiceCallJS(call), legId, digits);
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
|
-
CoreClientJS$2.prototype.
|
|
365
|
-
var tmp0_safe_receiver = this.
|
|
364
|
+
CoreClientJS$2.prototype.f22 = function (call, legId, callQuality) {
|
|
365
|
+
var tmp0_safe_receiver = this.b2d_1.y2c_1;
|
|
366
366
|
if (tmp0_safe_receiver == null)
|
|
367
367
|
null;
|
|
368
368
|
else {
|
|
@@ -371,19 +371,19 @@
|
|
|
371
371
|
};
|
|
372
372
|
CoreClientJS$2.$metadata$ = classMeta(undefined, [VoiceClientDelegate]);
|
|
373
373
|
function CoreClientJS(http, socket, media) {
|
|
374
|
-
this.
|
|
375
|
-
this.
|
|
376
|
-
this.
|
|
377
|
-
this.
|
|
374
|
+
this.y2c_1 = null;
|
|
375
|
+
this.z2c_1 = (new Builder()).y1b(HttpClientJSAdapter(http)).z1b(SocketClientJSAdapter(socket)).a1c(MediaClientJSAdapter(media));
|
|
376
|
+
this.z2c_1.x1a(new CoreClientJS$1(this));
|
|
377
|
+
this.z2c_1.y1a(new CoreClientJS$2(this));
|
|
378
378
|
}
|
|
379
|
-
CoreClientJS.prototype.
|
|
380
|
-
this.
|
|
379
|
+
CoreClientJS.prototype.c2d = function (_set____db54di) {
|
|
380
|
+
this.y2c_1 = _set____db54di;
|
|
381
381
|
};
|
|
382
|
-
CoreClientJS.prototype.
|
|
383
|
-
return this.
|
|
382
|
+
CoreClientJS.prototype.d2d = function () {
|
|
383
|
+
return this.y2c_1;
|
|
384
384
|
};
|
|
385
385
|
CoreClientJS.prototype.setConfig = function (config) {
|
|
386
|
-
this.
|
|
386
|
+
this.z2c_1.t1a(new SetConfig(config.k2c_1, config.l2c_1, config.j2c_1));
|
|
387
387
|
};
|
|
388
388
|
CoreClientJS.prototype.createSession = function (token, sessionId) {
|
|
389
389
|
return new Promise(CoreClientJS$createSession$lambda(this, token, sessionId));
|
|
@@ -412,8 +412,8 @@
|
|
|
412
412
|
CoreClientJS.$metadata$ = classMeta('CoreClientJS');
|
|
413
413
|
Object.defineProperty(CoreClientJS.prototype, 'emitter', {
|
|
414
414
|
configurable: true,
|
|
415
|
-
get: CoreClientJS.prototype.
|
|
416
|
-
set: CoreClientJS.prototype.
|
|
415
|
+
get: CoreClientJS.prototype.d2d,
|
|
416
|
+
set: CoreClientJS.prototype.c2d
|
|
417
417
|
});
|
|
418
418
|
function VoiceCallJS$hangup$lambda$lambda($resolve, $reject) {
|
|
419
419
|
return function (it) {
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
}
|
|
430
430
|
function VoiceCallJS$hangup$lambda(this$0, $reasonText, $reasonCode) {
|
|
431
431
|
return function (resolve, reject) {
|
|
432
|
-
this$0.
|
|
432
|
+
this$0.e2d_1.j21($reasonText, $reasonCode, VoiceCallJS$hangup$lambda$lambda(resolve, reject));
|
|
433
433
|
return Unit_getInstance();
|
|
434
434
|
};
|
|
435
435
|
}
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
var tmp_3 = tmp3_elvis_lhs == null ? 'amy' : tmp3_elvis_lhs;
|
|
458
458
|
var tmp4_elvis_lhs = get_jsonNullable($params.ssml);
|
|
459
459
|
var tmp_4 = tmp4_elvis_lhs == null ? true : tmp4_elvis_lhs;
|
|
460
|
-
this$0.
|
|
460
|
+
this$0.e2d_1.z21(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, VoiceCallJS$say$lambda$lambda(reject, resolve));
|
|
461
461
|
return Unit_getInstance();
|
|
462
462
|
};
|
|
463
463
|
}
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
}
|
|
475
475
|
function VoiceCallJS$mute$lambda(this$0) {
|
|
476
476
|
return function (resolve, reject) {
|
|
477
|
-
this$0.
|
|
477
|
+
this$0.e2d_1.u21(VoiceCallJS$mute$lambda$lambda(reject, resolve));
|
|
478
478
|
return Unit_getInstance();
|
|
479
479
|
};
|
|
480
480
|
}
|
|
@@ -489,7 +489,7 @@
|
|
|
489
489
|
}
|
|
490
490
|
function VoiceCallJS$unmute$lambda(this$0) {
|
|
491
491
|
return function (resolve, reject) {
|
|
492
|
-
this$0.
|
|
492
|
+
this$0.e2d_1.v21(VoiceCallJS$unmute$lambda$lambda(reject, resolve));
|
|
493
493
|
return Unit_getInstance();
|
|
494
494
|
};
|
|
495
495
|
}
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
}
|
|
505
505
|
function VoiceCallJS$enableEarmuff$lambda(this$0) {
|
|
506
506
|
return function (resolve, reject) {
|
|
507
|
-
this$0.
|
|
507
|
+
this$0.e2d_1.w21(VoiceCallJS$enableEarmuff$lambda$lambda(reject, resolve));
|
|
508
508
|
return Unit_getInstance();
|
|
509
509
|
};
|
|
510
510
|
}
|
|
@@ -519,7 +519,7 @@
|
|
|
519
519
|
}
|
|
520
520
|
function VoiceCallJS$disableEarmuff$lambda(this$0) {
|
|
521
521
|
return function (resolve, reject) {
|
|
522
|
-
this$0.
|
|
522
|
+
this$0.e2d_1.x21(VoiceCallJS$disableEarmuff$lambda$lambda(reject, resolve));
|
|
523
523
|
return Unit_getInstance();
|
|
524
524
|
};
|
|
525
525
|
}
|
|
@@ -534,29 +534,29 @@
|
|
|
534
534
|
}
|
|
535
535
|
function VoiceCallJS$sendDTMF$lambda(this$0, $digits) {
|
|
536
536
|
return function (resolve, reject) {
|
|
537
|
-
this$0.
|
|
537
|
+
this$0.e2d_1.y21($digits, VoiceCallJS$sendDTMF$lambda$lambda(reject, resolve));
|
|
538
538
|
return Unit_getInstance();
|
|
539
539
|
};
|
|
540
540
|
}
|
|
541
541
|
function VoiceCallJS(call) {
|
|
542
|
-
this.
|
|
543
|
-
this.
|
|
542
|
+
this.e2d_1 = call;
|
|
543
|
+
this.f2d_1 = this.e2d_1.c21_1;
|
|
544
544
|
}
|
|
545
545
|
VoiceCallJS.prototype.o1k = function () {
|
|
546
|
-
return this.
|
|
546
|
+
return this.f2d_1;
|
|
547
547
|
};
|
|
548
548
|
VoiceCallJS.prototype.hangup = function (reasonText, reasonCode) {
|
|
549
|
-
return this.
|
|
549
|
+
return this.g2d(reasonText === void 1 ? null : reasonText, reasonCode === void 1 ? null : reasonCode);
|
|
550
550
|
};
|
|
551
|
-
VoiceCallJS.prototype.
|
|
551
|
+
VoiceCallJS.prototype.g2d = function (reasonText, reasonCode) {
|
|
552
552
|
return new Promise(VoiceCallJS$hangup$lambda(this, reasonText, reasonCode));
|
|
553
553
|
};
|
|
554
|
-
VoiceCallJS.prototype.
|
|
554
|
+
VoiceCallJS.prototype.h2d = function (reasonText, reasonCode, $mask0, $handler) {
|
|
555
555
|
if (!(($mask0 & 1) === 0))
|
|
556
556
|
reasonText = null;
|
|
557
557
|
if (!(($mask0 & 2) === 0))
|
|
558
558
|
reasonCode = null;
|
|
559
|
-
return this.
|
|
559
|
+
return this.g2d(reasonText, reasonCode);
|
|
560
560
|
};
|
|
561
561
|
VoiceCallJS.prototype.say = function (params) {
|
|
562
562
|
return new Promise(VoiceCallJS$say$lambda(this, params));
|
|
@@ -582,40 +582,40 @@
|
|
|
582
582
|
get: VoiceCallJS.prototype.o1k
|
|
583
583
|
});
|
|
584
584
|
function VoiceInviteFromInfoJS(id, type) {
|
|
585
|
-
this.
|
|
586
|
-
this.
|
|
585
|
+
this.i2d_1 = id;
|
|
586
|
+
this.j2d_1 = type;
|
|
587
587
|
}
|
|
588
588
|
VoiceInviteFromInfoJS.prototype.o1k = function () {
|
|
589
|
-
return this.
|
|
589
|
+
return this.i2d_1;
|
|
590
590
|
};
|
|
591
|
-
VoiceInviteFromInfoJS.prototype.
|
|
592
|
-
return this.
|
|
591
|
+
VoiceInviteFromInfoJS.prototype.k2d = function () {
|
|
592
|
+
return this.j2d_1;
|
|
593
593
|
};
|
|
594
594
|
VoiceInviteFromInfoJS.prototype.component1 = function () {
|
|
595
|
-
return this.
|
|
595
|
+
return this.i2d_1;
|
|
596
596
|
};
|
|
597
597
|
VoiceInviteFromInfoJS.prototype.component2 = function () {
|
|
598
|
-
return this.
|
|
598
|
+
return this.j2d_1;
|
|
599
599
|
};
|
|
600
600
|
VoiceInviteFromInfoJS.prototype.copy = function (id, type) {
|
|
601
|
-
return this.
|
|
601
|
+
return this.l2d(id === void 1 ? this.i2d_1 : id, type === void 1 ? this.j2d_1 : type);
|
|
602
602
|
};
|
|
603
|
-
VoiceInviteFromInfoJS.prototype.
|
|
603
|
+
VoiceInviteFromInfoJS.prototype.l2d = function (id, type) {
|
|
604
604
|
return new VoiceInviteFromInfoJS(id, type);
|
|
605
605
|
};
|
|
606
|
-
VoiceInviteFromInfoJS.prototype.
|
|
606
|
+
VoiceInviteFromInfoJS.prototype.m2d = function (id, type, $mask0, $handler) {
|
|
607
607
|
if (!(($mask0 & 1) === 0))
|
|
608
|
-
id = this.
|
|
608
|
+
id = this.i2d_1;
|
|
609
609
|
if (!(($mask0 & 2) === 0))
|
|
610
|
-
type = this.
|
|
611
|
-
return this.
|
|
610
|
+
type = this.j2d_1;
|
|
611
|
+
return this.l2d(id, type);
|
|
612
612
|
};
|
|
613
613
|
VoiceInviteFromInfoJS.prototype.toString = function () {
|
|
614
|
-
return 'VoiceInviteFromInfoJS(id=' + this.
|
|
614
|
+
return 'VoiceInviteFromInfoJS(id=' + this.i2d_1 + ', type=' + this.j2d_1 + ')';
|
|
615
615
|
};
|
|
616
616
|
VoiceInviteFromInfoJS.prototype.hashCode = function () {
|
|
617
|
-
var result = this.
|
|
618
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
617
|
+
var result = this.i2d_1 == null ? 0 : getStringHashCode(this.i2d_1);
|
|
618
|
+
result = imul(result, 31) + getStringHashCode(this.j2d_1) | 0;
|
|
619
619
|
return result;
|
|
620
620
|
};
|
|
621
621
|
VoiceInviteFromInfoJS.prototype.equals = function (other) {
|
|
@@ -624,9 +624,9 @@
|
|
|
624
624
|
if (!(other instanceof VoiceInviteFromInfoJS))
|
|
625
625
|
return false;
|
|
626
626
|
var tmp0_other_with_cast = other instanceof VoiceInviteFromInfoJS ? other : THROW_CCE();
|
|
627
|
-
if (!(this.
|
|
627
|
+
if (!(this.i2d_1 == tmp0_other_with_cast.i2d_1))
|
|
628
628
|
return false;
|
|
629
|
-
if (!(this.
|
|
629
|
+
if (!(this.j2d_1 === tmp0_other_with_cast.j2d_1))
|
|
630
630
|
return false;
|
|
631
631
|
return true;
|
|
632
632
|
};
|
|
@@ -637,11 +637,11 @@
|
|
|
637
637
|
});
|
|
638
638
|
Object.defineProperty(VoiceInviteFromInfoJS.prototype, 'type', {
|
|
639
639
|
configurable: true,
|
|
640
|
-
get: VoiceInviteFromInfoJS.prototype.
|
|
640
|
+
get: VoiceInviteFromInfoJS.prototype.k2d
|
|
641
641
|
});
|
|
642
642
|
function VoiceInviteJS_init_$Init$(invite, from, $mask0, $marker, $this) {
|
|
643
643
|
if (!(($mask0 & 2) === 0))
|
|
644
|
-
from = new VoiceInviteFromInfoJS(invite.
|
|
644
|
+
from = new VoiceInviteFromInfoJS(invite.i22_1.n22_1, invite.i22_1.o22_1);
|
|
645
645
|
VoiceInviteJS.call($this, invite, from);
|
|
646
646
|
return $this;
|
|
647
647
|
}
|
|
@@ -663,7 +663,7 @@
|
|
|
663
663
|
}
|
|
664
664
|
function VoiceInviteJS$answerCall$lambda(this$0) {
|
|
665
665
|
return function (resolve, reject) {
|
|
666
|
-
this$0.
|
|
666
|
+
this$0.n2d_1.j22(VoiceInviteJS$answerCall$lambda$lambda(reject, resolve));
|
|
667
667
|
return Unit_getInstance();
|
|
668
668
|
};
|
|
669
669
|
}
|
|
@@ -680,16 +680,16 @@
|
|
|
680
680
|
}
|
|
681
681
|
function VoiceInviteJS$rejectCall$lambda(this$0) {
|
|
682
682
|
return function (resolve, reject) {
|
|
683
|
-
this$0.
|
|
683
|
+
this$0.n2d_1.m22(VoiceInviteJS$rejectCall$lambda$lambda(reject, resolve));
|
|
684
684
|
return Unit_getInstance();
|
|
685
685
|
};
|
|
686
686
|
}
|
|
687
687
|
function VoiceInviteJS(invite, from) {
|
|
688
|
-
this.
|
|
689
|
-
this.
|
|
688
|
+
this.n2d_1 = invite;
|
|
689
|
+
this.o2d_1 = from;
|
|
690
690
|
}
|
|
691
691
|
VoiceInviteJS.prototype.v1j = function () {
|
|
692
|
-
return this.
|
|
692
|
+
return this.o2d_1;
|
|
693
693
|
};
|
|
694
694
|
VoiceInviteJS.prototype.answerCall = function () {
|
|
695
695
|
return new Promise(VoiceInviteJS$answerCall$lambda(this));
|
|
@@ -703,31 +703,31 @@
|
|
|
703
703
|
get: VoiceInviteJS.prototype.v1j
|
|
704
704
|
});
|
|
705
705
|
function ConversationJS(conversation) {
|
|
706
|
-
this.
|
|
707
|
-
this.
|
|
706
|
+
this.p2d_1 = conversation;
|
|
707
|
+
this.q2d_1 = this.p2d_1.z1y_1;
|
|
708
708
|
}
|
|
709
|
-
ConversationJS.prototype.
|
|
710
|
-
this.
|
|
709
|
+
ConversationJS.prototype.r2d = function (_set____db54di) {
|
|
710
|
+
this.q2d_1 = _set____db54di;
|
|
711
711
|
};
|
|
712
712
|
ConversationJS.prototype.o1k = function () {
|
|
713
|
-
return this.
|
|
713
|
+
return this.q2d_1;
|
|
714
714
|
};
|
|
715
715
|
ConversationJS.prototype.copy = function (conversation) {
|
|
716
|
-
return this.
|
|
716
|
+
return this.s2d(conversation === void 1 ? this.p2d_1 : conversation);
|
|
717
717
|
};
|
|
718
|
-
ConversationJS.prototype.
|
|
718
|
+
ConversationJS.prototype.s2d = function (conversation) {
|
|
719
719
|
return new ConversationJS(conversation);
|
|
720
720
|
};
|
|
721
|
-
ConversationJS.prototype.
|
|
721
|
+
ConversationJS.prototype.t2d = function (conversation, $mask0, $handler) {
|
|
722
722
|
if (!(($mask0 & 1) === 0))
|
|
723
|
-
conversation = this.
|
|
724
|
-
return this.
|
|
723
|
+
conversation = this.p2d_1;
|
|
724
|
+
return this.s2d(conversation);
|
|
725
725
|
};
|
|
726
726
|
ConversationJS.prototype.toString = function () {
|
|
727
|
-
return 'ConversationJS(conversation=' + this.
|
|
727
|
+
return 'ConversationJS(conversation=' + this.p2d_1 + ')';
|
|
728
728
|
};
|
|
729
729
|
ConversationJS.prototype.hashCode = function () {
|
|
730
|
-
return this.
|
|
730
|
+
return this.p2d_1.hashCode();
|
|
731
731
|
};
|
|
732
732
|
ConversationJS.prototype.equals = function (other) {
|
|
733
733
|
if (this === other)
|
|
@@ -735,7 +735,7 @@
|
|
|
735
735
|
if (!(other instanceof ConversationJS))
|
|
736
736
|
return false;
|
|
737
737
|
var tmp0_other_with_cast = other instanceof ConversationJS ? other : THROW_CCE();
|
|
738
|
-
if (!this.
|
|
738
|
+
if (!this.p2d_1.equals(tmp0_other_with_cast.p2d_1))
|
|
739
739
|
return false;
|
|
740
740
|
return true;
|
|
741
741
|
};
|
|
@@ -743,7 +743,7 @@
|
|
|
743
743
|
Object.defineProperty(ConversationJS.prototype, 'id', {
|
|
744
744
|
configurable: true,
|
|
745
745
|
get: ConversationJS.prototype.o1k,
|
|
746
|
-
set: ConversationJS.prototype.
|
|
746
|
+
set: ConversationJS.prototype.r2d
|
|
747
747
|
});
|
|
748
748
|
function get_jsonNullable(_this__u8e3s4) {
|
|
749
749
|
var tmp0_subject = _this__u8e3s4;
|
|
@@ -814,60 +814,60 @@
|
|
|
814
814
|
}
|
|
815
815
|
var REASON_PING_TIMEOUT;
|
|
816
816
|
function RTCQualityJS(callQuality) {
|
|
817
|
-
this.
|
|
818
|
-
this.
|
|
819
|
-
this.
|
|
820
|
-
this.
|
|
821
|
-
this.
|
|
822
|
-
this.
|
|
823
|
-
this.
|
|
824
|
-
this.
|
|
825
|
-
this.
|
|
826
|
-
this.
|
|
827
|
-
}
|
|
828
|
-
RTCQualityJS.prototype.
|
|
829
|
-
return this.
|
|
830
|
-
};
|
|
831
|
-
RTCQualityJS.prototype.
|
|
832
|
-
return this.
|
|
833
|
-
};
|
|
834
|
-
RTCQualityJS.prototype.
|
|
835
|
-
return this.
|
|
836
|
-
};
|
|
837
|
-
RTCQualityJS.prototype.
|
|
838
|
-
return this.
|
|
817
|
+
this.u2d_1 = callQuality;
|
|
818
|
+
this.v2d_1 = this.u2d_1.z24_1;
|
|
819
|
+
this.w2d_1 = this.u2d_1.a25_1;
|
|
820
|
+
this.x2d_1 = this.u2d_1.b25_1;
|
|
821
|
+
this.y2d_1 = this.u2d_1.c25_1;
|
|
822
|
+
this.z2d_1 = this.u2d_1.d25_1;
|
|
823
|
+
this.a2e_1 = this.u2d_1.e25_1;
|
|
824
|
+
this.b2e_1 = this.u2d_1.f25_1;
|
|
825
|
+
this.c2e_1 = this.u2d_1.g25_1;
|
|
826
|
+
this.d2e_1 = this.u2d_1.h25_1;
|
|
827
|
+
}
|
|
828
|
+
RTCQualityJS.prototype.e2e = function () {
|
|
829
|
+
return this.v2d_1;
|
|
830
|
+
};
|
|
831
|
+
RTCQualityJS.prototype.f2e = function () {
|
|
832
|
+
return this.w2d_1;
|
|
833
|
+
};
|
|
834
|
+
RTCQualityJS.prototype.g2e = function () {
|
|
835
|
+
return this.x2d_1;
|
|
836
|
+
};
|
|
837
|
+
RTCQualityJS.prototype.h2e = function () {
|
|
838
|
+
return this.y2d_1;
|
|
839
839
|
};
|
|
840
|
-
RTCQualityJS.prototype.
|
|
841
|
-
return this.
|
|
840
|
+
RTCQualityJS.prototype.i2e = function () {
|
|
841
|
+
return this.z2d_1;
|
|
842
842
|
};
|
|
843
|
-
RTCQualityJS.prototype.
|
|
844
|
-
return this.
|
|
843
|
+
RTCQualityJS.prototype.j2e = function () {
|
|
844
|
+
return this.a2e_1;
|
|
845
845
|
};
|
|
846
|
-
RTCQualityJS.prototype.
|
|
847
|
-
return this.
|
|
846
|
+
RTCQualityJS.prototype.k2e = function () {
|
|
847
|
+
return this.b2e_1;
|
|
848
848
|
};
|
|
849
|
-
RTCQualityJS.prototype.
|
|
850
|
-
return this.
|
|
849
|
+
RTCQualityJS.prototype.l2e = function () {
|
|
850
|
+
return this.c2e_1;
|
|
851
851
|
};
|
|
852
|
-
RTCQualityJS.prototype.
|
|
853
|
-
return this.
|
|
852
|
+
RTCQualityJS.prototype.m2e = function () {
|
|
853
|
+
return this.d2e_1;
|
|
854
854
|
};
|
|
855
855
|
RTCQualityJS.prototype.copy = function (callQuality) {
|
|
856
|
-
return this.
|
|
856
|
+
return this.n2e(callQuality === void 1 ? this.u2d_1 : callQuality);
|
|
857
857
|
};
|
|
858
|
-
RTCQualityJS.prototype.
|
|
858
|
+
RTCQualityJS.prototype.n2e = function (callQuality) {
|
|
859
859
|
return new RTCQualityJS(callQuality);
|
|
860
860
|
};
|
|
861
|
-
RTCQualityJS.prototype.
|
|
861
|
+
RTCQualityJS.prototype.o2e = function (callQuality, $mask0, $handler) {
|
|
862
862
|
if (!(($mask0 & 1) === 0))
|
|
863
|
-
callQuality = this.
|
|
864
|
-
return this.
|
|
863
|
+
callQuality = this.u2d_1;
|
|
864
|
+
return this.n2e(callQuality);
|
|
865
865
|
};
|
|
866
866
|
RTCQualityJS.prototype.toString = function () {
|
|
867
|
-
return 'RTCQualityJS(callQuality=' + this.
|
|
867
|
+
return 'RTCQualityJS(callQuality=' + this.u2d_1 + ')';
|
|
868
868
|
};
|
|
869
869
|
RTCQualityJS.prototype.hashCode = function () {
|
|
870
|
-
return this.
|
|
870
|
+
return this.u2d_1.hashCode();
|
|
871
871
|
};
|
|
872
872
|
RTCQualityJS.prototype.equals = function (other) {
|
|
873
873
|
if (this === other)
|
|
@@ -875,46 +875,46 @@
|
|
|
875
875
|
if (!(other instanceof RTCQualityJS))
|
|
876
876
|
return false;
|
|
877
877
|
var tmp0_other_with_cast = other instanceof RTCQualityJS ? other : THROW_CCE();
|
|
878
|
-
if (!this.
|
|
878
|
+
if (!this.u2d_1.equals(tmp0_other_with_cast.u2d_1))
|
|
879
879
|
return false;
|
|
880
880
|
return true;
|
|
881
881
|
};
|
|
882
882
|
RTCQualityJS.$metadata$ = classMeta('RTCQualityJS');
|
|
883
883
|
Object.defineProperty(RTCQualityJS.prototype, 'mos_score', {
|
|
884
884
|
configurable: true,
|
|
885
|
-
get: RTCQualityJS.prototype.
|
|
885
|
+
get: RTCQualityJS.prototype.e2e
|
|
886
886
|
});
|
|
887
887
|
Object.defineProperty(RTCQualityJS.prototype, 'quality_percentage', {
|
|
888
888
|
configurable: true,
|
|
889
|
-
get: RTCQualityJS.prototype.
|
|
889
|
+
get: RTCQualityJS.prototype.f2e
|
|
890
890
|
});
|
|
891
891
|
Object.defineProperty(RTCQualityJS.prototype, 'jitter_min_var', {
|
|
892
892
|
configurable: true,
|
|
893
|
-
get: RTCQualityJS.prototype.
|
|
893
|
+
get: RTCQualityJS.prototype.g2e
|
|
894
894
|
});
|
|
895
895
|
Object.defineProperty(RTCQualityJS.prototype, 'jitter_max_var', {
|
|
896
896
|
configurable: true,
|
|
897
|
-
get: RTCQualityJS.prototype.
|
|
897
|
+
get: RTCQualityJS.prototype.h2e
|
|
898
898
|
});
|
|
899
899
|
Object.defineProperty(RTCQualityJS.prototype, 'jitter_loss_rate', {
|
|
900
900
|
configurable: true,
|
|
901
|
-
get: RTCQualityJS.prototype.
|
|
901
|
+
get: RTCQualityJS.prototype.i2e
|
|
902
902
|
});
|
|
903
903
|
Object.defineProperty(RTCQualityJS.prototype, 'jitter_burst_rate', {
|
|
904
904
|
configurable: true,
|
|
905
|
-
get: RTCQualityJS.prototype.
|
|
905
|
+
get: RTCQualityJS.prototype.j2e
|
|
906
906
|
});
|
|
907
907
|
Object.defineProperty(RTCQualityJS.prototype, 'flaw_total', {
|
|
908
908
|
configurable: true,
|
|
909
|
-
get: RTCQualityJS.prototype.
|
|
909
|
+
get: RTCQualityJS.prototype.k2e
|
|
910
910
|
});
|
|
911
911
|
Object.defineProperty(RTCQualityJS.prototype, 'packet_cnt', {
|
|
912
912
|
configurable: true,
|
|
913
|
-
get: RTCQualityJS.prototype.
|
|
913
|
+
get: RTCQualityJS.prototype.l2e
|
|
914
914
|
});
|
|
915
915
|
Object.defineProperty(RTCQualityJS.prototype, 'packet_loss_perc', {
|
|
916
916
|
configurable: true,
|
|
917
|
-
get: RTCQualityJS.prototype.
|
|
917
|
+
get: RTCQualityJS.prototype.m2e
|
|
918
918
|
});
|
|
919
919
|
function HttpClientJSAdapter(js) {
|
|
920
920
|
return new HttpClientJSAdapter$1(js);
|
|
@@ -939,7 +939,7 @@
|
|
|
939
939
|
};
|
|
940
940
|
}
|
|
941
941
|
function HttpClientJSAdapter$1($js) {
|
|
942
|
-
this.
|
|
942
|
+
this.p2e_1 = $js;
|
|
943
943
|
}
|
|
944
944
|
HttpClientJSAdapter$1.prototype.f1b = function (verb, url, headers, body, callback) {
|
|
945
945
|
var tmp = verb.toString();
|
|
@@ -951,7 +951,7 @@
|
|
|
951
951
|
tmp$ret$0 = fromMap(JSON, headers);
|
|
952
952
|
tmp$ret$1 = tmp$ret$0;
|
|
953
953
|
var tmp_0 = tmp$ret$1;
|
|
954
|
-
this.
|
|
954
|
+
this.p2e_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
|
|
955
955
|
};
|
|
956
956
|
HttpClientJSAdapter$1.$metadata$ = classMeta(undefined, [HTTPClient]);
|
|
957
957
|
function SocketClientJSAdapter$o$emit$lambda($callback) {
|
|
@@ -975,14 +975,14 @@
|
|
|
975
975
|
};
|
|
976
976
|
}
|
|
977
977
|
function SocketClientJSAdapter$adapter$1($js) {
|
|
978
|
-
this.
|
|
979
|
-
this.
|
|
978
|
+
this.r2e_1 = $js;
|
|
979
|
+
this.q2e_1 = null;
|
|
980
980
|
}
|
|
981
981
|
SocketClientJSAdapter$adapter$1.prototype.i1b = function (_set____db54di) {
|
|
982
|
-
this.
|
|
982
|
+
this.q2e_1 = _set____db54di;
|
|
983
983
|
};
|
|
984
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
985
|
-
return this.
|
|
984
|
+
SocketClientJSAdapter$adapter$1.prototype.z22 = function () {
|
|
985
|
+
return this.q2e_1;
|
|
986
986
|
};
|
|
987
987
|
SocketClientJSAdapter$adapter$1.prototype.j1b = function (type, msg, callback) {
|
|
988
988
|
var tmp0_safe_receiver = msg;
|
|
@@ -1000,30 +1000,30 @@
|
|
|
1000
1000
|
tmp = tmp$ret$1;
|
|
1001
1001
|
}
|
|
1002
1002
|
var tmp_0 = tmp;
|
|
1003
|
-
this.
|
|
1003
|
+
this.r2e_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
|
|
1004
1004
|
};
|
|
1005
1005
|
SocketClientJSAdapter$adapter$1.prototype.k1b = function (host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, session_id, query) {
|
|
1006
|
-
this.
|
|
1006
|
+
this.r2e_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, query);
|
|
1007
1007
|
};
|
|
1008
1008
|
SocketClientJSAdapter$adapter$1.prototype.l1b = function () {
|
|
1009
|
-
this.
|
|
1009
|
+
this.r2e_1.disconnect();
|
|
1010
1010
|
};
|
|
1011
1011
|
SocketClientJSAdapter$adapter$1.prototype.m1b = function (token) {
|
|
1012
|
-
this.
|
|
1012
|
+
this.r2e_1.setConnectParamsSocketConfig(token);
|
|
1013
1013
|
};
|
|
1014
1014
|
SocketClientJSAdapter$adapter$1.prototype.n1b = function (milliseconds, callback) {
|
|
1015
|
-
this.
|
|
1015
|
+
this.r2e_1.startVerifyResponseTimer(milliseconds, callback);
|
|
1016
1016
|
};
|
|
1017
1017
|
SocketClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [SocketClient]);
|
|
1018
1018
|
function SocketClientJSAdapter$1($adapter) {
|
|
1019
|
-
this.
|
|
1019
|
+
this.s2e_1 = $adapter;
|
|
1020
1020
|
}
|
|
1021
1021
|
SocketClientJSAdapter$1.prototype.didReceiveNewSocketEvent = function (type, body) {
|
|
1022
|
-
var tmp0_safe_receiver = this.
|
|
1022
|
+
var tmp0_safe_receiver = this.s2e_1.q2e_1;
|
|
1023
1023
|
if (tmp0_safe_receiver == null)
|
|
1024
1024
|
null;
|
|
1025
1025
|
else {
|
|
1026
|
-
tmp0_safe_receiver.
|
|
1026
|
+
tmp0_safe_receiver.j27(new UnknownSocketEvent(body, type));
|
|
1027
1027
|
}
|
|
1028
1028
|
};
|
|
1029
1029
|
SocketClientJSAdapter$1.prototype.didReceiveNewSocketConnectionStatusEvent = function (type, reason) {
|
|
@@ -1057,60 +1057,60 @@
|
|
|
1057
1057
|
var tmp;
|
|
1058
1058
|
switch (tmp0_subject_0) {
|
|
1059
1059
|
case 'NXMCORE_REASON_SERVER_DISCONNECTED':
|
|
1060
|
-
var tmp1_safe_receiver_0 = this.
|
|
1060
|
+
var tmp1_safe_receiver_0 = this.s2e_1.q2e_1;
|
|
1061
1061
|
var tmp_0;
|
|
1062
1062
|
if (tmp1_safe_receiver_0 == null) {
|
|
1063
1063
|
tmp_0 = null;
|
|
1064
1064
|
} else {
|
|
1065
|
-
tmp1_safe_receiver_0.
|
|
1065
|
+
tmp1_safe_receiver_0.k27(tmp1_safe_receiver, SocketConnectionFailedReason_ServerDisconnected_getInstance());
|
|
1066
1066
|
tmp_0 = Unit_getInstance();
|
|
1067
1067
|
}
|
|
1068
1068
|
|
|
1069
1069
|
tmp = tmp_0;
|
|
1070
1070
|
break;
|
|
1071
1071
|
case 'NXMCORE_REASON_CLIENT_DISCONNECTED':
|
|
1072
|
-
var tmp2_safe_receiver = this.
|
|
1072
|
+
var tmp2_safe_receiver = this.s2e_1.q2e_1;
|
|
1073
1073
|
var tmp_1;
|
|
1074
1074
|
if (tmp2_safe_receiver == null) {
|
|
1075
1075
|
tmp_1 = null;
|
|
1076
1076
|
} else {
|
|
1077
|
-
tmp2_safe_receiver.
|
|
1077
|
+
tmp2_safe_receiver.k27(tmp1_safe_receiver, SocketConnectionFailedReason_ClientDisconnected_getInstance());
|
|
1078
1078
|
tmp_1 = Unit_getInstance();
|
|
1079
1079
|
}
|
|
1080
1080
|
|
|
1081
1081
|
tmp = tmp_1;
|
|
1082
1082
|
break;
|
|
1083
1083
|
case 'NXMCORE_CLIENT_NETWORK_ERROR':
|
|
1084
|
-
var tmp3_safe_receiver = this.
|
|
1084
|
+
var tmp3_safe_receiver = this.s2e_1.q2e_1;
|
|
1085
1085
|
var tmp_2;
|
|
1086
1086
|
if (tmp3_safe_receiver == null) {
|
|
1087
1087
|
tmp_2 = null;
|
|
1088
1088
|
} else {
|
|
1089
|
-
tmp3_safe_receiver.
|
|
1089
|
+
tmp3_safe_receiver.k27(tmp1_safe_receiver, SocketConnectionFailedReason_ClientNetworkError_getInstance());
|
|
1090
1090
|
tmp_2 = Unit_getInstance();
|
|
1091
1091
|
}
|
|
1092
1092
|
|
|
1093
1093
|
tmp = tmp_2;
|
|
1094
1094
|
break;
|
|
1095
1095
|
case 'NXMCORE_REASON_PING_TIMEOUT':
|
|
1096
|
-
var tmp4_safe_receiver = this.
|
|
1096
|
+
var tmp4_safe_receiver = this.s2e_1.q2e_1;
|
|
1097
1097
|
var tmp_3;
|
|
1098
1098
|
if (tmp4_safe_receiver == null) {
|
|
1099
1099
|
tmp_3 = null;
|
|
1100
1100
|
} else {
|
|
1101
|
-
tmp4_safe_receiver.
|
|
1101
|
+
tmp4_safe_receiver.k27(tmp1_safe_receiver, SocketConnectionFailedReason_PingTimeout_getInstance());
|
|
1102
1102
|
tmp_3 = Unit_getInstance();
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
1105
|
tmp = tmp_3;
|
|
1106
1106
|
break;
|
|
1107
1107
|
default:
|
|
1108
|
-
var tmp5_safe_receiver = this.
|
|
1108
|
+
var tmp5_safe_receiver = this.s2e_1.q2e_1;
|
|
1109
1109
|
var tmp_4;
|
|
1110
1110
|
if (tmp5_safe_receiver == null) {
|
|
1111
1111
|
tmp_4 = null;
|
|
1112
1112
|
} else {
|
|
1113
|
-
tmp5_safe_receiver.
|
|
1113
|
+
tmp5_safe_receiver.k27(tmp1_safe_receiver, null);
|
|
1114
1114
|
tmp_4 = Unit_getInstance();
|
|
1115
1115
|
}
|
|
1116
1116
|
|
|
@@ -1123,56 +1123,56 @@
|
|
|
1123
1123
|
};
|
|
1124
1124
|
SocketClientJSAdapter$1.$metadata$ = classMeta();
|
|
1125
1125
|
function MediaClientJSAdapter$adapter$1($js) {
|
|
1126
|
-
this.
|
|
1127
|
-
this.
|
|
1126
|
+
this.u2e_1 = $js;
|
|
1127
|
+
this.t2e_1 = null;
|
|
1128
1128
|
}
|
|
1129
1129
|
MediaClientJSAdapter$adapter$1.prototype.q1b = function (_set____db54di) {
|
|
1130
|
-
this.
|
|
1130
|
+
this.t2e_1 = _set____db54di;
|
|
1131
1131
|
};
|
|
1132
1132
|
MediaClientJSAdapter$adapter$1.prototype.r1b = function (id) {
|
|
1133
|
-
this.
|
|
1133
|
+
this.u2e_1.enableMedia(id, null);
|
|
1134
1134
|
};
|
|
1135
1135
|
MediaClientJSAdapter$adapter$1.prototype.s1b = function (id, remoteDescription) {
|
|
1136
|
-
this.
|
|
1136
|
+
this.u2e_1.enableMedia(id, remoteDescription);
|
|
1137
1137
|
};
|
|
1138
1138
|
MediaClientJSAdapter$adapter$1.prototype.t1b = function (id, sdp, streamId, legId) {
|
|
1139
|
-
this.
|
|
1139
|
+
this.u2e_1.processAnswer(id, sdp, streamId, legId);
|
|
1140
1140
|
};
|
|
1141
1141
|
MediaClientJSAdapter$adapter$1.prototype.u1b = function (id) {
|
|
1142
|
-
this.
|
|
1142
|
+
this.u2e_1.disableMedia(id);
|
|
1143
1143
|
};
|
|
1144
1144
|
MediaClientJSAdapter$adapter$1.prototype.v1b = function (id) {
|
|
1145
|
-
this.
|
|
1145
|
+
this.u2e_1.mute(id);
|
|
1146
1146
|
};
|
|
1147
1147
|
MediaClientJSAdapter$adapter$1.prototype.w1b = function (id) {
|
|
1148
|
-
this.
|
|
1148
|
+
this.u2e_1.unmute(id);
|
|
1149
1149
|
};
|
|
1150
1150
|
MediaClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [MediaClient]);
|
|
1151
1151
|
function MediaClientJSAdapter$1($adapter) {
|
|
1152
|
-
this.
|
|
1152
|
+
this.v2e_1 = $adapter;
|
|
1153
1153
|
}
|
|
1154
1154
|
MediaClientJSAdapter$1.prototype.onOffer = function (mediaId, streamId, sdp, callback) {
|
|
1155
|
-
var tmp0_safe_receiver = this.
|
|
1155
|
+
var tmp0_safe_receiver = this.v2e_1.t2e_1;
|
|
1156
1156
|
if (tmp0_safe_receiver == null)
|
|
1157
1157
|
null;
|
|
1158
1158
|
else {
|
|
1159
|
-
tmp0_safe_receiver.
|
|
1159
|
+
tmp0_safe_receiver.g27(mediaId, streamId, sdp, callback);
|
|
1160
1160
|
}
|
|
1161
1161
|
};
|
|
1162
1162
|
MediaClientJSAdapter$1.prototype.onAnswer = function (mediaId, streamId, sdp, callback) {
|
|
1163
|
-
var tmp0_safe_receiver = this.
|
|
1163
|
+
var tmp0_safe_receiver = this.v2e_1.t2e_1;
|
|
1164
1164
|
if (tmp0_safe_receiver == null)
|
|
1165
1165
|
null;
|
|
1166
1166
|
else {
|
|
1167
|
-
tmp0_safe_receiver.
|
|
1167
|
+
tmp0_safe_receiver.h27(mediaId, streamId, sdp, callback);
|
|
1168
1168
|
}
|
|
1169
1169
|
};
|
|
1170
1170
|
MediaClientJSAdapter$1.prototype.onError = function (mediaId, error) {
|
|
1171
|
-
var tmp0_safe_receiver = this.
|
|
1171
|
+
var tmp0_safe_receiver = this.v2e_1.t2e_1;
|
|
1172
1172
|
if (tmp0_safe_receiver == null)
|
|
1173
1173
|
null;
|
|
1174
1174
|
else {
|
|
1175
|
-
tmp0_safe_receiver.
|
|
1175
|
+
tmp0_safe_receiver.i27(mediaId, Exception_init_$Create$(error));
|
|
1176
1176
|
}
|
|
1177
1177
|
};
|
|
1178
1178
|
MediaClientJSAdapter$1.$metadata$ = classMeta();
|