@vonage/client-sdk 0.1.3-alpha.22 → 0.1.3-alpha.23
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/Client.d.ts +5 -7
- package/dist/Client.js +6 -10
- package/dist/SocketClient.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/kotlin/Kermit-kermit-js-ir.js +74 -38
- package/dist/kotlin/Kermit-kermit-js-ir.js.map +1 -1
- package/dist/kotlin/clientsdk-clientcore.js +6118 -6091
- package/dist/kotlin/clientsdk-clientcore.js.map +1 -1
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +53 -3
- package/dist/kotlin/clientsdk-clientcore_js.js +440 -287
- package/dist/kotlin/clientsdk-clientcore_js.js.map +1 -1
- package/dist/kotlin/kotlin-kotlin-stdlib-js-ir.js +114 -97
- package/dist/kotlin/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +1487 -1487
- package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +1346 -1346
- package/dist/kotlin/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -1
- package/dist/utils/createRtcAudioConnection.js +1 -1
- package/package.json +1 -1
|
@@ -1,156 +1,230 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib-js-ir.js', './clientsdk-clientcore.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'), require('./clientsdk-clientcore.js'));
|
|
6
6
|
else {
|
|
7
|
-
if (typeof this['clientsdk-clientcore'] === 'undefined') {
|
|
8
|
-
throw new Error("Error loading module 'clientsdk-clientcore_js'. Its dependency 'clientsdk-clientcore' was not found. Please, check whether 'clientsdk-clientcore' is loaded prior to 'clientsdk-clientcore_js'.");
|
|
9
|
-
}
|
|
10
7
|
if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
|
|
11
8
|
throw new Error("Error loading module 'clientsdk-clientcore_js'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'clientsdk-clientcore_js'.");
|
|
12
9
|
}
|
|
13
|
-
|
|
10
|
+
if (typeof this['clientsdk-clientcore'] === 'undefined') {
|
|
11
|
+
throw new Error("Error loading module 'clientsdk-clientcore_js'. Its dependency 'clientsdk-clientcore' was not found. Please, check whether 'clientsdk-clientcore' is loaded prior to 'clientsdk-clientcore_js'.");
|
|
12
|
+
}
|
|
13
|
+
root['clientsdk-clientcore_js'] = factory(typeof this['clientsdk-clientcore_js'] === 'undefined' ? {} : this['clientsdk-clientcore_js'], this['kotlin-kotlin-stdlib-js-ir'], this['clientsdk-clientcore']);
|
|
14
14
|
}
|
|
15
|
-
}(this, function (_,
|
|
15
|
+
}(this, function (_, kotlin_kotlin, kotlin_com_vonage_clientcore) {
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var
|
|
20
|
-
var ClientConfigRegion_EUROPE_getInstance = kotlin_com_vonage_clientcore.$_$.r;
|
|
21
|
-
var ClientConfigRegion_UNITED_STATES_getInstance = kotlin_com_vonage_clientcore.$_$.s;
|
|
22
|
-
var ClientConfigRegion_AUTOMATIC_getInstance = kotlin_com_vonage_clientcore.$_$.q;
|
|
23
|
-
var objectMeta = kotlin_kotlin.$_$.h6;
|
|
24
|
-
var Companion_getInstance = kotlin_com_vonage_clientcore.$_$.t;
|
|
25
|
-
var copyToArray = kotlin_kotlin.$_$.s3;
|
|
19
|
+
var THROW_ISE = kotlin_kotlin.$_$.w7;
|
|
26
20
|
var Unit_getInstance = kotlin_kotlin.$_$.o2;
|
|
21
|
+
var ClientConfigRegion_AP_getInstance = kotlin_com_vonage_clientcore.$_$.r;
|
|
22
|
+
var ClientConfigRegion_EU_getInstance = kotlin_com_vonage_clientcore.$_$.s;
|
|
23
|
+
var ClientConfigRegion_US_getInstance = kotlin_com_vonage_clientcore.$_$.t;
|
|
24
|
+
var Enum = kotlin_kotlin.$_$.q7;
|
|
27
25
|
var classMeta = kotlin_kotlin.$_$.h5;
|
|
26
|
+
var Companion_getInstance = kotlin_com_vonage_clientcore.$_$.u;
|
|
27
|
+
var ILoggingLevel = kotlin_com_vonage_clientcore.$_$.b;
|
|
28
|
+
var setDefaultLoggingLevel = kotlin_com_vonage_clientcore.$_$.e;
|
|
28
29
|
var newThrowable = kotlin_kotlin.$_$.e6;
|
|
29
|
-
var SessionListener = kotlin_com_vonage_clientcore.$_$.
|
|
30
|
-
var VoiceClientDelegate = kotlin_com_vonage_clientcore.$_$.
|
|
31
|
-
var Builder = kotlin_com_vonage_clientcore.$_$.
|
|
32
|
-
var SetConfig = kotlin_com_vonage_clientcore.$_$.
|
|
30
|
+
var SessionListener = kotlin_com_vonage_clientcore.$_$.c;
|
|
31
|
+
var VoiceClientDelegate = kotlin_com_vonage_clientcore.$_$.d;
|
|
32
|
+
var Builder = kotlin_com_vonage_clientcore.$_$.j;
|
|
33
|
+
var SetConfig = kotlin_com_vonage_clientcore.$_$.i;
|
|
33
34
|
var emptyMap = kotlin_kotlin.$_$.u3;
|
|
34
35
|
var THROW_CCE = kotlin_kotlin.$_$.v7;
|
|
35
36
|
var getStringHashCode = kotlin_kotlin.$_$.m5;
|
|
36
37
|
var equals = kotlin_kotlin.$_$.i5;
|
|
37
38
|
var Exception_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
38
|
-
var HTTPClient = kotlin_com_vonage_clientcore.$_$.
|
|
39
|
-
var SocketClient = kotlin_com_vonage_clientcore.$_$.
|
|
39
|
+
var HTTPClient = kotlin_com_vonage_clientcore.$_$.f;
|
|
40
|
+
var SocketClient = kotlin_com_vonage_clientcore.$_$.h;
|
|
40
41
|
var UnknownSocketEvent = kotlin_com_vonage_clientcore.$_$.a;
|
|
41
|
-
var SocketConnectionStatus_Connected_getInstance = kotlin_com_vonage_clientcore.$_$.
|
|
42
|
-
var SocketConnectionStatus_Reconnecting_getInstance = kotlin_com_vonage_clientcore.$_$.
|
|
43
|
-
var SocketConnectionStatus_Disconnected_getInstance = kotlin_com_vonage_clientcore.$_$.
|
|
44
|
-
var SocketConnectionFailedReason_ServerDisconnected_getInstance = kotlin_com_vonage_clientcore.$_$.
|
|
45
|
-
var SocketConnectionFailedReason_ClientDisconnected_getInstance = kotlin_com_vonage_clientcore.$_$.
|
|
46
|
-
var SocketConnectionFailedReason_ClientNetworkError_getInstance = kotlin_com_vonage_clientcore.$_$.
|
|
47
|
-
var SocketConnectionFailedReason_PingTimeout_getInstance = kotlin_com_vonage_clientcore.$_$.
|
|
48
|
-
var MediaClient = kotlin_com_vonage_clientcore.$_$.
|
|
42
|
+
var SocketConnectionStatus_Connected_getInstance = kotlin_com_vonage_clientcore.$_$.o;
|
|
43
|
+
var SocketConnectionStatus_Reconnecting_getInstance = kotlin_com_vonage_clientcore.$_$.q;
|
|
44
|
+
var SocketConnectionStatus_Disconnected_getInstance = kotlin_com_vonage_clientcore.$_$.p;
|
|
45
|
+
var SocketConnectionFailedReason_ServerDisconnected_getInstance = kotlin_com_vonage_clientcore.$_$.n;
|
|
46
|
+
var SocketConnectionFailedReason_ClientDisconnected_getInstance = kotlin_com_vonage_clientcore.$_$.k;
|
|
47
|
+
var SocketConnectionFailedReason_ClientNetworkError_getInstance = kotlin_com_vonage_clientcore.$_$.l;
|
|
48
|
+
var SocketConnectionFailedReason_PingTimeout_getInstance = kotlin_com_vonage_clientcore.$_$.m;
|
|
49
|
+
var MediaClient = kotlin_com_vonage_clientcore.$_$.g;
|
|
49
50
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
50
|
-
var to = kotlin_kotlin.$_$.
|
|
51
|
+
var to = kotlin_kotlin.$_$.p8;
|
|
51
52
|
var toMap = kotlin_kotlin.$_$.t4;
|
|
52
53
|
var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
|
|
53
54
|
var Map = kotlin_kotlin.$_$.a3;
|
|
54
55
|
var isInterface = kotlin_kotlin.$_$.w5;
|
|
55
56
|
var Exception = kotlin_kotlin.$_$.r7;
|
|
56
57
|
var Pair = kotlin_kotlin.$_$.u7;
|
|
58
|
+
var copyToArray = kotlin_kotlin.$_$.s3;
|
|
57
59
|
var json = kotlin_kotlin.$_$.c6;
|
|
58
60
|
//endregion
|
|
59
61
|
//region block: pre-declaration
|
|
62
|
+
CoreClientConfigRegionJS.prototype = Object.create(Enum.prototype);
|
|
63
|
+
CoreClientConfigRegionJS.prototype.constructor = CoreClientConfigRegionJS;
|
|
64
|
+
LoggingLevelJS.prototype = Object.create(Enum.prototype);
|
|
65
|
+
LoggingLevelJS.prototype.constructor = LoggingLevelJS;
|
|
60
66
|
//endregion
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
67
|
+
var CoreClientConfigRegionJS_AP_instance;
|
|
68
|
+
var CoreClientConfigRegionJS_EU_instance;
|
|
69
|
+
var CoreClientConfigRegionJS_US_instance;
|
|
70
|
+
function values() {
|
|
71
|
+
return [CoreClientConfigRegionJS_AP_getInstance(), CoreClientConfigRegionJS_EU_getInstance(), CoreClientConfigRegionJS_US_getInstance()];
|
|
72
|
+
}
|
|
73
|
+
function valueOf(value) {
|
|
74
|
+
switch (value) {
|
|
64
75
|
case 'AP':
|
|
65
|
-
return
|
|
76
|
+
return CoreClientConfigRegionJS_AP_getInstance();
|
|
66
77
|
case 'EU':
|
|
67
|
-
return
|
|
78
|
+
return CoreClientConfigRegionJS_EU_getInstance();
|
|
68
79
|
case 'US':
|
|
69
|
-
return
|
|
80
|
+
return CoreClientConfigRegionJS_US_getInstance();
|
|
70
81
|
default:
|
|
71
|
-
|
|
82
|
+
CoreClientConfigRegionJS_initEntries();
|
|
83
|
+
THROW_ISE();
|
|
84
|
+
break;
|
|
72
85
|
}
|
|
73
86
|
}
|
|
74
|
-
|
|
75
|
-
|
|
87
|
+
var CoreClientConfigRegionJS_entriesInitialized;
|
|
88
|
+
function CoreClientConfigRegionJS_initEntries() {
|
|
89
|
+
if (CoreClientConfigRegionJS_entriesInitialized)
|
|
90
|
+
return Unit_getInstance();
|
|
91
|
+
CoreClientConfigRegionJS_entriesInitialized = true;
|
|
92
|
+
CoreClientConfigRegionJS_AP_instance = new CoreClientConfigRegionJS('AP', 0, ClientConfigRegion_AP_getInstance());
|
|
93
|
+
CoreClientConfigRegionJS_EU_instance = new CoreClientConfigRegionJS('EU', 1, ClientConfigRegion_EU_getInstance());
|
|
94
|
+
CoreClientConfigRegionJS_US_instance = new CoreClientConfigRegionJS('US', 2, ClientConfigRegion_US_getInstance());
|
|
76
95
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
if (Companion_instance == null)
|
|
81
|
-
new Companion();
|
|
82
|
-
return Companion_instance;
|
|
96
|
+
function CoreClientConfigRegionJS(name, ordinal, coreRegion) {
|
|
97
|
+
Enum.call(this, name, ordinal);
|
|
98
|
+
this.o2b_1 = coreRegion;
|
|
83
99
|
}
|
|
100
|
+
CoreClientConfigRegionJS.prototype.p2b = function () {
|
|
101
|
+
return this.o2b_1;
|
|
102
|
+
};
|
|
103
|
+
CoreClientConfigRegionJS.$metadata$ = classMeta('CoreClientConfigRegionJS', undefined, undefined, undefined, undefined, Enum.prototype);
|
|
104
|
+
Object.defineProperty(CoreClientConfigRegionJS.prototype, 'coreRegion', {
|
|
105
|
+
configurable: true,
|
|
106
|
+
get: CoreClientConfigRegionJS.prototype.p2b
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(CoreClientConfigRegionJS.prototype, 'name', {
|
|
109
|
+
configurable: true,
|
|
110
|
+
get: CoreClientConfigRegionJS.prototype.q3
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(CoreClientConfigRegionJS.prototype, 'ordinal', {
|
|
113
|
+
configurable: true,
|
|
114
|
+
get: CoreClientConfigRegionJS.prototype.oe
|
|
115
|
+
});
|
|
84
116
|
function CoreClientConfigJS(region) {
|
|
85
|
-
|
|
86
|
-
this.
|
|
87
|
-
this.
|
|
88
|
-
this.
|
|
89
|
-
this.
|
|
90
|
-
var tmp = this;
|
|
91
|
-
var tmp$ret$0;
|
|
92
|
-
// Inline function 'kotlin.collections.toTypedArray' call
|
|
93
|
-
var tmp0_toTypedArray = this.e2b_1.e1y_1;
|
|
94
|
-
tmp$ret$0 = copyToArray(tmp0_toTypedArray);
|
|
95
|
-
tmp.i2b_1 = tmp$ret$0;
|
|
96
|
-
this.j2b_1 = this.e2b_1.f1y_1;
|
|
117
|
+
this.q2b_1 = Companion_getInstance().i1y(region.o2b_1);
|
|
118
|
+
this.r2b_1 = this.q2b_1.j1y_1;
|
|
119
|
+
this.s2b_1 = this.q2b_1.k1y_1;
|
|
120
|
+
this.t2b_1 = this.q2b_1.l1y_1;
|
|
121
|
+
this.u2b_1 = this.q2b_1.m1y_1;
|
|
97
122
|
}
|
|
98
|
-
CoreClientConfigJS.prototype.
|
|
99
|
-
this.
|
|
100
|
-
};
|
|
101
|
-
CoreClientConfigJS.prototype.l2b = function () {
|
|
102
|
-
return this.f2b_1;
|
|
123
|
+
CoreClientConfigJS.prototype.v2b = function (_set____db54di) {
|
|
124
|
+
this.r2b_1 = _set____db54di;
|
|
103
125
|
};
|
|
104
|
-
CoreClientConfigJS.prototype.
|
|
105
|
-
this.
|
|
126
|
+
CoreClientConfigJS.prototype.w2b = function () {
|
|
127
|
+
return this.r2b_1;
|
|
106
128
|
};
|
|
107
|
-
CoreClientConfigJS.prototype.
|
|
108
|
-
|
|
129
|
+
CoreClientConfigJS.prototype.x2b = function (_set____db54di) {
|
|
130
|
+
this.s2b_1 = _set____db54di;
|
|
109
131
|
};
|
|
110
|
-
CoreClientConfigJS.prototype.
|
|
111
|
-
this.
|
|
132
|
+
CoreClientConfigJS.prototype.y2b = function () {
|
|
133
|
+
return this.s2b_1;
|
|
112
134
|
};
|
|
113
|
-
CoreClientConfigJS.prototype.
|
|
114
|
-
|
|
135
|
+
CoreClientConfigJS.prototype.z2b = function (_set____db54di) {
|
|
136
|
+
this.t2b_1 = _set____db54di;
|
|
115
137
|
};
|
|
116
|
-
CoreClientConfigJS.prototype.
|
|
117
|
-
this.
|
|
138
|
+
CoreClientConfigJS.prototype.a2c = function () {
|
|
139
|
+
return this.t2b_1;
|
|
118
140
|
};
|
|
119
|
-
CoreClientConfigJS.prototype.
|
|
120
|
-
|
|
121
|
-
};
|
|
122
|
-
CoreClientConfigJS.prototype.s2b = function (_set____db54di) {
|
|
123
|
-
this.j2b_1 = _set____db54di;
|
|
141
|
+
CoreClientConfigJS.prototype.b2c = function (_set____db54di) {
|
|
142
|
+
this.u2b_1 = _set____db54di;
|
|
124
143
|
};
|
|
125
|
-
CoreClientConfigJS.prototype.
|
|
126
|
-
return this.
|
|
144
|
+
CoreClientConfigJS.prototype.c2c = function () {
|
|
145
|
+
return this.u2b_1;
|
|
127
146
|
};
|
|
128
147
|
CoreClientConfigJS.$metadata$ = classMeta('CoreClientConfigJS');
|
|
129
148
|
Object.defineProperty(CoreClientConfigJS.prototype, 'apiUrl', {
|
|
130
149
|
configurable: true,
|
|
131
|
-
get: CoreClientConfigJS.prototype.
|
|
132
|
-
set: CoreClientConfigJS.prototype.
|
|
150
|
+
get: CoreClientConfigJS.prototype.w2b,
|
|
151
|
+
set: CoreClientConfigJS.prototype.v2b
|
|
133
152
|
});
|
|
134
153
|
Object.defineProperty(CoreClientConfigJS.prototype, 'websocketUrl', {
|
|
135
154
|
configurable: true,
|
|
136
|
-
get: CoreClientConfigJS.prototype.
|
|
137
|
-
set: CoreClientConfigJS.prototype.
|
|
155
|
+
get: CoreClientConfigJS.prototype.y2b,
|
|
156
|
+
set: CoreClientConfigJS.prototype.x2b
|
|
138
157
|
});
|
|
139
158
|
Object.defineProperty(CoreClientConfigJS.prototype, 'websocketPath', {
|
|
140
159
|
configurable: true,
|
|
141
|
-
get: CoreClientConfigJS.prototype.
|
|
142
|
-
set: CoreClientConfigJS.prototype.
|
|
160
|
+
get: CoreClientConfigJS.prototype.a2c,
|
|
161
|
+
set: CoreClientConfigJS.prototype.z2b
|
|
143
162
|
});
|
|
144
|
-
Object.defineProperty(CoreClientConfigJS.prototype, '
|
|
163
|
+
Object.defineProperty(CoreClientConfigJS.prototype, 'autoMediaReoffer', {
|
|
145
164
|
configurable: true,
|
|
146
|
-
get: CoreClientConfigJS.prototype.
|
|
147
|
-
set: CoreClientConfigJS.prototype.
|
|
165
|
+
get: CoreClientConfigJS.prototype.c2c,
|
|
166
|
+
set: CoreClientConfigJS.prototype.b2c
|
|
148
167
|
});
|
|
149
|
-
|
|
168
|
+
var LoggingLevelJS_Verbose_instance;
|
|
169
|
+
var LoggingLevelJS_Debug_instance;
|
|
170
|
+
var LoggingLevelJS_Info_instance;
|
|
171
|
+
var LoggingLevelJS_Warn_instance;
|
|
172
|
+
var LoggingLevelJS_Error_instance;
|
|
173
|
+
var LoggingLevelJS_Assert_instance;
|
|
174
|
+
function values_0() {
|
|
175
|
+
return [LoggingLevelJS_Verbose_getInstance(), LoggingLevelJS_Debug_getInstance(), LoggingLevelJS_Info_getInstance(), LoggingLevelJS_Warn_getInstance(), LoggingLevelJS_Error_getInstance(), LoggingLevelJS_Assert_getInstance()];
|
|
176
|
+
}
|
|
177
|
+
function valueOf_0(value) {
|
|
178
|
+
switch (value) {
|
|
179
|
+
case 'Verbose':
|
|
180
|
+
return LoggingLevelJS_Verbose_getInstance();
|
|
181
|
+
case 'Debug':
|
|
182
|
+
return LoggingLevelJS_Debug_getInstance();
|
|
183
|
+
case 'Info':
|
|
184
|
+
return LoggingLevelJS_Info_getInstance();
|
|
185
|
+
case 'Warn':
|
|
186
|
+
return LoggingLevelJS_Warn_getInstance();
|
|
187
|
+
case 'Error':
|
|
188
|
+
return LoggingLevelJS_Error_getInstance();
|
|
189
|
+
case 'Assert':
|
|
190
|
+
return LoggingLevelJS_Assert_getInstance();
|
|
191
|
+
default:
|
|
192
|
+
LoggingLevelJS_initEntries();
|
|
193
|
+
THROW_ISE();
|
|
194
|
+
break;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
var LoggingLevelJS_entriesInitialized;
|
|
198
|
+
function LoggingLevelJS_initEntries() {
|
|
199
|
+
if (LoggingLevelJS_entriesInitialized)
|
|
200
|
+
return Unit_getInstance();
|
|
201
|
+
LoggingLevelJS_entriesInitialized = true;
|
|
202
|
+
LoggingLevelJS_Verbose_instance = new LoggingLevelJS('Verbose', 0, 'Verbose');
|
|
203
|
+
LoggingLevelJS_Debug_instance = new LoggingLevelJS('Debug', 1, 'Debug');
|
|
204
|
+
LoggingLevelJS_Info_instance = new LoggingLevelJS('Info', 2, 'Info');
|
|
205
|
+
LoggingLevelJS_Warn_instance = new LoggingLevelJS('Warn', 3, 'Warn');
|
|
206
|
+
LoggingLevelJS_Error_instance = new LoggingLevelJS('Error', 4, 'Error');
|
|
207
|
+
LoggingLevelJS_Assert_instance = new LoggingLevelJS('Assert', 5, 'Assert');
|
|
208
|
+
}
|
|
209
|
+
function LoggingLevelJS(name, ordinal, sev) {
|
|
210
|
+
Enum.call(this, name, ordinal);
|
|
211
|
+
this.f2c_1 = sev;
|
|
212
|
+
}
|
|
213
|
+
LoggingLevelJS.prototype.x1b = function () {
|
|
214
|
+
return this.f2c_1;
|
|
215
|
+
};
|
|
216
|
+
LoggingLevelJS.$metadata$ = classMeta('LoggingLevelJS', [ILoggingLevel], undefined, undefined, undefined, Enum.prototype);
|
|
217
|
+
Object.defineProperty(LoggingLevelJS.prototype, 'name', {
|
|
150
218
|
configurable: true,
|
|
151
|
-
get:
|
|
152
|
-
set: CoreClientConfigJS.prototype.s2b
|
|
219
|
+
get: LoggingLevelJS.prototype.q3
|
|
153
220
|
});
|
|
221
|
+
Object.defineProperty(LoggingLevelJS.prototype, 'ordinal', {
|
|
222
|
+
configurable: true,
|
|
223
|
+
get: LoggingLevelJS.prototype.oe
|
|
224
|
+
});
|
|
225
|
+
function setDefaultLoggingLevel_0(level) {
|
|
226
|
+
setDefaultLoggingLevel(level);
|
|
227
|
+
}
|
|
154
228
|
function CoreClientJS$createSession$lambda$lambda($reject, $resolve) {
|
|
155
229
|
return function (err, sessionId) {
|
|
156
230
|
if (!(err == null))
|
|
@@ -164,7 +238,7 @@
|
|
|
164
238
|
}
|
|
165
239
|
function CoreClientJS$createSession$lambda(this$0, $token, $sessionId) {
|
|
166
240
|
return function (resolve, reject) {
|
|
167
|
-
this$0.
|
|
241
|
+
this$0.h2c_1.u1a($token, $sessionId, CoreClientJS$createSession$lambda$lambda(reject, resolve));
|
|
168
242
|
return Unit_getInstance();
|
|
169
243
|
};
|
|
170
244
|
}
|
|
@@ -179,7 +253,7 @@
|
|
|
179
253
|
}
|
|
180
254
|
function CoreClientJS$deleteSession$lambda(this$0) {
|
|
181
255
|
return function (resolve, reject) {
|
|
182
|
-
this$0.
|
|
256
|
+
this$0.h2c_1.v1a(CoreClientJS$deleteSession$lambda$lambda(reject, resolve));
|
|
183
257
|
return Unit_getInstance();
|
|
184
258
|
};
|
|
185
259
|
}
|
|
@@ -194,7 +268,7 @@
|
|
|
194
268
|
}
|
|
195
269
|
function CoreClientJS$refreshSession$lambda(this$0, $token) {
|
|
196
270
|
return function (resolve, reject) {
|
|
197
|
-
this$0.
|
|
271
|
+
this$0.h2c_1.w1a($token, CoreClientJS$refreshSession$lambda$lambda(reject, resolve));
|
|
198
272
|
return Unit_getInstance();
|
|
199
273
|
};
|
|
200
274
|
}
|
|
@@ -212,31 +286,31 @@
|
|
|
212
286
|
}
|
|
213
287
|
function CoreClientJS$serverCall$lambda(this$0, $typedContext) {
|
|
214
288
|
return function (resolve, reject) {
|
|
215
|
-
this$0.
|
|
289
|
+
this$0.h2c_1.z1a($typedContext, CoreClientJS$serverCall$lambda$lambda(resolve, reject));
|
|
216
290
|
return Unit_getInstance();
|
|
217
291
|
};
|
|
218
292
|
}
|
|
219
293
|
function CoreClientJS$1(this$0) {
|
|
220
|
-
this.
|
|
294
|
+
this.i2c_1 = this$0;
|
|
221
295
|
}
|
|
222
|
-
CoreClientJS$1.prototype.
|
|
223
|
-
var tmp0_safe_receiver = this.
|
|
296
|
+
CoreClientJS$1.prototype.y1z = function () {
|
|
297
|
+
var tmp0_safe_receiver = this.i2c_1.g2c_1;
|
|
224
298
|
if (tmp0_safe_receiver == null)
|
|
225
299
|
null;
|
|
226
300
|
else {
|
|
227
301
|
tmp0_safe_receiver.reconnecting();
|
|
228
302
|
}
|
|
229
303
|
};
|
|
230
|
-
CoreClientJS$1.prototype.
|
|
231
|
-
var tmp0_safe_receiver = this.
|
|
304
|
+
CoreClientJS$1.prototype.z1z = function () {
|
|
305
|
+
var tmp0_safe_receiver = this.i2c_1.g2c_1;
|
|
232
306
|
if (tmp0_safe_receiver == null)
|
|
233
307
|
null;
|
|
234
308
|
else {
|
|
235
309
|
tmp0_safe_receiver.reconnection();
|
|
236
310
|
}
|
|
237
311
|
};
|
|
238
|
-
CoreClientJS$1.prototype.
|
|
239
|
-
var tmp0_safe_receiver = this.
|
|
312
|
+
CoreClientJS$1.prototype.a20 = function (reason) {
|
|
313
|
+
var tmp0_safe_receiver = this.i2c_1.g2c_1;
|
|
240
314
|
if (tmp0_safe_receiver == null)
|
|
241
315
|
null;
|
|
242
316
|
else {
|
|
@@ -245,50 +319,50 @@
|
|
|
245
319
|
};
|
|
246
320
|
CoreClientJS$1.$metadata$ = classMeta(undefined, [SessionListener]);
|
|
247
321
|
function CoreClientJS$2(this$0) {
|
|
248
|
-
this.
|
|
322
|
+
this.j2c_1 = this$0;
|
|
249
323
|
}
|
|
250
|
-
CoreClientJS$2.prototype.
|
|
251
|
-
var tmp0_safe_receiver = this.
|
|
324
|
+
CoreClientJS$2.prototype.l21 = function (invite) {
|
|
325
|
+
var tmp0_safe_receiver = this.j2c_1.g2c_1;
|
|
252
326
|
if (tmp0_safe_receiver == null)
|
|
253
327
|
null;
|
|
254
328
|
else {
|
|
255
329
|
tmp0_safe_receiver.callInvite(VoiceInviteJS_init_$Create$(invite, null, 2, null));
|
|
256
330
|
}
|
|
257
331
|
};
|
|
258
|
-
CoreClientJS$2.prototype.
|
|
259
|
-
var tmp0_safe_receiver = this.
|
|
332
|
+
CoreClientJS$2.prototype.m21 = function (call, newConversation, prevConversation) {
|
|
333
|
+
var tmp0_safe_receiver = this.j2c_1.g2c_1;
|
|
260
334
|
if (tmp0_safe_receiver == null)
|
|
261
335
|
null;
|
|
262
336
|
else {
|
|
263
337
|
tmp0_safe_receiver.callTransfer(new VoiceCallJS(call), new ConversationJS(newConversation), new ConversationJS(prevConversation));
|
|
264
338
|
}
|
|
265
339
|
};
|
|
266
|
-
CoreClientJS$2.prototype.
|
|
267
|
-
var tmp0_safe_receiver = this.
|
|
340
|
+
CoreClientJS$2.prototype.n21 = function (call, legId, isMuted) {
|
|
341
|
+
var tmp0_safe_receiver = this.j2c_1.g2c_1;
|
|
268
342
|
if (tmp0_safe_receiver == null)
|
|
269
343
|
null;
|
|
270
344
|
else {
|
|
271
345
|
tmp0_safe_receiver.mute(new VoiceCallJS(call), legId, isMuted);
|
|
272
346
|
}
|
|
273
347
|
};
|
|
274
|
-
CoreClientJS$2.prototype.
|
|
275
|
-
var tmp0_safe_receiver = this.
|
|
348
|
+
CoreClientJS$2.prototype.o21 = function (call, legId, earmuffStatus) {
|
|
349
|
+
var tmp0_safe_receiver = this.j2c_1.g2c_1;
|
|
276
350
|
if (tmp0_safe_receiver == null)
|
|
277
351
|
null;
|
|
278
352
|
else {
|
|
279
353
|
tmp0_safe_receiver.earmuff(new VoiceCallJS(call), legId, earmuffStatus);
|
|
280
354
|
}
|
|
281
355
|
};
|
|
282
|
-
CoreClientJS$2.prototype.
|
|
283
|
-
var tmp0_safe_receiver = this.
|
|
356
|
+
CoreClientJS$2.prototype.p21 = function (call, legId, digits) {
|
|
357
|
+
var tmp0_safe_receiver = this.j2c_1.g2c_1;
|
|
284
358
|
if (tmp0_safe_receiver == null)
|
|
285
359
|
null;
|
|
286
360
|
else {
|
|
287
361
|
tmp0_safe_receiver.dtmf(new VoiceCallJS(call), legId, digits);
|
|
288
362
|
}
|
|
289
363
|
};
|
|
290
|
-
CoreClientJS$2.prototype.
|
|
291
|
-
var tmp0_safe_receiver = this.
|
|
364
|
+
CoreClientJS$2.prototype.q21 = function (call, legId, callQuality) {
|
|
365
|
+
var tmp0_safe_receiver = this.j2c_1.g2c_1;
|
|
292
366
|
if (tmp0_safe_receiver == null)
|
|
293
367
|
null;
|
|
294
368
|
else {
|
|
@@ -297,19 +371,19 @@
|
|
|
297
371
|
};
|
|
298
372
|
CoreClientJS$2.$metadata$ = classMeta(undefined, [VoiceClientDelegate]);
|
|
299
373
|
function CoreClientJS(http, socket, media) {
|
|
300
|
-
this.
|
|
301
|
-
this.
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
374
|
+
this.g2c_1 = null;
|
|
375
|
+
this.h2c_1 = (new Builder()).y1b(HttpClientJSAdapter(http)).z1b(SocketClientJSAdapter(socket)).a1c(MediaClientJSAdapter(media));
|
|
376
|
+
this.h2c_1.x1a(new CoreClientJS$1(this));
|
|
377
|
+
this.h2c_1.y1a(new CoreClientJS$2(this));
|
|
304
378
|
}
|
|
305
|
-
CoreClientJS.prototype.
|
|
306
|
-
this.
|
|
379
|
+
CoreClientJS.prototype.k2c = function (_set____db54di) {
|
|
380
|
+
this.g2c_1 = _set____db54di;
|
|
307
381
|
};
|
|
308
|
-
CoreClientJS.prototype.
|
|
309
|
-
return this.
|
|
382
|
+
CoreClientJS.prototype.l2c = function () {
|
|
383
|
+
return this.g2c_1;
|
|
310
384
|
};
|
|
311
385
|
CoreClientJS.prototype.setConfig = function (config) {
|
|
312
|
-
this.
|
|
386
|
+
this.h2c_1.t1a(new SetConfig(config.s2b_1, config.t2b_1, config.r2b_1));
|
|
313
387
|
};
|
|
314
388
|
CoreClientJS.prototype.createSession = function (token, sessionId) {
|
|
315
389
|
return new Promise(CoreClientJS$createSession$lambda(this, token, sessionId));
|
|
@@ -338,8 +412,8 @@
|
|
|
338
412
|
CoreClientJS.$metadata$ = classMeta('CoreClientJS');
|
|
339
413
|
Object.defineProperty(CoreClientJS.prototype, 'emitter', {
|
|
340
414
|
configurable: true,
|
|
341
|
-
get: CoreClientJS.prototype.
|
|
342
|
-
set: CoreClientJS.prototype.
|
|
415
|
+
get: CoreClientJS.prototype.l2c,
|
|
416
|
+
set: CoreClientJS.prototype.k2c
|
|
343
417
|
});
|
|
344
418
|
function VoiceCallJS$hangup$lambda$lambda($resolve, $reject) {
|
|
345
419
|
return function (it) {
|
|
@@ -355,7 +429,7 @@
|
|
|
355
429
|
}
|
|
356
430
|
function VoiceCallJS$hangup$lambda(this$0, $reasonText, $reasonCode) {
|
|
357
431
|
return function (resolve, reject) {
|
|
358
|
-
this$0.
|
|
432
|
+
this$0.m2c_1.u20($reasonText, $reasonCode, VoiceCallJS$hangup$lambda$lambda(resolve, reject));
|
|
359
433
|
return Unit_getInstance();
|
|
360
434
|
};
|
|
361
435
|
}
|
|
@@ -383,7 +457,7 @@
|
|
|
383
457
|
var tmp_3 = tmp3_elvis_lhs == null ? 'amy' : tmp3_elvis_lhs;
|
|
384
458
|
var tmp4_elvis_lhs = get_jsonNullable($params.ssml);
|
|
385
459
|
var tmp_4 = tmp4_elvis_lhs == null ? true : tmp4_elvis_lhs;
|
|
386
|
-
this$0.
|
|
460
|
+
this$0.m2c_1.k21(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, VoiceCallJS$say$lambda$lambda(reject, resolve));
|
|
387
461
|
return Unit_getInstance();
|
|
388
462
|
};
|
|
389
463
|
}
|
|
@@ -400,7 +474,7 @@
|
|
|
400
474
|
}
|
|
401
475
|
function VoiceCallJS$mute$lambda(this$0) {
|
|
402
476
|
return function (resolve, reject) {
|
|
403
|
-
this$0.
|
|
477
|
+
this$0.m2c_1.f21(VoiceCallJS$mute$lambda$lambda(reject, resolve));
|
|
404
478
|
return Unit_getInstance();
|
|
405
479
|
};
|
|
406
480
|
}
|
|
@@ -415,7 +489,7 @@
|
|
|
415
489
|
}
|
|
416
490
|
function VoiceCallJS$unmute$lambda(this$0) {
|
|
417
491
|
return function (resolve, reject) {
|
|
418
|
-
this$0.
|
|
492
|
+
this$0.m2c_1.g21(VoiceCallJS$unmute$lambda$lambda(reject, resolve));
|
|
419
493
|
return Unit_getInstance();
|
|
420
494
|
};
|
|
421
495
|
}
|
|
@@ -430,7 +504,7 @@
|
|
|
430
504
|
}
|
|
431
505
|
function VoiceCallJS$enableEarmuff$lambda(this$0) {
|
|
432
506
|
return function (resolve, reject) {
|
|
433
|
-
this$0.
|
|
507
|
+
this$0.m2c_1.h21(VoiceCallJS$enableEarmuff$lambda$lambda(reject, resolve));
|
|
434
508
|
return Unit_getInstance();
|
|
435
509
|
};
|
|
436
510
|
}
|
|
@@ -445,7 +519,7 @@
|
|
|
445
519
|
}
|
|
446
520
|
function VoiceCallJS$disableEarmuff$lambda(this$0) {
|
|
447
521
|
return function (resolve, reject) {
|
|
448
|
-
this$0.
|
|
522
|
+
this$0.m2c_1.i21(VoiceCallJS$disableEarmuff$lambda$lambda(reject, resolve));
|
|
449
523
|
return Unit_getInstance();
|
|
450
524
|
};
|
|
451
525
|
}
|
|
@@ -460,29 +534,29 @@
|
|
|
460
534
|
}
|
|
461
535
|
function VoiceCallJS$sendDTMF$lambda(this$0, $digits) {
|
|
462
536
|
return function (resolve, reject) {
|
|
463
|
-
this$0.
|
|
537
|
+
this$0.m2c_1.j21($digits, VoiceCallJS$sendDTMF$lambda$lambda(reject, resolve));
|
|
464
538
|
return Unit_getInstance();
|
|
465
539
|
};
|
|
466
540
|
}
|
|
467
541
|
function VoiceCallJS(call) {
|
|
468
|
-
this.
|
|
469
|
-
this.
|
|
542
|
+
this.m2c_1 = call;
|
|
543
|
+
this.n2c_1 = this.m2c_1.n20_1;
|
|
470
544
|
}
|
|
471
|
-
VoiceCallJS.prototype.
|
|
472
|
-
return this.
|
|
545
|
+
VoiceCallJS.prototype.o1k = function () {
|
|
546
|
+
return this.n2c_1;
|
|
473
547
|
};
|
|
474
548
|
VoiceCallJS.prototype.hangup = function (reasonText, reasonCode) {
|
|
475
|
-
return this.
|
|
549
|
+
return this.o2c(reasonText === void 1 ? null : reasonText, reasonCode === void 1 ? null : reasonCode);
|
|
476
550
|
};
|
|
477
|
-
VoiceCallJS.prototype.
|
|
551
|
+
VoiceCallJS.prototype.o2c = function (reasonText, reasonCode) {
|
|
478
552
|
return new Promise(VoiceCallJS$hangup$lambda(this, reasonText, reasonCode));
|
|
479
553
|
};
|
|
480
|
-
VoiceCallJS.prototype.
|
|
554
|
+
VoiceCallJS.prototype.p2c = function (reasonText, reasonCode, $mask0, $handler) {
|
|
481
555
|
if (!(($mask0 & 1) === 0))
|
|
482
556
|
reasonText = null;
|
|
483
557
|
if (!(($mask0 & 2) === 0))
|
|
484
558
|
reasonCode = null;
|
|
485
|
-
return this.
|
|
559
|
+
return this.o2c(reasonText, reasonCode);
|
|
486
560
|
};
|
|
487
561
|
VoiceCallJS.prototype.say = function (params) {
|
|
488
562
|
return new Promise(VoiceCallJS$say$lambda(this, params));
|
|
@@ -505,43 +579,43 @@
|
|
|
505
579
|
VoiceCallJS.$metadata$ = classMeta('VoiceCallJS');
|
|
506
580
|
Object.defineProperty(VoiceCallJS.prototype, 'id', {
|
|
507
581
|
configurable: true,
|
|
508
|
-
get: VoiceCallJS.prototype.
|
|
582
|
+
get: VoiceCallJS.prototype.o1k
|
|
509
583
|
});
|
|
510
584
|
function VoiceInviteFromInfoJS(id, type) {
|
|
511
|
-
this.
|
|
512
|
-
this.
|
|
585
|
+
this.q2c_1 = id;
|
|
586
|
+
this.r2c_1 = type;
|
|
513
587
|
}
|
|
514
|
-
VoiceInviteFromInfoJS.prototype.
|
|
515
|
-
return this.
|
|
588
|
+
VoiceInviteFromInfoJS.prototype.o1k = function () {
|
|
589
|
+
return this.q2c_1;
|
|
516
590
|
};
|
|
517
|
-
VoiceInviteFromInfoJS.prototype.
|
|
518
|
-
return this.
|
|
591
|
+
VoiceInviteFromInfoJS.prototype.s2c = function () {
|
|
592
|
+
return this.r2c_1;
|
|
519
593
|
};
|
|
520
594
|
VoiceInviteFromInfoJS.prototype.component1 = function () {
|
|
521
|
-
return this.
|
|
595
|
+
return this.q2c_1;
|
|
522
596
|
};
|
|
523
597
|
VoiceInviteFromInfoJS.prototype.component2 = function () {
|
|
524
|
-
return this.
|
|
598
|
+
return this.r2c_1;
|
|
525
599
|
};
|
|
526
600
|
VoiceInviteFromInfoJS.prototype.copy = function (id, type) {
|
|
527
|
-
return this.
|
|
601
|
+
return this.t2c(id === void 1 ? this.q2c_1 : id, type === void 1 ? this.r2c_1 : type);
|
|
528
602
|
};
|
|
529
|
-
VoiceInviteFromInfoJS.prototype.
|
|
603
|
+
VoiceInviteFromInfoJS.prototype.t2c = function (id, type) {
|
|
530
604
|
return new VoiceInviteFromInfoJS(id, type);
|
|
531
605
|
};
|
|
532
|
-
VoiceInviteFromInfoJS.prototype.
|
|
606
|
+
VoiceInviteFromInfoJS.prototype.u2c = function (id, type, $mask0, $handler) {
|
|
533
607
|
if (!(($mask0 & 1) === 0))
|
|
534
|
-
id = this.
|
|
608
|
+
id = this.q2c_1;
|
|
535
609
|
if (!(($mask0 & 2) === 0))
|
|
536
|
-
type = this.
|
|
537
|
-
return this.
|
|
610
|
+
type = this.r2c_1;
|
|
611
|
+
return this.t2c(id, type);
|
|
538
612
|
};
|
|
539
613
|
VoiceInviteFromInfoJS.prototype.toString = function () {
|
|
540
|
-
return 'VoiceInviteFromInfoJS(id=' + this.
|
|
614
|
+
return 'VoiceInviteFromInfoJS(id=' + this.q2c_1 + ', type=' + this.r2c_1 + ')';
|
|
541
615
|
};
|
|
542
616
|
VoiceInviteFromInfoJS.prototype.hashCode = function () {
|
|
543
|
-
var result = this.
|
|
544
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
617
|
+
var result = this.q2c_1 == null ? 0 : getStringHashCode(this.q2c_1);
|
|
618
|
+
result = imul(result, 31) + getStringHashCode(this.r2c_1) | 0;
|
|
545
619
|
return result;
|
|
546
620
|
};
|
|
547
621
|
VoiceInviteFromInfoJS.prototype.equals = function (other) {
|
|
@@ -550,24 +624,24 @@
|
|
|
550
624
|
if (!(other instanceof VoiceInviteFromInfoJS))
|
|
551
625
|
return false;
|
|
552
626
|
var tmp0_other_with_cast = other instanceof VoiceInviteFromInfoJS ? other : THROW_CCE();
|
|
553
|
-
if (!(this.
|
|
627
|
+
if (!(this.q2c_1 == tmp0_other_with_cast.q2c_1))
|
|
554
628
|
return false;
|
|
555
|
-
if (!(this.
|
|
629
|
+
if (!(this.r2c_1 === tmp0_other_with_cast.r2c_1))
|
|
556
630
|
return false;
|
|
557
631
|
return true;
|
|
558
632
|
};
|
|
559
633
|
VoiceInviteFromInfoJS.$metadata$ = classMeta('VoiceInviteFromInfoJS');
|
|
560
634
|
Object.defineProperty(VoiceInviteFromInfoJS.prototype, 'id', {
|
|
561
635
|
configurable: true,
|
|
562
|
-
get: VoiceInviteFromInfoJS.prototype.
|
|
636
|
+
get: VoiceInviteFromInfoJS.prototype.o1k
|
|
563
637
|
});
|
|
564
638
|
Object.defineProperty(VoiceInviteFromInfoJS.prototype, 'type', {
|
|
565
639
|
configurable: true,
|
|
566
|
-
get: VoiceInviteFromInfoJS.prototype.
|
|
640
|
+
get: VoiceInviteFromInfoJS.prototype.s2c
|
|
567
641
|
});
|
|
568
642
|
function VoiceInviteJS_init_$Init$(invite, from, $mask0, $marker, $this) {
|
|
569
643
|
if (!(($mask0 & 2) === 0))
|
|
570
|
-
from = new VoiceInviteFromInfoJS(invite.
|
|
644
|
+
from = new VoiceInviteFromInfoJS(invite.t21_1.y21_1, invite.t21_1.z21_1);
|
|
571
645
|
VoiceInviteJS.call($this, invite, from);
|
|
572
646
|
return $this;
|
|
573
647
|
}
|
|
@@ -589,7 +663,7 @@
|
|
|
589
663
|
}
|
|
590
664
|
function VoiceInviteJS$answerCall$lambda(this$0) {
|
|
591
665
|
return function (resolve, reject) {
|
|
592
|
-
this$0.
|
|
666
|
+
this$0.v2c_1.u21(VoiceInviteJS$answerCall$lambda$lambda(reject, resolve));
|
|
593
667
|
return Unit_getInstance();
|
|
594
668
|
};
|
|
595
669
|
}
|
|
@@ -606,16 +680,16 @@
|
|
|
606
680
|
}
|
|
607
681
|
function VoiceInviteJS$rejectCall$lambda(this$0) {
|
|
608
682
|
return function (resolve, reject) {
|
|
609
|
-
this$0.
|
|
683
|
+
this$0.v2c_1.x21(VoiceInviteJS$rejectCall$lambda$lambda(reject, resolve));
|
|
610
684
|
return Unit_getInstance();
|
|
611
685
|
};
|
|
612
686
|
}
|
|
613
687
|
function VoiceInviteJS(invite, from) {
|
|
614
|
-
this.
|
|
615
|
-
this.
|
|
688
|
+
this.v2c_1 = invite;
|
|
689
|
+
this.w2c_1 = from;
|
|
616
690
|
}
|
|
617
|
-
VoiceInviteJS.prototype.
|
|
618
|
-
return this.
|
|
691
|
+
VoiceInviteJS.prototype.v1j = function () {
|
|
692
|
+
return this.w2c_1;
|
|
619
693
|
};
|
|
620
694
|
VoiceInviteJS.prototype.answerCall = function () {
|
|
621
695
|
return new Promise(VoiceInviteJS$answerCall$lambda(this));
|
|
@@ -626,34 +700,34 @@
|
|
|
626
700
|
VoiceInviteJS.$metadata$ = classMeta('VoiceInviteJS');
|
|
627
701
|
Object.defineProperty(VoiceInviteJS.prototype, 'from', {
|
|
628
702
|
configurable: true,
|
|
629
|
-
get: VoiceInviteJS.prototype.
|
|
703
|
+
get: VoiceInviteJS.prototype.v1j
|
|
630
704
|
});
|
|
631
705
|
function ConversationJS(conversation) {
|
|
632
|
-
this.
|
|
633
|
-
this.
|
|
706
|
+
this.x2c_1 = conversation;
|
|
707
|
+
this.y2c_1 = this.x2c_1.o1y_1;
|
|
634
708
|
}
|
|
635
|
-
ConversationJS.prototype.
|
|
636
|
-
this.
|
|
709
|
+
ConversationJS.prototype.z2c = function (_set____db54di) {
|
|
710
|
+
this.y2c_1 = _set____db54di;
|
|
637
711
|
};
|
|
638
|
-
ConversationJS.prototype.
|
|
639
|
-
return this.
|
|
712
|
+
ConversationJS.prototype.o1k = function () {
|
|
713
|
+
return this.y2c_1;
|
|
640
714
|
};
|
|
641
715
|
ConversationJS.prototype.copy = function (conversation) {
|
|
642
|
-
return this.
|
|
716
|
+
return this.a2d(conversation === void 1 ? this.x2c_1 : conversation);
|
|
643
717
|
};
|
|
644
|
-
ConversationJS.prototype.
|
|
718
|
+
ConversationJS.prototype.a2d = function (conversation) {
|
|
645
719
|
return new ConversationJS(conversation);
|
|
646
720
|
};
|
|
647
|
-
ConversationJS.prototype.
|
|
721
|
+
ConversationJS.prototype.b2d = function (conversation, $mask0, $handler) {
|
|
648
722
|
if (!(($mask0 & 1) === 0))
|
|
649
|
-
conversation = this.
|
|
650
|
-
return this.
|
|
723
|
+
conversation = this.x2c_1;
|
|
724
|
+
return this.a2d(conversation);
|
|
651
725
|
};
|
|
652
726
|
ConversationJS.prototype.toString = function () {
|
|
653
|
-
return 'ConversationJS(conversation=' + this.
|
|
727
|
+
return 'ConversationJS(conversation=' + this.x2c_1 + ')';
|
|
654
728
|
};
|
|
655
729
|
ConversationJS.prototype.hashCode = function () {
|
|
656
|
-
return this.
|
|
730
|
+
return this.x2c_1.hashCode();
|
|
657
731
|
};
|
|
658
732
|
ConversationJS.prototype.equals = function (other) {
|
|
659
733
|
if (this === other)
|
|
@@ -661,20 +735,56 @@
|
|
|
661
735
|
if (!(other instanceof ConversationJS))
|
|
662
736
|
return false;
|
|
663
737
|
var tmp0_other_with_cast = other instanceof ConversationJS ? other : THROW_CCE();
|
|
664
|
-
if (!this.
|
|
738
|
+
if (!this.x2c_1.equals(tmp0_other_with_cast.x2c_1))
|
|
665
739
|
return false;
|
|
666
740
|
return true;
|
|
667
741
|
};
|
|
668
742
|
ConversationJS.$metadata$ = classMeta('ConversationJS');
|
|
669
743
|
Object.defineProperty(ConversationJS.prototype, 'id', {
|
|
670
744
|
configurable: true,
|
|
671
|
-
get: ConversationJS.prototype.
|
|
672
|
-
set: ConversationJS.prototype.
|
|
745
|
+
get: ConversationJS.prototype.o1k,
|
|
746
|
+
set: ConversationJS.prototype.z2c
|
|
673
747
|
});
|
|
674
748
|
function get_jsonNullable(_this__u8e3s4) {
|
|
675
749
|
var tmp0_subject = _this__u8e3s4;
|
|
676
750
|
return tmp0_subject == null ? null : equals(tmp0_subject, undefined) ? null : _this__u8e3s4;
|
|
677
751
|
}
|
|
752
|
+
function CoreClientConfigRegionJS_AP_getInstance() {
|
|
753
|
+
CoreClientConfigRegionJS_initEntries();
|
|
754
|
+
return CoreClientConfigRegionJS_AP_instance;
|
|
755
|
+
}
|
|
756
|
+
function CoreClientConfigRegionJS_EU_getInstance() {
|
|
757
|
+
CoreClientConfigRegionJS_initEntries();
|
|
758
|
+
return CoreClientConfigRegionJS_EU_instance;
|
|
759
|
+
}
|
|
760
|
+
function CoreClientConfigRegionJS_US_getInstance() {
|
|
761
|
+
CoreClientConfigRegionJS_initEntries();
|
|
762
|
+
return CoreClientConfigRegionJS_US_instance;
|
|
763
|
+
}
|
|
764
|
+
function LoggingLevelJS_Verbose_getInstance() {
|
|
765
|
+
LoggingLevelJS_initEntries();
|
|
766
|
+
return LoggingLevelJS_Verbose_instance;
|
|
767
|
+
}
|
|
768
|
+
function LoggingLevelJS_Debug_getInstance() {
|
|
769
|
+
LoggingLevelJS_initEntries();
|
|
770
|
+
return LoggingLevelJS_Debug_instance;
|
|
771
|
+
}
|
|
772
|
+
function LoggingLevelJS_Info_getInstance() {
|
|
773
|
+
LoggingLevelJS_initEntries();
|
|
774
|
+
return LoggingLevelJS_Info_instance;
|
|
775
|
+
}
|
|
776
|
+
function LoggingLevelJS_Warn_getInstance() {
|
|
777
|
+
LoggingLevelJS_initEntries();
|
|
778
|
+
return LoggingLevelJS_Warn_instance;
|
|
779
|
+
}
|
|
780
|
+
function LoggingLevelJS_Error_getInstance() {
|
|
781
|
+
LoggingLevelJS_initEntries();
|
|
782
|
+
return LoggingLevelJS_Error_instance;
|
|
783
|
+
}
|
|
784
|
+
function LoggingLevelJS_Assert_getInstance() {
|
|
785
|
+
LoggingLevelJS_initEntries();
|
|
786
|
+
return LoggingLevelJS_Assert_instance;
|
|
787
|
+
}
|
|
678
788
|
function get_SOCKET_CONNECTED() {
|
|
679
789
|
return SOCKET_CONNECTED;
|
|
680
790
|
}
|
|
@@ -704,60 +814,60 @@
|
|
|
704
814
|
}
|
|
705
815
|
var REASON_PING_TIMEOUT;
|
|
706
816
|
function RTCQualityJS(callQuality) {
|
|
707
|
-
this.
|
|
708
|
-
this.
|
|
709
|
-
this.
|
|
710
|
-
this.
|
|
711
|
-
this.
|
|
712
|
-
this.
|
|
713
|
-
this.
|
|
714
|
-
this.
|
|
715
|
-
this.
|
|
716
|
-
this.
|
|
717
|
-
}
|
|
718
|
-
RTCQualityJS.prototype.
|
|
719
|
-
return this.
|
|
817
|
+
this.c2d_1 = callQuality;
|
|
818
|
+
this.d2d_1 = this.c2d_1.k24_1;
|
|
819
|
+
this.e2d_1 = this.c2d_1.l24_1;
|
|
820
|
+
this.f2d_1 = this.c2d_1.m24_1;
|
|
821
|
+
this.g2d_1 = this.c2d_1.n24_1;
|
|
822
|
+
this.h2d_1 = this.c2d_1.o24_1;
|
|
823
|
+
this.i2d_1 = this.c2d_1.p24_1;
|
|
824
|
+
this.j2d_1 = this.c2d_1.q24_1;
|
|
825
|
+
this.k2d_1 = this.c2d_1.r24_1;
|
|
826
|
+
this.l2d_1 = this.c2d_1.s24_1;
|
|
827
|
+
}
|
|
828
|
+
RTCQualityJS.prototype.m2d = function () {
|
|
829
|
+
return this.d2d_1;
|
|
720
830
|
};
|
|
721
|
-
RTCQualityJS.prototype.
|
|
722
|
-
return this.
|
|
831
|
+
RTCQualityJS.prototype.n2d = function () {
|
|
832
|
+
return this.e2d_1;
|
|
723
833
|
};
|
|
724
|
-
RTCQualityJS.prototype.
|
|
725
|
-
return this.
|
|
834
|
+
RTCQualityJS.prototype.o2d = function () {
|
|
835
|
+
return this.f2d_1;
|
|
726
836
|
};
|
|
727
|
-
RTCQualityJS.prototype.
|
|
728
|
-
return this.
|
|
837
|
+
RTCQualityJS.prototype.p2d = function () {
|
|
838
|
+
return this.g2d_1;
|
|
729
839
|
};
|
|
730
|
-
RTCQualityJS.prototype.
|
|
731
|
-
return this.
|
|
840
|
+
RTCQualityJS.prototype.q2d = function () {
|
|
841
|
+
return this.h2d_1;
|
|
732
842
|
};
|
|
733
|
-
RTCQualityJS.prototype.
|
|
734
|
-
return this.
|
|
843
|
+
RTCQualityJS.prototype.r2d = function () {
|
|
844
|
+
return this.i2d_1;
|
|
735
845
|
};
|
|
736
|
-
RTCQualityJS.prototype.
|
|
737
|
-
return this.
|
|
846
|
+
RTCQualityJS.prototype.s2d = function () {
|
|
847
|
+
return this.j2d_1;
|
|
738
848
|
};
|
|
739
|
-
RTCQualityJS.prototype.
|
|
740
|
-
return this.
|
|
849
|
+
RTCQualityJS.prototype.t2d = function () {
|
|
850
|
+
return this.k2d_1;
|
|
741
851
|
};
|
|
742
|
-
RTCQualityJS.prototype.
|
|
743
|
-
return this.
|
|
852
|
+
RTCQualityJS.prototype.u2d = function () {
|
|
853
|
+
return this.l2d_1;
|
|
744
854
|
};
|
|
745
855
|
RTCQualityJS.prototype.copy = function (callQuality) {
|
|
746
|
-
return this.
|
|
856
|
+
return this.v2d(callQuality === void 1 ? this.c2d_1 : callQuality);
|
|
747
857
|
};
|
|
748
|
-
RTCQualityJS.prototype.
|
|
858
|
+
RTCQualityJS.prototype.v2d = function (callQuality) {
|
|
749
859
|
return new RTCQualityJS(callQuality);
|
|
750
860
|
};
|
|
751
|
-
RTCQualityJS.prototype.
|
|
861
|
+
RTCQualityJS.prototype.w2d = function (callQuality, $mask0, $handler) {
|
|
752
862
|
if (!(($mask0 & 1) === 0))
|
|
753
|
-
callQuality = this.
|
|
754
|
-
return this.
|
|
863
|
+
callQuality = this.c2d_1;
|
|
864
|
+
return this.v2d(callQuality);
|
|
755
865
|
};
|
|
756
866
|
RTCQualityJS.prototype.toString = function () {
|
|
757
|
-
return 'RTCQualityJS(callQuality=' + this.
|
|
867
|
+
return 'RTCQualityJS(callQuality=' + this.c2d_1 + ')';
|
|
758
868
|
};
|
|
759
869
|
RTCQualityJS.prototype.hashCode = function () {
|
|
760
|
-
return this.
|
|
870
|
+
return this.c2d_1.hashCode();
|
|
761
871
|
};
|
|
762
872
|
RTCQualityJS.prototype.equals = function (other) {
|
|
763
873
|
if (this === other)
|
|
@@ -765,46 +875,46 @@
|
|
|
765
875
|
if (!(other instanceof RTCQualityJS))
|
|
766
876
|
return false;
|
|
767
877
|
var tmp0_other_with_cast = other instanceof RTCQualityJS ? other : THROW_CCE();
|
|
768
|
-
if (!this.
|
|
878
|
+
if (!this.c2d_1.equals(tmp0_other_with_cast.c2d_1))
|
|
769
879
|
return false;
|
|
770
880
|
return true;
|
|
771
881
|
};
|
|
772
882
|
RTCQualityJS.$metadata$ = classMeta('RTCQualityJS');
|
|
773
883
|
Object.defineProperty(RTCQualityJS.prototype, 'mos_score', {
|
|
774
884
|
configurable: true,
|
|
775
|
-
get: RTCQualityJS.prototype.
|
|
885
|
+
get: RTCQualityJS.prototype.m2d
|
|
776
886
|
});
|
|
777
887
|
Object.defineProperty(RTCQualityJS.prototype, 'quality_percentage', {
|
|
778
888
|
configurable: true,
|
|
779
|
-
get: RTCQualityJS.prototype.
|
|
889
|
+
get: RTCQualityJS.prototype.n2d
|
|
780
890
|
});
|
|
781
891
|
Object.defineProperty(RTCQualityJS.prototype, 'jitter_min_var', {
|
|
782
892
|
configurable: true,
|
|
783
|
-
get: RTCQualityJS.prototype.
|
|
893
|
+
get: RTCQualityJS.prototype.o2d
|
|
784
894
|
});
|
|
785
895
|
Object.defineProperty(RTCQualityJS.prototype, 'jitter_max_var', {
|
|
786
896
|
configurable: true,
|
|
787
|
-
get: RTCQualityJS.prototype.
|
|
897
|
+
get: RTCQualityJS.prototype.p2d
|
|
788
898
|
});
|
|
789
899
|
Object.defineProperty(RTCQualityJS.prototype, 'jitter_loss_rate', {
|
|
790
900
|
configurable: true,
|
|
791
|
-
get: RTCQualityJS.prototype.
|
|
901
|
+
get: RTCQualityJS.prototype.q2d
|
|
792
902
|
});
|
|
793
903
|
Object.defineProperty(RTCQualityJS.prototype, 'jitter_burst_rate', {
|
|
794
904
|
configurable: true,
|
|
795
|
-
get: RTCQualityJS.prototype.
|
|
905
|
+
get: RTCQualityJS.prototype.r2d
|
|
796
906
|
});
|
|
797
907
|
Object.defineProperty(RTCQualityJS.prototype, 'flaw_total', {
|
|
798
908
|
configurable: true,
|
|
799
|
-
get: RTCQualityJS.prototype.
|
|
909
|
+
get: RTCQualityJS.prototype.s2d
|
|
800
910
|
});
|
|
801
911
|
Object.defineProperty(RTCQualityJS.prototype, 'packet_cnt', {
|
|
802
912
|
configurable: true,
|
|
803
|
-
get: RTCQualityJS.prototype.
|
|
913
|
+
get: RTCQualityJS.prototype.t2d
|
|
804
914
|
});
|
|
805
915
|
Object.defineProperty(RTCQualityJS.prototype, 'packet_loss_perc', {
|
|
806
916
|
configurable: true,
|
|
807
|
-
get: RTCQualityJS.prototype.
|
|
917
|
+
get: RTCQualityJS.prototype.u2d
|
|
808
918
|
});
|
|
809
919
|
function HttpClientJSAdapter(js) {
|
|
810
920
|
return new HttpClientJSAdapter$1(js);
|
|
@@ -829,9 +939,9 @@
|
|
|
829
939
|
};
|
|
830
940
|
}
|
|
831
941
|
function HttpClientJSAdapter$1($js) {
|
|
832
|
-
this.
|
|
942
|
+
this.x2d_1 = $js;
|
|
833
943
|
}
|
|
834
|
-
HttpClientJSAdapter$1.prototype.
|
|
944
|
+
HttpClientJSAdapter$1.prototype.f1b = function (verb, url, headers, body, callback) {
|
|
835
945
|
var tmp = verb.toString();
|
|
836
946
|
var tmp$ret$1;
|
|
837
947
|
// Inline function 'kotlin.let' call
|
|
@@ -841,7 +951,7 @@
|
|
|
841
951
|
tmp$ret$0 = fromMap(JSON, headers);
|
|
842
952
|
tmp$ret$1 = tmp$ret$0;
|
|
843
953
|
var tmp_0 = tmp$ret$1;
|
|
844
|
-
this.
|
|
954
|
+
this.x2d_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
|
|
845
955
|
};
|
|
846
956
|
HttpClientJSAdapter$1.$metadata$ = classMeta(undefined, [HTTPClient]);
|
|
847
957
|
function SocketClientJSAdapter$o$emit$lambda($callback) {
|
|
@@ -865,16 +975,16 @@
|
|
|
865
975
|
};
|
|
866
976
|
}
|
|
867
977
|
function SocketClientJSAdapter$adapter$1($js) {
|
|
868
|
-
this.
|
|
869
|
-
this.
|
|
978
|
+
this.z2d_1 = $js;
|
|
979
|
+
this.y2d_1 = null;
|
|
870
980
|
}
|
|
871
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
872
|
-
this.
|
|
981
|
+
SocketClientJSAdapter$adapter$1.prototype.i1b = function (_set____db54di) {
|
|
982
|
+
this.y2d_1 = _set____db54di;
|
|
873
983
|
};
|
|
874
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
875
|
-
return this.
|
|
984
|
+
SocketClientJSAdapter$adapter$1.prototype.k22 = function () {
|
|
985
|
+
return this.y2d_1;
|
|
876
986
|
};
|
|
877
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
987
|
+
SocketClientJSAdapter$adapter$1.prototype.j1b = function (type, msg, callback) {
|
|
878
988
|
var tmp0_safe_receiver = msg;
|
|
879
989
|
var tmp;
|
|
880
990
|
if (tmp0_safe_receiver == null) {
|
|
@@ -890,30 +1000,30 @@
|
|
|
890
1000
|
tmp = tmp$ret$1;
|
|
891
1001
|
}
|
|
892
1002
|
var tmp_0 = tmp;
|
|
893
|
-
this.
|
|
1003
|
+
this.z2d_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
|
|
894
1004
|
};
|
|
895
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
896
|
-
this.
|
|
1005
|
+
SocketClientJSAdapter$adapter$1.prototype.k1b = function (host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, session_id, query) {
|
|
1006
|
+
this.z2d_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, query);
|
|
897
1007
|
};
|
|
898
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
899
|
-
this.
|
|
1008
|
+
SocketClientJSAdapter$adapter$1.prototype.l1b = function () {
|
|
1009
|
+
this.z2d_1.disconnect();
|
|
900
1010
|
};
|
|
901
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
902
|
-
this.
|
|
1011
|
+
SocketClientJSAdapter$adapter$1.prototype.m1b = function (token) {
|
|
1012
|
+
this.z2d_1.setConnectParamsSocketConfig(token);
|
|
903
1013
|
};
|
|
904
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
905
|
-
this.
|
|
1014
|
+
SocketClientJSAdapter$adapter$1.prototype.n1b = function (milliseconds, callback) {
|
|
1015
|
+
this.z2d_1.startVerifyResponseTimer(milliseconds, callback);
|
|
906
1016
|
};
|
|
907
1017
|
SocketClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [SocketClient]);
|
|
908
1018
|
function SocketClientJSAdapter$1($adapter) {
|
|
909
|
-
this.
|
|
1019
|
+
this.a2e_1 = $adapter;
|
|
910
1020
|
}
|
|
911
1021
|
SocketClientJSAdapter$1.prototype.didReceiveNewSocketEvent = function (type, body) {
|
|
912
|
-
var tmp0_safe_receiver = this.
|
|
1022
|
+
var tmp0_safe_receiver = this.a2e_1.y2d_1;
|
|
913
1023
|
if (tmp0_safe_receiver == null)
|
|
914
1024
|
null;
|
|
915
1025
|
else {
|
|
916
|
-
tmp0_safe_receiver.
|
|
1026
|
+
tmp0_safe_receiver.s26(new UnknownSocketEvent(body, type));
|
|
917
1027
|
}
|
|
918
1028
|
};
|
|
919
1029
|
SocketClientJSAdapter$1.prototype.didReceiveNewSocketConnectionStatusEvent = function (type, reason) {
|
|
@@ -947,60 +1057,60 @@
|
|
|
947
1057
|
var tmp;
|
|
948
1058
|
switch (tmp0_subject_0) {
|
|
949
1059
|
case 'NXMCORE_REASON_SERVER_DISCONNECTED':
|
|
950
|
-
var tmp1_safe_receiver_0 = this.
|
|
1060
|
+
var tmp1_safe_receiver_0 = this.a2e_1.y2d_1;
|
|
951
1061
|
var tmp_0;
|
|
952
1062
|
if (tmp1_safe_receiver_0 == null) {
|
|
953
1063
|
tmp_0 = null;
|
|
954
1064
|
} else {
|
|
955
|
-
tmp1_safe_receiver_0.
|
|
1065
|
+
tmp1_safe_receiver_0.t26(tmp1_safe_receiver, SocketConnectionFailedReason_ServerDisconnected_getInstance());
|
|
956
1066
|
tmp_0 = Unit_getInstance();
|
|
957
1067
|
}
|
|
958
1068
|
|
|
959
1069
|
tmp = tmp_0;
|
|
960
1070
|
break;
|
|
961
1071
|
case 'NXMCORE_REASON_CLIENT_DISCONNECTED':
|
|
962
|
-
var tmp2_safe_receiver = this.
|
|
1072
|
+
var tmp2_safe_receiver = this.a2e_1.y2d_1;
|
|
963
1073
|
var tmp_1;
|
|
964
1074
|
if (tmp2_safe_receiver == null) {
|
|
965
1075
|
tmp_1 = null;
|
|
966
1076
|
} else {
|
|
967
|
-
tmp2_safe_receiver.
|
|
1077
|
+
tmp2_safe_receiver.t26(tmp1_safe_receiver, SocketConnectionFailedReason_ClientDisconnected_getInstance());
|
|
968
1078
|
tmp_1 = Unit_getInstance();
|
|
969
1079
|
}
|
|
970
1080
|
|
|
971
1081
|
tmp = tmp_1;
|
|
972
1082
|
break;
|
|
973
1083
|
case 'NXMCORE_CLIENT_NETWORK_ERROR':
|
|
974
|
-
var tmp3_safe_receiver = this.
|
|
1084
|
+
var tmp3_safe_receiver = this.a2e_1.y2d_1;
|
|
975
1085
|
var tmp_2;
|
|
976
1086
|
if (tmp3_safe_receiver == null) {
|
|
977
1087
|
tmp_2 = null;
|
|
978
1088
|
} else {
|
|
979
|
-
tmp3_safe_receiver.
|
|
1089
|
+
tmp3_safe_receiver.t26(tmp1_safe_receiver, SocketConnectionFailedReason_ClientNetworkError_getInstance());
|
|
980
1090
|
tmp_2 = Unit_getInstance();
|
|
981
1091
|
}
|
|
982
1092
|
|
|
983
1093
|
tmp = tmp_2;
|
|
984
1094
|
break;
|
|
985
1095
|
case 'NXMCORE_REASON_PING_TIMEOUT':
|
|
986
|
-
var tmp4_safe_receiver = this.
|
|
1096
|
+
var tmp4_safe_receiver = this.a2e_1.y2d_1;
|
|
987
1097
|
var tmp_3;
|
|
988
1098
|
if (tmp4_safe_receiver == null) {
|
|
989
1099
|
tmp_3 = null;
|
|
990
1100
|
} else {
|
|
991
|
-
tmp4_safe_receiver.
|
|
1101
|
+
tmp4_safe_receiver.t26(tmp1_safe_receiver, SocketConnectionFailedReason_PingTimeout_getInstance());
|
|
992
1102
|
tmp_3 = Unit_getInstance();
|
|
993
1103
|
}
|
|
994
1104
|
|
|
995
1105
|
tmp = tmp_3;
|
|
996
1106
|
break;
|
|
997
1107
|
default:
|
|
998
|
-
var tmp5_safe_receiver = this.
|
|
1108
|
+
var tmp5_safe_receiver = this.a2e_1.y2d_1;
|
|
999
1109
|
var tmp_4;
|
|
1000
1110
|
if (tmp5_safe_receiver == null) {
|
|
1001
1111
|
tmp_4 = null;
|
|
1002
1112
|
} else {
|
|
1003
|
-
tmp5_safe_receiver.
|
|
1113
|
+
tmp5_safe_receiver.t26(tmp1_safe_receiver, null);
|
|
1004
1114
|
tmp_4 = Unit_getInstance();
|
|
1005
1115
|
}
|
|
1006
1116
|
|
|
@@ -1013,56 +1123,56 @@
|
|
|
1013
1123
|
};
|
|
1014
1124
|
SocketClientJSAdapter$1.$metadata$ = classMeta();
|
|
1015
1125
|
function MediaClientJSAdapter$adapter$1($js) {
|
|
1016
|
-
this.
|
|
1017
|
-
this.
|
|
1126
|
+
this.c2e_1 = $js;
|
|
1127
|
+
this.b2e_1 = null;
|
|
1018
1128
|
}
|
|
1019
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1020
|
-
this.
|
|
1129
|
+
MediaClientJSAdapter$adapter$1.prototype.q1b = function (_set____db54di) {
|
|
1130
|
+
this.b2e_1 = _set____db54di;
|
|
1021
1131
|
};
|
|
1022
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1023
|
-
this.
|
|
1132
|
+
MediaClientJSAdapter$adapter$1.prototype.r1b = function (id) {
|
|
1133
|
+
this.c2e_1.enableMedia(id, null);
|
|
1024
1134
|
};
|
|
1025
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1026
|
-
this.
|
|
1135
|
+
MediaClientJSAdapter$adapter$1.prototype.s1b = function (id, remoteDescription) {
|
|
1136
|
+
this.c2e_1.enableMedia(id, remoteDescription);
|
|
1027
1137
|
};
|
|
1028
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1029
|
-
this.
|
|
1138
|
+
MediaClientJSAdapter$adapter$1.prototype.t1b = function (id, sdp, streamId, legId) {
|
|
1139
|
+
this.c2e_1.processAnswer(id, sdp, streamId, legId);
|
|
1030
1140
|
};
|
|
1031
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1032
|
-
this.
|
|
1141
|
+
MediaClientJSAdapter$adapter$1.prototype.u1b = function (id) {
|
|
1142
|
+
this.c2e_1.disableMedia(id);
|
|
1033
1143
|
};
|
|
1034
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1035
|
-
this.
|
|
1144
|
+
MediaClientJSAdapter$adapter$1.prototype.v1b = function (id) {
|
|
1145
|
+
this.c2e_1.mute(id);
|
|
1036
1146
|
};
|
|
1037
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
1038
|
-
this.
|
|
1147
|
+
MediaClientJSAdapter$adapter$1.prototype.w1b = function (id) {
|
|
1148
|
+
this.c2e_1.unmute(id);
|
|
1039
1149
|
};
|
|
1040
1150
|
MediaClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [MediaClient]);
|
|
1041
1151
|
function MediaClientJSAdapter$1($adapter) {
|
|
1042
|
-
this.
|
|
1152
|
+
this.d2e_1 = $adapter;
|
|
1043
1153
|
}
|
|
1044
1154
|
MediaClientJSAdapter$1.prototype.onOffer = function (mediaId, streamId, sdp, callback) {
|
|
1045
|
-
var tmp0_safe_receiver = this.
|
|
1155
|
+
var tmp0_safe_receiver = this.d2e_1.b2e_1;
|
|
1046
1156
|
if (tmp0_safe_receiver == null)
|
|
1047
1157
|
null;
|
|
1048
1158
|
else {
|
|
1049
|
-
tmp0_safe_receiver.
|
|
1159
|
+
tmp0_safe_receiver.p26(mediaId, streamId, sdp, callback);
|
|
1050
1160
|
}
|
|
1051
1161
|
};
|
|
1052
1162
|
MediaClientJSAdapter$1.prototype.onAnswer = function (mediaId, streamId, sdp, callback) {
|
|
1053
|
-
var tmp0_safe_receiver = this.
|
|
1163
|
+
var tmp0_safe_receiver = this.d2e_1.b2e_1;
|
|
1054
1164
|
if (tmp0_safe_receiver == null)
|
|
1055
1165
|
null;
|
|
1056
1166
|
else {
|
|
1057
|
-
tmp0_safe_receiver.
|
|
1167
|
+
tmp0_safe_receiver.q26(mediaId, streamId, sdp, callback);
|
|
1058
1168
|
}
|
|
1059
1169
|
};
|
|
1060
1170
|
MediaClientJSAdapter$1.prototype.onError = function (mediaId, error) {
|
|
1061
|
-
var tmp0_safe_receiver = this.
|
|
1171
|
+
var tmp0_safe_receiver = this.d2e_1.b2e_1;
|
|
1062
1172
|
if (tmp0_safe_receiver == null)
|
|
1063
1173
|
null;
|
|
1064
1174
|
else {
|
|
1065
|
-
tmp0_safe_receiver.
|
|
1175
|
+
tmp0_safe_receiver.r26(mediaId, Exception_init_$Create$(error));
|
|
1066
1176
|
}
|
|
1067
1177
|
};
|
|
1068
1178
|
MediaClientJSAdapter$1.$metadata$ = classMeta();
|
|
@@ -1202,7 +1312,50 @@
|
|
|
1202
1312
|
//region block: exports
|
|
1203
1313
|
function $jsExportAll$(_) {
|
|
1204
1314
|
var $vonage = _.vonage || (_.vonage = {});
|
|
1315
|
+
$vonage.CoreClientConfigRegionJS = CoreClientConfigRegionJS;
|
|
1316
|
+
$vonage.CoreClientConfigRegionJS.values = values;
|
|
1317
|
+
$vonage.CoreClientConfigRegionJS.valueOf = valueOf;
|
|
1318
|
+
Object.defineProperty($vonage.CoreClientConfigRegionJS, 'AP', {
|
|
1319
|
+
configurable: true,
|
|
1320
|
+
get: CoreClientConfigRegionJS_AP_getInstance
|
|
1321
|
+
});
|
|
1322
|
+
Object.defineProperty($vonage.CoreClientConfigRegionJS, 'EU', {
|
|
1323
|
+
configurable: true,
|
|
1324
|
+
get: CoreClientConfigRegionJS_EU_getInstance
|
|
1325
|
+
});
|
|
1326
|
+
Object.defineProperty($vonage.CoreClientConfigRegionJS, 'US', {
|
|
1327
|
+
configurable: true,
|
|
1328
|
+
get: CoreClientConfigRegionJS_US_getInstance
|
|
1329
|
+
});
|
|
1205
1330
|
$vonage.CoreClientConfigJS = CoreClientConfigJS;
|
|
1331
|
+
$vonage.LoggingLevelJS = LoggingLevelJS;
|
|
1332
|
+
$vonage.LoggingLevelJS.values = values_0;
|
|
1333
|
+
$vonage.LoggingLevelJS.valueOf = valueOf_0;
|
|
1334
|
+
Object.defineProperty($vonage.LoggingLevelJS, 'Verbose', {
|
|
1335
|
+
configurable: true,
|
|
1336
|
+
get: LoggingLevelJS_Verbose_getInstance
|
|
1337
|
+
});
|
|
1338
|
+
Object.defineProperty($vonage.LoggingLevelJS, 'Debug', {
|
|
1339
|
+
configurable: true,
|
|
1340
|
+
get: LoggingLevelJS_Debug_getInstance
|
|
1341
|
+
});
|
|
1342
|
+
Object.defineProperty($vonage.LoggingLevelJS, 'Info', {
|
|
1343
|
+
configurable: true,
|
|
1344
|
+
get: LoggingLevelJS_Info_getInstance
|
|
1345
|
+
});
|
|
1346
|
+
Object.defineProperty($vonage.LoggingLevelJS, 'Warn', {
|
|
1347
|
+
configurable: true,
|
|
1348
|
+
get: LoggingLevelJS_Warn_getInstance
|
|
1349
|
+
});
|
|
1350
|
+
Object.defineProperty($vonage.LoggingLevelJS, 'Error', {
|
|
1351
|
+
configurable: true,
|
|
1352
|
+
get: LoggingLevelJS_Error_getInstance
|
|
1353
|
+
});
|
|
1354
|
+
Object.defineProperty($vonage.LoggingLevelJS, 'Assert', {
|
|
1355
|
+
configurable: true,
|
|
1356
|
+
get: LoggingLevelJS_Assert_getInstance
|
|
1357
|
+
});
|
|
1358
|
+
$vonage.setDefaultLoggingLevel = setDefaultLoggingLevel_0;
|
|
1206
1359
|
$vonage.CoreClientJS = CoreClientJS;
|
|
1207
1360
|
$vonage.VoiceCallJS = VoiceCallJS;
|
|
1208
1361
|
$vonage.VoiceInviteFromInfoJS = VoiceInviteFromInfoJS;
|