@vonage/client-sdk 0.1.3-alpha.21 → 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 +6 -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 +6874 -6736
- package/dist/kotlin/clientsdk-clientcore.js.map +1 -1
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +71 -4
- package/dist/kotlin/clientsdk-clientcore_js.js +515 -239
- 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.z2a_1.b1y_1;
|
|
94
|
-
tmp$ret$0 = copyToArray(tmp0_toTypedArray);
|
|
95
|
-
tmp.d2b_1 = tmp$ret$0;
|
|
96
|
-
this.e2b_1 = this.z2a_1.c1y_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.
|
|
123
|
+
CoreClientConfigJS.prototype.v2b = function (_set____db54di) {
|
|
124
|
+
this.r2b_1 = _set____db54di;
|
|
100
125
|
};
|
|
101
|
-
CoreClientConfigJS.prototype.
|
|
102
|
-
return this.
|
|
126
|
+
CoreClientConfigJS.prototype.w2b = function () {
|
|
127
|
+
return this.r2b_1;
|
|
103
128
|
};
|
|
104
|
-
CoreClientConfigJS.prototype.
|
|
105
|
-
this.
|
|
129
|
+
CoreClientConfigJS.prototype.x2b = function (_set____db54di) {
|
|
130
|
+
this.s2b_1 = _set____db54di;
|
|
106
131
|
};
|
|
107
|
-
CoreClientConfigJS.prototype.
|
|
108
|
-
return this.
|
|
132
|
+
CoreClientConfigJS.prototype.y2b = function () {
|
|
133
|
+
return this.s2b_1;
|
|
109
134
|
};
|
|
110
|
-
CoreClientConfigJS.prototype.
|
|
111
|
-
this.
|
|
135
|
+
CoreClientConfigJS.prototype.z2b = function (_set____db54di) {
|
|
136
|
+
this.t2b_1 = _set____db54di;
|
|
112
137
|
};
|
|
113
|
-
CoreClientConfigJS.prototype.
|
|
114
|
-
return this.
|
|
138
|
+
CoreClientConfigJS.prototype.a2c = function () {
|
|
139
|
+
return this.t2b_1;
|
|
115
140
|
};
|
|
116
|
-
CoreClientConfigJS.prototype.
|
|
117
|
-
this.
|
|
141
|
+
CoreClientConfigJS.prototype.b2c = function (_set____db54di) {
|
|
142
|
+
this.u2b_1 = _set____db54di;
|
|
118
143
|
};
|
|
119
|
-
CoreClientConfigJS.prototype.
|
|
120
|
-
return this.
|
|
121
|
-
};
|
|
122
|
-
CoreClientConfigJS.prototype.n2b = function (_set____db54di) {
|
|
123
|
-
this.e2b_1 = _set____db54di;
|
|
124
|
-
};
|
|
125
|
-
CoreClientConfigJS.prototype.o2b = function () {
|
|
126
|
-
return this.e2b_1;
|
|
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.n2b
|
|
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,63 +319,71 @@
|
|
|
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
|
};
|
|
364
|
+
CoreClientJS$2.prototype.q21 = function (call, legId, callQuality) {
|
|
365
|
+
var tmp0_safe_receiver = this.j2c_1.g2c_1;
|
|
366
|
+
if (tmp0_safe_receiver == null)
|
|
367
|
+
null;
|
|
368
|
+
else {
|
|
369
|
+
tmp0_safe_receiver.rtcHangup(new VoiceCallJS(call), legId, new RTCQualityJS(callQuality));
|
|
370
|
+
}
|
|
371
|
+
};
|
|
290
372
|
CoreClientJS$2.$metadata$ = classMeta(undefined, [VoiceClientDelegate]);
|
|
291
373
|
function CoreClientJS(http, socket, media) {
|
|
292
|
-
this.
|
|
293
|
-
this.
|
|
294
|
-
this.
|
|
295
|
-
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));
|
|
296
378
|
}
|
|
297
|
-
CoreClientJS.prototype.
|
|
298
|
-
this.
|
|
379
|
+
CoreClientJS.prototype.k2c = function (_set____db54di) {
|
|
380
|
+
this.g2c_1 = _set____db54di;
|
|
299
381
|
};
|
|
300
|
-
CoreClientJS.prototype.
|
|
301
|
-
return this.
|
|
382
|
+
CoreClientJS.prototype.l2c = function () {
|
|
383
|
+
return this.g2c_1;
|
|
302
384
|
};
|
|
303
385
|
CoreClientJS.prototype.setConfig = function (config) {
|
|
304
|
-
this.
|
|
386
|
+
this.h2c_1.t1a(new SetConfig(config.s2b_1, config.t2b_1, config.r2b_1));
|
|
305
387
|
};
|
|
306
388
|
CoreClientJS.prototype.createSession = function (token, sessionId) {
|
|
307
389
|
return new Promise(CoreClientJS$createSession$lambda(this, token, sessionId));
|
|
@@ -330,13 +412,14 @@
|
|
|
330
412
|
CoreClientJS.$metadata$ = classMeta('CoreClientJS');
|
|
331
413
|
Object.defineProperty(CoreClientJS.prototype, 'emitter', {
|
|
332
414
|
configurable: true,
|
|
333
|
-
get: CoreClientJS.prototype.
|
|
334
|
-
set: CoreClientJS.prototype.
|
|
415
|
+
get: CoreClientJS.prototype.l2c,
|
|
416
|
+
set: CoreClientJS.prototype.k2c
|
|
335
417
|
});
|
|
336
418
|
function VoiceCallJS$hangup$lambda$lambda($resolve, $reject) {
|
|
337
419
|
return function (it) {
|
|
420
|
+
var tmp0_subject = it;
|
|
338
421
|
var tmp;
|
|
339
|
-
if (
|
|
422
|
+
if (tmp0_subject == null) {
|
|
340
423
|
tmp = $resolve(null);
|
|
341
424
|
} else {
|
|
342
425
|
tmp = $reject(it instanceof Error ? it : THROW_CCE());
|
|
@@ -344,9 +427,9 @@
|
|
|
344
427
|
return Unit_getInstance();
|
|
345
428
|
};
|
|
346
429
|
}
|
|
347
|
-
function VoiceCallJS$hangup$lambda(this$0) {
|
|
430
|
+
function VoiceCallJS$hangup$lambda(this$0, $reasonText, $reasonCode) {
|
|
348
431
|
return function (resolve, reject) {
|
|
349
|
-
this$0.
|
|
432
|
+
this$0.m2c_1.u20($reasonText, $reasonCode, VoiceCallJS$hangup$lambda$lambda(resolve, reject));
|
|
350
433
|
return Unit_getInstance();
|
|
351
434
|
};
|
|
352
435
|
}
|
|
@@ -374,7 +457,7 @@
|
|
|
374
457
|
var tmp_3 = tmp3_elvis_lhs == null ? 'amy' : tmp3_elvis_lhs;
|
|
375
458
|
var tmp4_elvis_lhs = get_jsonNullable($params.ssml);
|
|
376
459
|
var tmp_4 = tmp4_elvis_lhs == null ? true : tmp4_elvis_lhs;
|
|
377
|
-
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));
|
|
378
461
|
return Unit_getInstance();
|
|
379
462
|
};
|
|
380
463
|
}
|
|
@@ -391,7 +474,7 @@
|
|
|
391
474
|
}
|
|
392
475
|
function VoiceCallJS$mute$lambda(this$0) {
|
|
393
476
|
return function (resolve, reject) {
|
|
394
|
-
this$0.
|
|
477
|
+
this$0.m2c_1.f21(VoiceCallJS$mute$lambda$lambda(reject, resolve));
|
|
395
478
|
return Unit_getInstance();
|
|
396
479
|
};
|
|
397
480
|
}
|
|
@@ -406,7 +489,7 @@
|
|
|
406
489
|
}
|
|
407
490
|
function VoiceCallJS$unmute$lambda(this$0) {
|
|
408
491
|
return function (resolve, reject) {
|
|
409
|
-
this$0.
|
|
492
|
+
this$0.m2c_1.g21(VoiceCallJS$unmute$lambda$lambda(reject, resolve));
|
|
410
493
|
return Unit_getInstance();
|
|
411
494
|
};
|
|
412
495
|
}
|
|
@@ -421,7 +504,7 @@
|
|
|
421
504
|
}
|
|
422
505
|
function VoiceCallJS$enableEarmuff$lambda(this$0) {
|
|
423
506
|
return function (resolve, reject) {
|
|
424
|
-
this$0.
|
|
507
|
+
this$0.m2c_1.h21(VoiceCallJS$enableEarmuff$lambda$lambda(reject, resolve));
|
|
425
508
|
return Unit_getInstance();
|
|
426
509
|
};
|
|
427
510
|
}
|
|
@@ -436,7 +519,7 @@
|
|
|
436
519
|
}
|
|
437
520
|
function VoiceCallJS$disableEarmuff$lambda(this$0) {
|
|
438
521
|
return function (resolve, reject) {
|
|
439
|
-
this$0.
|
|
522
|
+
this$0.m2c_1.i21(VoiceCallJS$disableEarmuff$lambda$lambda(reject, resolve));
|
|
440
523
|
return Unit_getInstance();
|
|
441
524
|
};
|
|
442
525
|
}
|
|
@@ -451,19 +534,29 @@
|
|
|
451
534
|
}
|
|
452
535
|
function VoiceCallJS$sendDTMF$lambda(this$0, $digits) {
|
|
453
536
|
return function (resolve, reject) {
|
|
454
|
-
this$0.
|
|
537
|
+
this$0.m2c_1.j21($digits, VoiceCallJS$sendDTMF$lambda$lambda(reject, resolve));
|
|
455
538
|
return Unit_getInstance();
|
|
456
539
|
};
|
|
457
540
|
}
|
|
458
541
|
function VoiceCallJS(call) {
|
|
459
|
-
this.
|
|
460
|
-
this.
|
|
542
|
+
this.m2c_1 = call;
|
|
543
|
+
this.n2c_1 = this.m2c_1.n20_1;
|
|
461
544
|
}
|
|
462
|
-
VoiceCallJS.prototype.
|
|
463
|
-
return this.
|
|
545
|
+
VoiceCallJS.prototype.o1k = function () {
|
|
546
|
+
return this.n2c_1;
|
|
464
547
|
};
|
|
465
|
-
VoiceCallJS.prototype.hangup = function () {
|
|
466
|
-
return
|
|
548
|
+
VoiceCallJS.prototype.hangup = function (reasonText, reasonCode) {
|
|
549
|
+
return this.o2c(reasonText === void 1 ? null : reasonText, reasonCode === void 1 ? null : reasonCode);
|
|
550
|
+
};
|
|
551
|
+
VoiceCallJS.prototype.o2c = function (reasonText, reasonCode) {
|
|
552
|
+
return new Promise(VoiceCallJS$hangup$lambda(this, reasonText, reasonCode));
|
|
553
|
+
};
|
|
554
|
+
VoiceCallJS.prototype.p2c = function (reasonText, reasonCode, $mask0, $handler) {
|
|
555
|
+
if (!(($mask0 & 1) === 0))
|
|
556
|
+
reasonText = null;
|
|
557
|
+
if (!(($mask0 & 2) === 0))
|
|
558
|
+
reasonCode = null;
|
|
559
|
+
return this.o2c(reasonText, reasonCode);
|
|
467
560
|
};
|
|
468
561
|
VoiceCallJS.prototype.say = function (params) {
|
|
469
562
|
return new Promise(VoiceCallJS$say$lambda(this, params));
|
|
@@ -486,43 +579,43 @@
|
|
|
486
579
|
VoiceCallJS.$metadata$ = classMeta('VoiceCallJS');
|
|
487
580
|
Object.defineProperty(VoiceCallJS.prototype, 'id', {
|
|
488
581
|
configurable: true,
|
|
489
|
-
get: VoiceCallJS.prototype.
|
|
582
|
+
get: VoiceCallJS.prototype.o1k
|
|
490
583
|
});
|
|
491
584
|
function VoiceInviteFromInfoJS(id, type) {
|
|
492
|
-
this.
|
|
493
|
-
this.
|
|
585
|
+
this.q2c_1 = id;
|
|
586
|
+
this.r2c_1 = type;
|
|
494
587
|
}
|
|
495
|
-
VoiceInviteFromInfoJS.prototype.
|
|
496
|
-
return this.
|
|
588
|
+
VoiceInviteFromInfoJS.prototype.o1k = function () {
|
|
589
|
+
return this.q2c_1;
|
|
497
590
|
};
|
|
498
|
-
VoiceInviteFromInfoJS.prototype.
|
|
499
|
-
return this.
|
|
591
|
+
VoiceInviteFromInfoJS.prototype.s2c = function () {
|
|
592
|
+
return this.r2c_1;
|
|
500
593
|
};
|
|
501
594
|
VoiceInviteFromInfoJS.prototype.component1 = function () {
|
|
502
|
-
return this.
|
|
595
|
+
return this.q2c_1;
|
|
503
596
|
};
|
|
504
597
|
VoiceInviteFromInfoJS.prototype.component2 = function () {
|
|
505
|
-
return this.
|
|
598
|
+
return this.r2c_1;
|
|
506
599
|
};
|
|
507
600
|
VoiceInviteFromInfoJS.prototype.copy = function (id, type) {
|
|
508
|
-
return this.
|
|
601
|
+
return this.t2c(id === void 1 ? this.q2c_1 : id, type === void 1 ? this.r2c_1 : type);
|
|
509
602
|
};
|
|
510
|
-
VoiceInviteFromInfoJS.prototype.
|
|
603
|
+
VoiceInviteFromInfoJS.prototype.t2c = function (id, type) {
|
|
511
604
|
return new VoiceInviteFromInfoJS(id, type);
|
|
512
605
|
};
|
|
513
|
-
VoiceInviteFromInfoJS.prototype.
|
|
606
|
+
VoiceInviteFromInfoJS.prototype.u2c = function (id, type, $mask0, $handler) {
|
|
514
607
|
if (!(($mask0 & 1) === 0))
|
|
515
|
-
id = this.
|
|
608
|
+
id = this.q2c_1;
|
|
516
609
|
if (!(($mask0 & 2) === 0))
|
|
517
|
-
type = this.
|
|
518
|
-
return this.
|
|
610
|
+
type = this.r2c_1;
|
|
611
|
+
return this.t2c(id, type);
|
|
519
612
|
};
|
|
520
613
|
VoiceInviteFromInfoJS.prototype.toString = function () {
|
|
521
|
-
return 'VoiceInviteFromInfoJS(id=' + this.
|
|
614
|
+
return 'VoiceInviteFromInfoJS(id=' + this.q2c_1 + ', type=' + this.r2c_1 + ')';
|
|
522
615
|
};
|
|
523
616
|
VoiceInviteFromInfoJS.prototype.hashCode = function () {
|
|
524
|
-
var result = this.
|
|
525
|
-
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;
|
|
526
619
|
return result;
|
|
527
620
|
};
|
|
528
621
|
VoiceInviteFromInfoJS.prototype.equals = function (other) {
|
|
@@ -531,24 +624,24 @@
|
|
|
531
624
|
if (!(other instanceof VoiceInviteFromInfoJS))
|
|
532
625
|
return false;
|
|
533
626
|
var tmp0_other_with_cast = other instanceof VoiceInviteFromInfoJS ? other : THROW_CCE();
|
|
534
|
-
if (!(this.
|
|
627
|
+
if (!(this.q2c_1 == tmp0_other_with_cast.q2c_1))
|
|
535
628
|
return false;
|
|
536
|
-
if (!(this.
|
|
629
|
+
if (!(this.r2c_1 === tmp0_other_with_cast.r2c_1))
|
|
537
630
|
return false;
|
|
538
631
|
return true;
|
|
539
632
|
};
|
|
540
633
|
VoiceInviteFromInfoJS.$metadata$ = classMeta('VoiceInviteFromInfoJS');
|
|
541
634
|
Object.defineProperty(VoiceInviteFromInfoJS.prototype, 'id', {
|
|
542
635
|
configurable: true,
|
|
543
|
-
get: VoiceInviteFromInfoJS.prototype.
|
|
636
|
+
get: VoiceInviteFromInfoJS.prototype.o1k
|
|
544
637
|
});
|
|
545
638
|
Object.defineProperty(VoiceInviteFromInfoJS.prototype, 'type', {
|
|
546
639
|
configurable: true,
|
|
547
|
-
get: VoiceInviteFromInfoJS.prototype.
|
|
640
|
+
get: VoiceInviteFromInfoJS.prototype.s2c
|
|
548
641
|
});
|
|
549
642
|
function VoiceInviteJS_init_$Init$(invite, from, $mask0, $marker, $this) {
|
|
550
643
|
if (!(($mask0 & 2) === 0))
|
|
551
|
-
from = new VoiceInviteFromInfoJS(invite.
|
|
644
|
+
from = new VoiceInviteFromInfoJS(invite.t21_1.y21_1, invite.t21_1.z21_1);
|
|
552
645
|
VoiceInviteJS.call($this, invite, from);
|
|
553
646
|
return $this;
|
|
554
647
|
}
|
|
@@ -570,7 +663,7 @@
|
|
|
570
663
|
}
|
|
571
664
|
function VoiceInviteJS$answerCall$lambda(this$0) {
|
|
572
665
|
return function (resolve, reject) {
|
|
573
|
-
this$0.
|
|
666
|
+
this$0.v2c_1.u21(VoiceInviteJS$answerCall$lambda$lambda(reject, resolve));
|
|
574
667
|
return Unit_getInstance();
|
|
575
668
|
};
|
|
576
669
|
}
|
|
@@ -587,16 +680,16 @@
|
|
|
587
680
|
}
|
|
588
681
|
function VoiceInviteJS$rejectCall$lambda(this$0) {
|
|
589
682
|
return function (resolve, reject) {
|
|
590
|
-
this$0.
|
|
683
|
+
this$0.v2c_1.x21(VoiceInviteJS$rejectCall$lambda$lambda(reject, resolve));
|
|
591
684
|
return Unit_getInstance();
|
|
592
685
|
};
|
|
593
686
|
}
|
|
594
687
|
function VoiceInviteJS(invite, from) {
|
|
595
|
-
this.
|
|
596
|
-
this.
|
|
688
|
+
this.v2c_1 = invite;
|
|
689
|
+
this.w2c_1 = from;
|
|
597
690
|
}
|
|
598
|
-
VoiceInviteJS.prototype.
|
|
599
|
-
return this.
|
|
691
|
+
VoiceInviteJS.prototype.v1j = function () {
|
|
692
|
+
return this.w2c_1;
|
|
600
693
|
};
|
|
601
694
|
VoiceInviteJS.prototype.answerCall = function () {
|
|
602
695
|
return new Promise(VoiceInviteJS$answerCall$lambda(this));
|
|
@@ -607,34 +700,34 @@
|
|
|
607
700
|
VoiceInviteJS.$metadata$ = classMeta('VoiceInviteJS');
|
|
608
701
|
Object.defineProperty(VoiceInviteJS.prototype, 'from', {
|
|
609
702
|
configurable: true,
|
|
610
|
-
get: VoiceInviteJS.prototype.
|
|
703
|
+
get: VoiceInviteJS.prototype.v1j
|
|
611
704
|
});
|
|
612
705
|
function ConversationJS(conversation) {
|
|
613
|
-
this.
|
|
614
|
-
this.
|
|
706
|
+
this.x2c_1 = conversation;
|
|
707
|
+
this.y2c_1 = this.x2c_1.o1y_1;
|
|
615
708
|
}
|
|
616
|
-
ConversationJS.prototype.
|
|
617
|
-
this.
|
|
709
|
+
ConversationJS.prototype.z2c = function (_set____db54di) {
|
|
710
|
+
this.y2c_1 = _set____db54di;
|
|
618
711
|
};
|
|
619
|
-
ConversationJS.prototype.
|
|
620
|
-
return this.
|
|
712
|
+
ConversationJS.prototype.o1k = function () {
|
|
713
|
+
return this.y2c_1;
|
|
621
714
|
};
|
|
622
715
|
ConversationJS.prototype.copy = function (conversation) {
|
|
623
|
-
return this.
|
|
716
|
+
return this.a2d(conversation === void 1 ? this.x2c_1 : conversation);
|
|
624
717
|
};
|
|
625
|
-
ConversationJS.prototype.
|
|
718
|
+
ConversationJS.prototype.a2d = function (conversation) {
|
|
626
719
|
return new ConversationJS(conversation);
|
|
627
720
|
};
|
|
628
|
-
ConversationJS.prototype.
|
|
721
|
+
ConversationJS.prototype.b2d = function (conversation, $mask0, $handler) {
|
|
629
722
|
if (!(($mask0 & 1) === 0))
|
|
630
|
-
conversation = this.
|
|
631
|
-
return this.
|
|
723
|
+
conversation = this.x2c_1;
|
|
724
|
+
return this.a2d(conversation);
|
|
632
725
|
};
|
|
633
726
|
ConversationJS.prototype.toString = function () {
|
|
634
|
-
return 'ConversationJS(conversation=' + this.
|
|
727
|
+
return 'ConversationJS(conversation=' + this.x2c_1 + ')';
|
|
635
728
|
};
|
|
636
729
|
ConversationJS.prototype.hashCode = function () {
|
|
637
|
-
return this.
|
|
730
|
+
return this.x2c_1.hashCode();
|
|
638
731
|
};
|
|
639
732
|
ConversationJS.prototype.equals = function (other) {
|
|
640
733
|
if (this === other)
|
|
@@ -642,20 +735,56 @@
|
|
|
642
735
|
if (!(other instanceof ConversationJS))
|
|
643
736
|
return false;
|
|
644
737
|
var tmp0_other_with_cast = other instanceof ConversationJS ? other : THROW_CCE();
|
|
645
|
-
if (!this.
|
|
738
|
+
if (!this.x2c_1.equals(tmp0_other_with_cast.x2c_1))
|
|
646
739
|
return false;
|
|
647
740
|
return true;
|
|
648
741
|
};
|
|
649
742
|
ConversationJS.$metadata$ = classMeta('ConversationJS');
|
|
650
743
|
Object.defineProperty(ConversationJS.prototype, 'id', {
|
|
651
744
|
configurable: true,
|
|
652
|
-
get: ConversationJS.prototype.
|
|
653
|
-
set: ConversationJS.prototype.
|
|
745
|
+
get: ConversationJS.prototype.o1k,
|
|
746
|
+
set: ConversationJS.prototype.z2c
|
|
654
747
|
});
|
|
655
748
|
function get_jsonNullable(_this__u8e3s4) {
|
|
656
749
|
var tmp0_subject = _this__u8e3s4;
|
|
657
750
|
return tmp0_subject == null ? null : equals(tmp0_subject, undefined) ? null : _this__u8e3s4;
|
|
658
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
|
+
}
|
|
659
788
|
function get_SOCKET_CONNECTED() {
|
|
660
789
|
return SOCKET_CONNECTED;
|
|
661
790
|
}
|
|
@@ -684,6 +813,109 @@
|
|
|
684
813
|
return REASON_PING_TIMEOUT;
|
|
685
814
|
}
|
|
686
815
|
var REASON_PING_TIMEOUT;
|
|
816
|
+
function RTCQualityJS(callQuality) {
|
|
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;
|
|
830
|
+
};
|
|
831
|
+
RTCQualityJS.prototype.n2d = function () {
|
|
832
|
+
return this.e2d_1;
|
|
833
|
+
};
|
|
834
|
+
RTCQualityJS.prototype.o2d = function () {
|
|
835
|
+
return this.f2d_1;
|
|
836
|
+
};
|
|
837
|
+
RTCQualityJS.prototype.p2d = function () {
|
|
838
|
+
return this.g2d_1;
|
|
839
|
+
};
|
|
840
|
+
RTCQualityJS.prototype.q2d = function () {
|
|
841
|
+
return this.h2d_1;
|
|
842
|
+
};
|
|
843
|
+
RTCQualityJS.prototype.r2d = function () {
|
|
844
|
+
return this.i2d_1;
|
|
845
|
+
};
|
|
846
|
+
RTCQualityJS.prototype.s2d = function () {
|
|
847
|
+
return this.j2d_1;
|
|
848
|
+
};
|
|
849
|
+
RTCQualityJS.prototype.t2d = function () {
|
|
850
|
+
return this.k2d_1;
|
|
851
|
+
};
|
|
852
|
+
RTCQualityJS.prototype.u2d = function () {
|
|
853
|
+
return this.l2d_1;
|
|
854
|
+
};
|
|
855
|
+
RTCQualityJS.prototype.copy = function (callQuality) {
|
|
856
|
+
return this.v2d(callQuality === void 1 ? this.c2d_1 : callQuality);
|
|
857
|
+
};
|
|
858
|
+
RTCQualityJS.prototype.v2d = function (callQuality) {
|
|
859
|
+
return new RTCQualityJS(callQuality);
|
|
860
|
+
};
|
|
861
|
+
RTCQualityJS.prototype.w2d = function (callQuality, $mask0, $handler) {
|
|
862
|
+
if (!(($mask0 & 1) === 0))
|
|
863
|
+
callQuality = this.c2d_1;
|
|
864
|
+
return this.v2d(callQuality);
|
|
865
|
+
};
|
|
866
|
+
RTCQualityJS.prototype.toString = function () {
|
|
867
|
+
return 'RTCQualityJS(callQuality=' + this.c2d_1 + ')';
|
|
868
|
+
};
|
|
869
|
+
RTCQualityJS.prototype.hashCode = function () {
|
|
870
|
+
return this.c2d_1.hashCode();
|
|
871
|
+
};
|
|
872
|
+
RTCQualityJS.prototype.equals = function (other) {
|
|
873
|
+
if (this === other)
|
|
874
|
+
return true;
|
|
875
|
+
if (!(other instanceof RTCQualityJS))
|
|
876
|
+
return false;
|
|
877
|
+
var tmp0_other_with_cast = other instanceof RTCQualityJS ? other : THROW_CCE();
|
|
878
|
+
if (!this.c2d_1.equals(tmp0_other_with_cast.c2d_1))
|
|
879
|
+
return false;
|
|
880
|
+
return true;
|
|
881
|
+
};
|
|
882
|
+
RTCQualityJS.$metadata$ = classMeta('RTCQualityJS');
|
|
883
|
+
Object.defineProperty(RTCQualityJS.prototype, 'mos_score', {
|
|
884
|
+
configurable: true,
|
|
885
|
+
get: RTCQualityJS.prototype.m2d
|
|
886
|
+
});
|
|
887
|
+
Object.defineProperty(RTCQualityJS.prototype, 'quality_percentage', {
|
|
888
|
+
configurable: true,
|
|
889
|
+
get: RTCQualityJS.prototype.n2d
|
|
890
|
+
});
|
|
891
|
+
Object.defineProperty(RTCQualityJS.prototype, 'jitter_min_var', {
|
|
892
|
+
configurable: true,
|
|
893
|
+
get: RTCQualityJS.prototype.o2d
|
|
894
|
+
});
|
|
895
|
+
Object.defineProperty(RTCQualityJS.prototype, 'jitter_max_var', {
|
|
896
|
+
configurable: true,
|
|
897
|
+
get: RTCQualityJS.prototype.p2d
|
|
898
|
+
});
|
|
899
|
+
Object.defineProperty(RTCQualityJS.prototype, 'jitter_loss_rate', {
|
|
900
|
+
configurable: true,
|
|
901
|
+
get: RTCQualityJS.prototype.q2d
|
|
902
|
+
});
|
|
903
|
+
Object.defineProperty(RTCQualityJS.prototype, 'jitter_burst_rate', {
|
|
904
|
+
configurable: true,
|
|
905
|
+
get: RTCQualityJS.prototype.r2d
|
|
906
|
+
});
|
|
907
|
+
Object.defineProperty(RTCQualityJS.prototype, 'flaw_total', {
|
|
908
|
+
configurable: true,
|
|
909
|
+
get: RTCQualityJS.prototype.s2d
|
|
910
|
+
});
|
|
911
|
+
Object.defineProperty(RTCQualityJS.prototype, 'packet_cnt', {
|
|
912
|
+
configurable: true,
|
|
913
|
+
get: RTCQualityJS.prototype.t2d
|
|
914
|
+
});
|
|
915
|
+
Object.defineProperty(RTCQualityJS.prototype, 'packet_loss_perc', {
|
|
916
|
+
configurable: true,
|
|
917
|
+
get: RTCQualityJS.prototype.u2d
|
|
918
|
+
});
|
|
687
919
|
function HttpClientJSAdapter(js) {
|
|
688
920
|
return new HttpClientJSAdapter$1(js);
|
|
689
921
|
}
|
|
@@ -707,9 +939,9 @@
|
|
|
707
939
|
};
|
|
708
940
|
}
|
|
709
941
|
function HttpClientJSAdapter$1($js) {
|
|
710
|
-
this.
|
|
942
|
+
this.x2d_1 = $js;
|
|
711
943
|
}
|
|
712
|
-
HttpClientJSAdapter$1.prototype.
|
|
944
|
+
HttpClientJSAdapter$1.prototype.f1b = function (verb, url, headers, body, callback) {
|
|
713
945
|
var tmp = verb.toString();
|
|
714
946
|
var tmp$ret$1;
|
|
715
947
|
// Inline function 'kotlin.let' call
|
|
@@ -719,7 +951,7 @@
|
|
|
719
951
|
tmp$ret$0 = fromMap(JSON, headers);
|
|
720
952
|
tmp$ret$1 = tmp$ret$0;
|
|
721
953
|
var tmp_0 = tmp$ret$1;
|
|
722
|
-
this.
|
|
954
|
+
this.x2d_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
|
|
723
955
|
};
|
|
724
956
|
HttpClientJSAdapter$1.$metadata$ = classMeta(undefined, [HTTPClient]);
|
|
725
957
|
function SocketClientJSAdapter$o$emit$lambda($callback) {
|
|
@@ -743,16 +975,16 @@
|
|
|
743
975
|
};
|
|
744
976
|
}
|
|
745
977
|
function SocketClientJSAdapter$adapter$1($js) {
|
|
746
|
-
this.
|
|
747
|
-
this.
|
|
978
|
+
this.z2d_1 = $js;
|
|
979
|
+
this.y2d_1 = null;
|
|
748
980
|
}
|
|
749
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
750
|
-
this.
|
|
981
|
+
SocketClientJSAdapter$adapter$1.prototype.i1b = function (_set____db54di) {
|
|
982
|
+
this.y2d_1 = _set____db54di;
|
|
751
983
|
};
|
|
752
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
753
|
-
return this.
|
|
984
|
+
SocketClientJSAdapter$adapter$1.prototype.k22 = function () {
|
|
985
|
+
return this.y2d_1;
|
|
754
986
|
};
|
|
755
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
987
|
+
SocketClientJSAdapter$adapter$1.prototype.j1b = function (type, msg, callback) {
|
|
756
988
|
var tmp0_safe_receiver = msg;
|
|
757
989
|
var tmp;
|
|
758
990
|
if (tmp0_safe_receiver == null) {
|
|
@@ -768,30 +1000,30 @@
|
|
|
768
1000
|
tmp = tmp$ret$1;
|
|
769
1001
|
}
|
|
770
1002
|
var tmp_0 = tmp;
|
|
771
|
-
this.
|
|
1003
|
+
this.z2d_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
|
|
772
1004
|
};
|
|
773
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
774
|
-
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);
|
|
775
1007
|
};
|
|
776
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
777
|
-
this.
|
|
1008
|
+
SocketClientJSAdapter$adapter$1.prototype.l1b = function () {
|
|
1009
|
+
this.z2d_1.disconnect();
|
|
778
1010
|
};
|
|
779
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
780
|
-
this.
|
|
1011
|
+
SocketClientJSAdapter$adapter$1.prototype.m1b = function (token) {
|
|
1012
|
+
this.z2d_1.setConnectParamsSocketConfig(token);
|
|
781
1013
|
};
|
|
782
|
-
SocketClientJSAdapter$adapter$1.prototype.
|
|
783
|
-
this.
|
|
1014
|
+
SocketClientJSAdapter$adapter$1.prototype.n1b = function (milliseconds, callback) {
|
|
1015
|
+
this.z2d_1.startVerifyResponseTimer(milliseconds, callback);
|
|
784
1016
|
};
|
|
785
1017
|
SocketClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [SocketClient]);
|
|
786
1018
|
function SocketClientJSAdapter$1($adapter) {
|
|
787
|
-
this.
|
|
1019
|
+
this.a2e_1 = $adapter;
|
|
788
1020
|
}
|
|
789
1021
|
SocketClientJSAdapter$1.prototype.didReceiveNewSocketEvent = function (type, body) {
|
|
790
|
-
var tmp0_safe_receiver = this.
|
|
1022
|
+
var tmp0_safe_receiver = this.a2e_1.y2d_1;
|
|
791
1023
|
if (tmp0_safe_receiver == null)
|
|
792
1024
|
null;
|
|
793
1025
|
else {
|
|
794
|
-
tmp0_safe_receiver.
|
|
1026
|
+
tmp0_safe_receiver.s26(new UnknownSocketEvent(body, type));
|
|
795
1027
|
}
|
|
796
1028
|
};
|
|
797
1029
|
SocketClientJSAdapter$1.prototype.didReceiveNewSocketConnectionStatusEvent = function (type, reason) {
|
|
@@ -825,60 +1057,60 @@
|
|
|
825
1057
|
var tmp;
|
|
826
1058
|
switch (tmp0_subject_0) {
|
|
827
1059
|
case 'NXMCORE_REASON_SERVER_DISCONNECTED':
|
|
828
|
-
var tmp1_safe_receiver_0 = this.
|
|
1060
|
+
var tmp1_safe_receiver_0 = this.a2e_1.y2d_1;
|
|
829
1061
|
var tmp_0;
|
|
830
1062
|
if (tmp1_safe_receiver_0 == null) {
|
|
831
1063
|
tmp_0 = null;
|
|
832
1064
|
} else {
|
|
833
|
-
tmp1_safe_receiver_0.
|
|
1065
|
+
tmp1_safe_receiver_0.t26(tmp1_safe_receiver, SocketConnectionFailedReason_ServerDisconnected_getInstance());
|
|
834
1066
|
tmp_0 = Unit_getInstance();
|
|
835
1067
|
}
|
|
836
1068
|
|
|
837
1069
|
tmp = tmp_0;
|
|
838
1070
|
break;
|
|
839
1071
|
case 'NXMCORE_REASON_CLIENT_DISCONNECTED':
|
|
840
|
-
var tmp2_safe_receiver = this.
|
|
1072
|
+
var tmp2_safe_receiver = this.a2e_1.y2d_1;
|
|
841
1073
|
var tmp_1;
|
|
842
1074
|
if (tmp2_safe_receiver == null) {
|
|
843
1075
|
tmp_1 = null;
|
|
844
1076
|
} else {
|
|
845
|
-
tmp2_safe_receiver.
|
|
1077
|
+
tmp2_safe_receiver.t26(tmp1_safe_receiver, SocketConnectionFailedReason_ClientDisconnected_getInstance());
|
|
846
1078
|
tmp_1 = Unit_getInstance();
|
|
847
1079
|
}
|
|
848
1080
|
|
|
849
1081
|
tmp = tmp_1;
|
|
850
1082
|
break;
|
|
851
1083
|
case 'NXMCORE_CLIENT_NETWORK_ERROR':
|
|
852
|
-
var tmp3_safe_receiver = this.
|
|
1084
|
+
var tmp3_safe_receiver = this.a2e_1.y2d_1;
|
|
853
1085
|
var tmp_2;
|
|
854
1086
|
if (tmp3_safe_receiver == null) {
|
|
855
1087
|
tmp_2 = null;
|
|
856
1088
|
} else {
|
|
857
|
-
tmp3_safe_receiver.
|
|
1089
|
+
tmp3_safe_receiver.t26(tmp1_safe_receiver, SocketConnectionFailedReason_ClientNetworkError_getInstance());
|
|
858
1090
|
tmp_2 = Unit_getInstance();
|
|
859
1091
|
}
|
|
860
1092
|
|
|
861
1093
|
tmp = tmp_2;
|
|
862
1094
|
break;
|
|
863
1095
|
case 'NXMCORE_REASON_PING_TIMEOUT':
|
|
864
|
-
var tmp4_safe_receiver = this.
|
|
1096
|
+
var tmp4_safe_receiver = this.a2e_1.y2d_1;
|
|
865
1097
|
var tmp_3;
|
|
866
1098
|
if (tmp4_safe_receiver == null) {
|
|
867
1099
|
tmp_3 = null;
|
|
868
1100
|
} else {
|
|
869
|
-
tmp4_safe_receiver.
|
|
1101
|
+
tmp4_safe_receiver.t26(tmp1_safe_receiver, SocketConnectionFailedReason_PingTimeout_getInstance());
|
|
870
1102
|
tmp_3 = Unit_getInstance();
|
|
871
1103
|
}
|
|
872
1104
|
|
|
873
1105
|
tmp = tmp_3;
|
|
874
1106
|
break;
|
|
875
1107
|
default:
|
|
876
|
-
var tmp5_safe_receiver = this.
|
|
1108
|
+
var tmp5_safe_receiver = this.a2e_1.y2d_1;
|
|
877
1109
|
var tmp_4;
|
|
878
1110
|
if (tmp5_safe_receiver == null) {
|
|
879
1111
|
tmp_4 = null;
|
|
880
1112
|
} else {
|
|
881
|
-
tmp5_safe_receiver.
|
|
1113
|
+
tmp5_safe_receiver.t26(tmp1_safe_receiver, null);
|
|
882
1114
|
tmp_4 = Unit_getInstance();
|
|
883
1115
|
}
|
|
884
1116
|
|
|
@@ -891,56 +1123,56 @@
|
|
|
891
1123
|
};
|
|
892
1124
|
SocketClientJSAdapter$1.$metadata$ = classMeta();
|
|
893
1125
|
function MediaClientJSAdapter$adapter$1($js) {
|
|
894
|
-
this.
|
|
895
|
-
this.
|
|
1126
|
+
this.c2e_1 = $js;
|
|
1127
|
+
this.b2e_1 = null;
|
|
896
1128
|
}
|
|
897
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
898
|
-
this.
|
|
1129
|
+
MediaClientJSAdapter$adapter$1.prototype.q1b = function (_set____db54di) {
|
|
1130
|
+
this.b2e_1 = _set____db54di;
|
|
899
1131
|
};
|
|
900
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
901
|
-
this.
|
|
1132
|
+
MediaClientJSAdapter$adapter$1.prototype.r1b = function (id) {
|
|
1133
|
+
this.c2e_1.enableMedia(id, null);
|
|
902
1134
|
};
|
|
903
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
904
|
-
this.
|
|
1135
|
+
MediaClientJSAdapter$adapter$1.prototype.s1b = function (id, remoteDescription) {
|
|
1136
|
+
this.c2e_1.enableMedia(id, remoteDescription);
|
|
905
1137
|
};
|
|
906
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
907
|
-
this.
|
|
1138
|
+
MediaClientJSAdapter$adapter$1.prototype.t1b = function (id, sdp, streamId, legId) {
|
|
1139
|
+
this.c2e_1.processAnswer(id, sdp, streamId, legId);
|
|
908
1140
|
};
|
|
909
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
910
|
-
this.
|
|
1141
|
+
MediaClientJSAdapter$adapter$1.prototype.u1b = function (id) {
|
|
1142
|
+
this.c2e_1.disableMedia(id);
|
|
911
1143
|
};
|
|
912
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
913
|
-
this.
|
|
1144
|
+
MediaClientJSAdapter$adapter$1.prototype.v1b = function (id) {
|
|
1145
|
+
this.c2e_1.mute(id);
|
|
914
1146
|
};
|
|
915
|
-
MediaClientJSAdapter$adapter$1.prototype.
|
|
916
|
-
this.
|
|
1147
|
+
MediaClientJSAdapter$adapter$1.prototype.w1b = function (id) {
|
|
1148
|
+
this.c2e_1.unmute(id);
|
|
917
1149
|
};
|
|
918
1150
|
MediaClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [MediaClient]);
|
|
919
1151
|
function MediaClientJSAdapter$1($adapter) {
|
|
920
|
-
this.
|
|
1152
|
+
this.d2e_1 = $adapter;
|
|
921
1153
|
}
|
|
922
1154
|
MediaClientJSAdapter$1.prototype.onOffer = function (mediaId, streamId, sdp, callback) {
|
|
923
|
-
var tmp0_safe_receiver = this.
|
|
1155
|
+
var tmp0_safe_receiver = this.d2e_1.b2e_1;
|
|
924
1156
|
if (tmp0_safe_receiver == null)
|
|
925
1157
|
null;
|
|
926
1158
|
else {
|
|
927
|
-
tmp0_safe_receiver.
|
|
1159
|
+
tmp0_safe_receiver.p26(mediaId, streamId, sdp, callback);
|
|
928
1160
|
}
|
|
929
1161
|
};
|
|
930
1162
|
MediaClientJSAdapter$1.prototype.onAnswer = function (mediaId, streamId, sdp, callback) {
|
|
931
|
-
var tmp0_safe_receiver = this.
|
|
1163
|
+
var tmp0_safe_receiver = this.d2e_1.b2e_1;
|
|
932
1164
|
if (tmp0_safe_receiver == null)
|
|
933
1165
|
null;
|
|
934
1166
|
else {
|
|
935
|
-
tmp0_safe_receiver.
|
|
1167
|
+
tmp0_safe_receiver.q26(mediaId, streamId, sdp, callback);
|
|
936
1168
|
}
|
|
937
1169
|
};
|
|
938
1170
|
MediaClientJSAdapter$1.prototype.onError = function (mediaId, error) {
|
|
939
|
-
var tmp0_safe_receiver = this.
|
|
1171
|
+
var tmp0_safe_receiver = this.d2e_1.b2e_1;
|
|
940
1172
|
if (tmp0_safe_receiver == null)
|
|
941
1173
|
null;
|
|
942
1174
|
else {
|
|
943
|
-
tmp0_safe_receiver.
|
|
1175
|
+
tmp0_safe_receiver.r26(mediaId, Exception_init_$Create$(error));
|
|
944
1176
|
}
|
|
945
1177
|
};
|
|
946
1178
|
MediaClientJSAdapter$1.$metadata$ = classMeta();
|
|
@@ -1080,7 +1312,50 @@
|
|
|
1080
1312
|
//region block: exports
|
|
1081
1313
|
function $jsExportAll$(_) {
|
|
1082
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
|
+
});
|
|
1083
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;
|
|
1084
1359
|
$vonage.CoreClientJS = CoreClientJS;
|
|
1085
1360
|
$vonage.VoiceCallJS = VoiceCallJS;
|
|
1086
1361
|
$vonage.VoiceInviteFromInfoJS = VoiceInviteFromInfoJS;
|
|
@@ -1115,6 +1390,7 @@
|
|
|
1115
1390
|
configurable: true,
|
|
1116
1391
|
get: get_REASON_PING_TIMEOUT
|
|
1117
1392
|
});
|
|
1393
|
+
$vonage.RTCQualityJS = RTCQualityJS;
|
|
1118
1394
|
}
|
|
1119
1395
|
$jsExportAll$(_);
|
|
1120
1396
|
//endregion
|