@dcl-regenesislabs/bevy-explorer-web 0.1.0-22619496695.commit-da2ea2d → 0.1.0-22720081560.commit-59b2815
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/.env +1 -1
- package/index.html +1 -1
- package/package.json +3 -3
- package/pkg/manifest.json +1 -1
- package/pkg/snippets/comms-53217a45365bb5fa/livekit_web_bindings.js +31 -3
- package/pkg/webgpu_build.d.ts +9 -43
- package/pkg/webgpu_build.js +57 -215
- package/pkg/webgpu_build_bg.wasm +0 -0
- package/pkg/webgpu_build_bg.wasm.d.ts +9 -27
package/.env
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
1
|
+
PUBLIC_URL="https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-22720081560.commit-59b2815"
|
package/index.html
CHANGED
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
}
|
|
412
412
|
</style>
|
|
413
413
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
|
|
414
|
-
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
414
|
+
<script>window.PUBLIC_URL = "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-22720081560.commit-59b2815";</script>
|
|
415
415
|
</head>
|
|
416
416
|
<body>
|
|
417
417
|
<div id="header" class="container">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl-regenesislabs/bevy-explorer-web",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-22720081560.commit-59b2815",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"postinstall": "node ./scripts/prebuild.js"
|
|
6
6
|
},
|
|
@@ -8,6 +8,6 @@
|
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/decentraland/bevy-explorer.git"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-
|
|
12
|
-
"commit": "
|
|
11
|
+
"homepage": "https://cdn.decentraland.org/@dcl-regenesislabs/bevy-explorer-web/0.1.0-22720081560.commit-59b2815",
|
|
12
|
+
"commit": "59b281510ec7784531751d9ff1aac545482dd700"
|
|
13
13
|
}
|
package/pkg/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"wasmSize":
|
|
1
|
+
{"wasmSize":115900913}
|
|
@@ -206,7 +206,22 @@ function set_room_event_handler(room, handler) {
|
|
|
206
206
|
audioContext = new (window.AudioContext || window.webkitAudioContext)();
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
|
|
209
|
+
if (remote_participant.identity.endsWith("-streamer")) {
|
|
210
|
+
if (remote_track.audioElement) {
|
|
211
|
+
error(`Rebuilding audio element of ${remote_track.sid} for ${remote_participant.sid} (${remote_participant.identity}).`);
|
|
212
|
+
const audioElement = remote_track.audioElement;
|
|
213
|
+
delete remote_track.audioElement;
|
|
214
|
+
remote_track.detach(audioElement);
|
|
215
|
+
}
|
|
216
|
+
const streamPlayerContainer = window.document.querySelector("#stream-player-container");
|
|
217
|
+
if (streamPlayerContainer) {
|
|
218
|
+
const audioElement = remote_track.attach();
|
|
219
|
+
streamPlayerContainer.append(audioElement);
|
|
220
|
+
remote_track.audioElement = audioElement;
|
|
221
|
+
}
|
|
222
|
+
} else {
|
|
223
|
+
track_rig_new(remote_track);
|
|
224
|
+
}
|
|
210
225
|
} else if (remote_track.kind == "video") {
|
|
211
226
|
if (remote_track.videoElement) {
|
|
212
227
|
error(`Rebuilding video element of ${remote_track.sid} for ${remote_participant.sid} (${remote_participant.identity}).`);
|
|
@@ -240,6 +255,12 @@ function set_room_event_handler(room, handler) {
|
|
|
240
255
|
if (remote_track.kind === "audio") {
|
|
241
256
|
track_rig_drop(remote_track);
|
|
242
257
|
}
|
|
258
|
+
if (remote_track.audioElement) {
|
|
259
|
+
const audioElement = remote_track.audioElement;
|
|
260
|
+
delete remote_track.audioElement;
|
|
261
|
+
remote_track.detach(audioElement);
|
|
262
|
+
audioElement.remove();
|
|
263
|
+
}
|
|
243
264
|
|
|
244
265
|
handler({
|
|
245
266
|
type: 'trackUnsubscribed',
|
|
@@ -401,14 +422,12 @@ export function remote_track_publication_set_subscribed(remote_track_publication
|
|
|
401
422
|
remote_track_publication.setSubscribed(subscribed);
|
|
402
423
|
}
|
|
403
424
|
|
|
404
|
-
|
|
405
425
|
/**
|
|
406
426
|
*
|
|
407
427
|
* @param {livekit.RemoteTrackPublication} remote_track_publication
|
|
408
428
|
* @returns livekit.RemoteTrack | null
|
|
409
429
|
*/
|
|
410
430
|
export function remote_track_publication_track(remote_track_publication) {
|
|
411
|
-
log(remote_track_publication);
|
|
412
431
|
return remote_track_publication.track;
|
|
413
432
|
}
|
|
414
433
|
|
|
@@ -513,3 +532,12 @@ export function remote_track_pan_and_volume(remote_track, pan, volume) {
|
|
|
513
532
|
|
|
514
533
|
// log(`[${audioContext.state}] Set spatial audio for ${participantIdentity} : pan=${nodes.pannerNode.pan.value}, volume=${nodes.gainNode.gain.value}`);
|
|
515
534
|
}
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
*
|
|
538
|
+
* @param {LivekitClient.RemoteAudioTrack} remote_audio_track
|
|
539
|
+
* @param {number} volume
|
|
540
|
+
*/
|
|
541
|
+
export function remote_audio_track_set_volume(remote_audio_track, volume) {
|
|
542
|
+
remote_audio_track.setVolume(volume);
|
|
543
|
+
}
|
package/pkg/webgpu_build.d.ts
CHANGED
|
@@ -138,22 +138,6 @@ export class DataPublishOptions {
|
|
|
138
138
|
private constructor();
|
|
139
139
|
free(): void;
|
|
140
140
|
}
|
|
141
|
-
export class InternalRoomConnectOptions {
|
|
142
|
-
private constructor();
|
|
143
|
-
free(): void;
|
|
144
|
-
autoSubscribe: boolean;
|
|
145
|
-
peerConnectionTimeout: number;
|
|
146
|
-
maxRetries: number;
|
|
147
|
-
websocketTimeout: number;
|
|
148
|
-
}
|
|
149
|
-
export class InternalRoomOptions {
|
|
150
|
-
private constructor();
|
|
151
|
-
free(): void;
|
|
152
|
-
adaptiveStream: boolean;
|
|
153
|
-
dynacast: boolean;
|
|
154
|
-
stopLocalTrackOnUnpublish: boolean;
|
|
155
|
-
disconnectOnPageLeave: boolean;
|
|
156
|
-
}
|
|
157
141
|
export class ParticipantSid {
|
|
158
142
|
private constructor();
|
|
159
143
|
free(): void;
|
|
@@ -180,16 +164,6 @@ export interface InitOutput {
|
|
|
180
164
|
readonly __wbg_get_audiocaptureoptions_sampleRate: (a: number) => [number, bigint];
|
|
181
165
|
readonly __wbg_get_audiocaptureoptions_sampleSize: (a: number) => [number, bigint];
|
|
182
166
|
readonly __wbg_get_audiocaptureoptions_voiceIsolation: (a: number) => number;
|
|
183
|
-
readonly __wbg_get_internalroomconnectoptions_autoSubscribe: (a: number) => number;
|
|
184
|
-
readonly __wbg_get_internalroomconnectoptions_maxRetries: (a: number) => number;
|
|
185
|
-
readonly __wbg_get_internalroomconnectoptions_peerConnectionTimeout: (a: number) => number;
|
|
186
|
-
readonly __wbg_get_internalroomconnectoptions_websocketTimeout: (a: number) => number;
|
|
187
|
-
readonly __wbg_get_internalroomoptions_adaptiveStream: (a: number) => number;
|
|
188
|
-
readonly __wbg_get_internalroomoptions_disconnectOnPageLeave: (a: number) => number;
|
|
189
|
-
readonly __wbg_get_internalroomoptions_dynacast: (a: number) => number;
|
|
190
|
-
readonly __wbg_get_internalroomoptions_stopLocalTrackOnUnpublish: (a: number) => number;
|
|
191
|
-
readonly __wbg_internalroomconnectoptions_free: (a: number, b: number) => void;
|
|
192
|
-
readonly __wbg_internalroomoptions_free: (a: number, b: number) => void;
|
|
193
167
|
readonly __wbg_participantsid_free: (a: number, b: number) => void;
|
|
194
168
|
readonly __wbg_set_audiocaptureoptions_autoGainControl: (a: number, b: number) => void;
|
|
195
169
|
readonly __wbg_set_audiocaptureoptions_channelCount: (a: number, b: number, c: bigint) => void;
|
|
@@ -199,14 +173,6 @@ export interface InitOutput {
|
|
|
199
173
|
readonly __wbg_set_audiocaptureoptions_sampleRate: (a: number, b: number, c: bigint) => void;
|
|
200
174
|
readonly __wbg_set_audiocaptureoptions_sampleSize: (a: number, b: number, c: bigint) => void;
|
|
201
175
|
readonly __wbg_set_audiocaptureoptions_voiceIsolation: (a: number, b: number) => void;
|
|
202
|
-
readonly __wbg_set_internalroomconnectoptions_autoSubscribe: (a: number, b: number) => void;
|
|
203
|
-
readonly __wbg_set_internalroomconnectoptions_maxRetries: (a: number, b: number) => void;
|
|
204
|
-
readonly __wbg_set_internalroomconnectoptions_peerConnectionTimeout: (a: number, b: number) => void;
|
|
205
|
-
readonly __wbg_set_internalroomconnectoptions_websocketTimeout: (a: number, b: number) => void;
|
|
206
|
-
readonly __wbg_set_internalroomoptions_adaptiveStream: (a: number, b: number) => void;
|
|
207
|
-
readonly __wbg_set_internalroomoptions_disconnectOnPageLeave: (a: number, b: number) => void;
|
|
208
|
-
readonly __wbg_set_internalroomoptions_dynacast: (a: number, b: number) => void;
|
|
209
|
-
readonly __wbg_set_internalroomoptions_stopLocalTrackOnUnpublish: (a: number, b: number) => void;
|
|
210
176
|
readonly image_processor_init: () => void;
|
|
211
177
|
readonly image_processor_run: () => any;
|
|
212
178
|
readonly __wbg_workercontext_free: (a: number, b: number) => void;
|
|
@@ -317,20 +283,20 @@ export interface InitOutput {
|
|
|
317
283
|
readonly __wbindgen_export_7: WebAssembly.Table;
|
|
318
284
|
readonly __externref_table_dealloc: (a: number) => void;
|
|
319
285
|
readonly __externref_drop_slice: (a: number, b: number) => void;
|
|
320
|
-
readonly
|
|
321
|
-
readonly
|
|
322
|
-
readonly
|
|
286
|
+
readonly closure15938_externref_shim: (a: number, b: number, c: number, d: any) => void;
|
|
287
|
+
readonly closure41955_externref_shim: (a: number, b: number, c: any) => void;
|
|
288
|
+
readonly closure51456_externref_shim: (a: number, b: number, c: any) => void;
|
|
323
289
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______: (a: number, b: number) => void;
|
|
324
290
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______15: (a: number, b: number) => void;
|
|
325
|
-
readonly
|
|
291
|
+
readonly closure55110_externref_shim: (a: number, b: number, c: any) => void;
|
|
326
292
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______17: (a: number, b: number) => void;
|
|
327
293
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______18: (a: number, b: number) => void;
|
|
328
|
-
readonly
|
|
329
|
-
readonly
|
|
294
|
+
readonly closure60190_externref_shim: (a: number, b: number, c: any) => void;
|
|
295
|
+
readonly closure60194_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
330
296
|
readonly _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______21: (a: number, b: number) => void;
|
|
331
|
-
readonly
|
|
332
|
-
readonly
|
|
333
|
-
readonly
|
|
297
|
+
readonly closure120147_externref_shim: (a: number, b: number, c: any) => void;
|
|
298
|
+
readonly closure135396_externref_shim: (a: number, b: number, c: any) => void;
|
|
299
|
+
readonly closure138289_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
334
300
|
readonly __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
335
301
|
readonly __wbindgen_start: (a: number) => void;
|
|
336
302
|
}
|
package/pkg/webgpu_build.js
CHANGED
|
@@ -1450,15 +1450,15 @@ export function gpu_cache_hash() {
|
|
|
1450
1450
|
}
|
|
1451
1451
|
|
|
1452
1452
|
function __wbg_adapter_62(arg0, arg1, arg2, arg3) {
|
|
1453
|
-
wasm.
|
|
1453
|
+
wasm.closure15938_externref_shim(arg0, arg1, arg2, arg3);
|
|
1454
1454
|
}
|
|
1455
1455
|
|
|
1456
1456
|
function __wbg_adapter_65(arg0, arg1, arg2) {
|
|
1457
|
-
wasm.
|
|
1457
|
+
wasm.closure41955_externref_shim(arg0, arg1, arg2);
|
|
1458
1458
|
}
|
|
1459
1459
|
|
|
1460
1460
|
function __wbg_adapter_68(arg0, arg1, arg2) {
|
|
1461
|
-
wasm.
|
|
1461
|
+
wasm.closure51456_externref_shim(arg0, arg1, arg2);
|
|
1462
1462
|
}
|
|
1463
1463
|
|
|
1464
1464
|
function __wbg_adapter_71(arg0, arg1) {
|
|
@@ -1470,7 +1470,7 @@ function __wbg_adapter_74(arg0, arg1) {
|
|
|
1470
1470
|
}
|
|
1471
1471
|
|
|
1472
1472
|
function __wbg_adapter_77(arg0, arg1, arg2) {
|
|
1473
|
-
wasm.
|
|
1473
|
+
wasm.closure55110_externref_shim(arg0, arg1, arg2);
|
|
1474
1474
|
}
|
|
1475
1475
|
|
|
1476
1476
|
function __wbg_adapter_84(arg0, arg1) {
|
|
@@ -1482,11 +1482,11 @@ function __wbg_adapter_87(arg0, arg1) {
|
|
|
1482
1482
|
}
|
|
1483
1483
|
|
|
1484
1484
|
function __wbg_adapter_90(arg0, arg1, arg2) {
|
|
1485
|
-
wasm.
|
|
1485
|
+
wasm.closure60190_externref_shim(arg0, arg1, arg2);
|
|
1486
1486
|
}
|
|
1487
1487
|
|
|
1488
1488
|
function __wbg_adapter_93(arg0, arg1, arg2, arg3) {
|
|
1489
|
-
wasm.
|
|
1489
|
+
wasm.closure60194_externref_shim(arg0, arg1, arg2, arg3);
|
|
1490
1490
|
}
|
|
1491
1491
|
|
|
1492
1492
|
function __wbg_adapter_108(arg0, arg1) {
|
|
@@ -1494,15 +1494,15 @@ function __wbg_adapter_108(arg0, arg1) {
|
|
|
1494
1494
|
}
|
|
1495
1495
|
|
|
1496
1496
|
function __wbg_adapter_111(arg0, arg1, arg2) {
|
|
1497
|
-
wasm.
|
|
1497
|
+
wasm.closure120147_externref_shim(arg0, arg1, arg2);
|
|
1498
1498
|
}
|
|
1499
1499
|
|
|
1500
1500
|
function __wbg_adapter_114(arg0, arg1, arg2) {
|
|
1501
|
-
wasm.
|
|
1501
|
+
wasm.closure135396_externref_shim(arg0, arg1, arg2);
|
|
1502
1502
|
}
|
|
1503
1503
|
|
|
1504
|
-
function
|
|
1505
|
-
wasm.
|
|
1504
|
+
function __wbg_adapter_1589(arg0, arg1, arg2, arg3) {
|
|
1505
|
+
wasm.closure138289_externref_shim(arg0, arg1, arg2, arg3);
|
|
1506
1506
|
}
|
|
1507
1507
|
|
|
1508
1508
|
/**
|
|
@@ -1741,164 +1741,6 @@ export class DataPublishOptions {
|
|
|
1741
1741
|
}
|
|
1742
1742
|
}
|
|
1743
1743
|
|
|
1744
|
-
const InternalRoomConnectOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1745
|
-
? { register: () => {}, unregister: () => {} }
|
|
1746
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_internalroomconnectoptions_free(ptr >>> 0, 1));
|
|
1747
|
-
|
|
1748
|
-
export class InternalRoomConnectOptions {
|
|
1749
|
-
|
|
1750
|
-
static __wrap(ptr) {
|
|
1751
|
-
ptr = ptr >>> 0;
|
|
1752
|
-
const obj = Object.create(InternalRoomConnectOptions.prototype);
|
|
1753
|
-
obj.__wbg_ptr = ptr;
|
|
1754
|
-
InternalRoomConnectOptionsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1755
|
-
return obj;
|
|
1756
|
-
}
|
|
1757
|
-
|
|
1758
|
-
__destroy_into_raw() {
|
|
1759
|
-
const ptr = this.__wbg_ptr;
|
|
1760
|
-
this.__wbg_ptr = 0;
|
|
1761
|
-
InternalRoomConnectOptionsFinalization.unregister(this);
|
|
1762
|
-
return ptr;
|
|
1763
|
-
}
|
|
1764
|
-
|
|
1765
|
-
free() {
|
|
1766
|
-
const ptr = this.__destroy_into_raw();
|
|
1767
|
-
wasm.__wbg_internalroomconnectoptions_free(ptr, 0);
|
|
1768
|
-
}
|
|
1769
|
-
/**
|
|
1770
|
-
* @returns {boolean}
|
|
1771
|
-
*/
|
|
1772
|
-
get autoSubscribe() {
|
|
1773
|
-
const ret = wasm.__wbg_get_internalroomconnectoptions_autoSubscribe(this.__wbg_ptr);
|
|
1774
|
-
return ret !== 0;
|
|
1775
|
-
}
|
|
1776
|
-
/**
|
|
1777
|
-
* @param {boolean} arg0
|
|
1778
|
-
*/
|
|
1779
|
-
set autoSubscribe(arg0) {
|
|
1780
|
-
wasm.__wbg_set_internalroomconnectoptions_autoSubscribe(this.__wbg_ptr, arg0);
|
|
1781
|
-
}
|
|
1782
|
-
/**
|
|
1783
|
-
* @returns {number}
|
|
1784
|
-
*/
|
|
1785
|
-
get peerConnectionTimeout() {
|
|
1786
|
-
const ret = wasm.__wbg_get_internalroomconnectoptions_peerConnectionTimeout(this.__wbg_ptr);
|
|
1787
|
-
return ret >>> 0;
|
|
1788
|
-
}
|
|
1789
|
-
/**
|
|
1790
|
-
* @param {number} arg0
|
|
1791
|
-
*/
|
|
1792
|
-
set peerConnectionTimeout(arg0) {
|
|
1793
|
-
wasm.__wbg_set_internalroomconnectoptions_peerConnectionTimeout(this.__wbg_ptr, arg0);
|
|
1794
|
-
}
|
|
1795
|
-
/**
|
|
1796
|
-
* @returns {number}
|
|
1797
|
-
*/
|
|
1798
|
-
get maxRetries() {
|
|
1799
|
-
const ret = wasm.__wbg_get_internalroomconnectoptions_maxRetries(this.__wbg_ptr);
|
|
1800
|
-
return ret >>> 0;
|
|
1801
|
-
}
|
|
1802
|
-
/**
|
|
1803
|
-
* @param {number} arg0
|
|
1804
|
-
*/
|
|
1805
|
-
set maxRetries(arg0) {
|
|
1806
|
-
wasm.__wbg_set_internalroomconnectoptions_maxRetries(this.__wbg_ptr, arg0);
|
|
1807
|
-
}
|
|
1808
|
-
/**
|
|
1809
|
-
* @returns {number}
|
|
1810
|
-
*/
|
|
1811
|
-
get websocketTimeout() {
|
|
1812
|
-
const ret = wasm.__wbg_get_internalroomconnectoptions_websocketTimeout(this.__wbg_ptr);
|
|
1813
|
-
return ret >>> 0;
|
|
1814
|
-
}
|
|
1815
|
-
/**
|
|
1816
|
-
* @param {number} arg0
|
|
1817
|
-
*/
|
|
1818
|
-
set websocketTimeout(arg0) {
|
|
1819
|
-
wasm.__wbg_set_internalroomconnectoptions_websocketTimeout(this.__wbg_ptr, arg0);
|
|
1820
|
-
}
|
|
1821
|
-
}
|
|
1822
|
-
|
|
1823
|
-
const InternalRoomOptionsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1824
|
-
? { register: () => {}, unregister: () => {} }
|
|
1825
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_internalroomoptions_free(ptr >>> 0, 1));
|
|
1826
|
-
|
|
1827
|
-
export class InternalRoomOptions {
|
|
1828
|
-
|
|
1829
|
-
static __wrap(ptr) {
|
|
1830
|
-
ptr = ptr >>> 0;
|
|
1831
|
-
const obj = Object.create(InternalRoomOptions.prototype);
|
|
1832
|
-
obj.__wbg_ptr = ptr;
|
|
1833
|
-
InternalRoomOptionsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
1834
|
-
return obj;
|
|
1835
|
-
}
|
|
1836
|
-
|
|
1837
|
-
__destroy_into_raw() {
|
|
1838
|
-
const ptr = this.__wbg_ptr;
|
|
1839
|
-
this.__wbg_ptr = 0;
|
|
1840
|
-
InternalRoomOptionsFinalization.unregister(this);
|
|
1841
|
-
return ptr;
|
|
1842
|
-
}
|
|
1843
|
-
|
|
1844
|
-
free() {
|
|
1845
|
-
const ptr = this.__destroy_into_raw();
|
|
1846
|
-
wasm.__wbg_internalroomoptions_free(ptr, 0);
|
|
1847
|
-
}
|
|
1848
|
-
/**
|
|
1849
|
-
* @returns {boolean}
|
|
1850
|
-
*/
|
|
1851
|
-
get adaptiveStream() {
|
|
1852
|
-
const ret = wasm.__wbg_get_internalroomoptions_adaptiveStream(this.__wbg_ptr);
|
|
1853
|
-
return ret !== 0;
|
|
1854
|
-
}
|
|
1855
|
-
/**
|
|
1856
|
-
* @param {boolean} arg0
|
|
1857
|
-
*/
|
|
1858
|
-
set adaptiveStream(arg0) {
|
|
1859
|
-
wasm.__wbg_set_internalroomoptions_adaptiveStream(this.__wbg_ptr, arg0);
|
|
1860
|
-
}
|
|
1861
|
-
/**
|
|
1862
|
-
* @returns {boolean}
|
|
1863
|
-
*/
|
|
1864
|
-
get dynacast() {
|
|
1865
|
-
const ret = wasm.__wbg_get_internalroomoptions_dynacast(this.__wbg_ptr);
|
|
1866
|
-
return ret !== 0;
|
|
1867
|
-
}
|
|
1868
|
-
/**
|
|
1869
|
-
* @param {boolean} arg0
|
|
1870
|
-
*/
|
|
1871
|
-
set dynacast(arg0) {
|
|
1872
|
-
wasm.__wbg_set_internalroomoptions_dynacast(this.__wbg_ptr, arg0);
|
|
1873
|
-
}
|
|
1874
|
-
/**
|
|
1875
|
-
* @returns {boolean}
|
|
1876
|
-
*/
|
|
1877
|
-
get stopLocalTrackOnUnpublish() {
|
|
1878
|
-
const ret = wasm.__wbg_get_internalroomoptions_stopLocalTrackOnUnpublish(this.__wbg_ptr);
|
|
1879
|
-
return ret !== 0;
|
|
1880
|
-
}
|
|
1881
|
-
/**
|
|
1882
|
-
* @param {boolean} arg0
|
|
1883
|
-
*/
|
|
1884
|
-
set stopLocalTrackOnUnpublish(arg0) {
|
|
1885
|
-
wasm.__wbg_set_internalroomoptions_stopLocalTrackOnUnpublish(this.__wbg_ptr, arg0);
|
|
1886
|
-
}
|
|
1887
|
-
/**
|
|
1888
|
-
* @returns {boolean}
|
|
1889
|
-
*/
|
|
1890
|
-
get disconnectOnPageLeave() {
|
|
1891
|
-
const ret = wasm.__wbg_get_internalroomoptions_disconnectOnPageLeave(this.__wbg_ptr);
|
|
1892
|
-
return ret !== 0;
|
|
1893
|
-
}
|
|
1894
|
-
/**
|
|
1895
|
-
* @param {boolean} arg0
|
|
1896
|
-
*/
|
|
1897
|
-
set disconnectOnPageLeave(arg0) {
|
|
1898
|
-
wasm.__wbg_set_internalroomoptions_disconnectOnPageLeave(this.__wbg_ptr, arg0);
|
|
1899
|
-
}
|
|
1900
|
-
}
|
|
1901
|
-
|
|
1902
1744
|
const ParticipantSidFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1903
1745
|
? { register: () => {}, unregister: () => {} }
|
|
1904
1746
|
: new FinalizationRegistry(ptr => wasm.__wbg_participantsid_free(ptr >>> 0, 1));
|
|
@@ -3209,7 +3051,7 @@ function __wbg_get_imports() {
|
|
|
3209
3051
|
const a = state0.a;
|
|
3210
3052
|
state0.a = 0;
|
|
3211
3053
|
try {
|
|
3212
|
-
return
|
|
3054
|
+
return __wbg_adapter_1589(a, state0.b, arg0, arg1);
|
|
3213
3055
|
} finally {
|
|
3214
3056
|
state0.a = a;
|
|
3215
3057
|
}
|
|
@@ -3640,8 +3482,8 @@ function __wbg_get_imports() {
|
|
|
3640
3482
|
const ret = room_close(arg0);
|
|
3641
3483
|
return ret;
|
|
3642
3484
|
}, arguments) };
|
|
3643
|
-
imports.wbg.
|
|
3644
|
-
const ret = room_connect(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3),
|
|
3485
|
+
imports.wbg.__wbg_roomconnect_d691dea9e10de176 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3486
|
+
const ret = room_connect(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), arg4, arg5, arg6);
|
|
3645
3487
|
return ret;
|
|
3646
3488
|
}, arguments) };
|
|
3647
3489
|
imports.wbg.__wbg_roomname_fb978d7ceaf1842f = function(arg0, arg1) {
|
|
@@ -4810,92 +4652,92 @@ function __wbg_get_imports() {
|
|
|
4810
4652
|
const ret = false;
|
|
4811
4653
|
return ret;
|
|
4812
4654
|
};
|
|
4813
|
-
imports.wbg.
|
|
4814
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4655
|
+
imports.wbg.__wbindgen_closure_wrapper151763 = function(arg0, arg1, arg2) {
|
|
4656
|
+
const ret = makeMutClosure(arg0, arg1, 120148, __wbg_adapter_111);
|
|
4815
4657
|
return ret;
|
|
4816
4658
|
};
|
|
4817
|
-
imports.wbg.
|
|
4818
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4659
|
+
imports.wbg.__wbindgen_closure_wrapper172553 = function(arg0, arg1, arg2) {
|
|
4660
|
+
const ret = makeMutClosure(arg0, arg1, 135397, __wbg_adapter_114);
|
|
4819
4661
|
return ret;
|
|
4820
4662
|
};
|
|
4821
|
-
imports.wbg.
|
|
4822
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4663
|
+
imports.wbg.__wbindgen_closure_wrapper172555 = function(arg0, arg1, arg2) {
|
|
4664
|
+
const ret = makeMutClosure(arg0, arg1, 135397, __wbg_adapter_114);
|
|
4823
4665
|
return ret;
|
|
4824
4666
|
};
|
|
4825
|
-
imports.wbg.
|
|
4826
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4667
|
+
imports.wbg.__wbindgen_closure_wrapper20372 = function(arg0, arg1, arg2) {
|
|
4668
|
+
const ret = makeMutClosure(arg0, arg1, 15939, __wbg_adapter_62);
|
|
4827
4669
|
return ret;
|
|
4828
4670
|
};
|
|
4829
|
-
imports.wbg.
|
|
4830
|
-
const ret = makeClosure(arg0, arg1,
|
|
4671
|
+
imports.wbg.__wbindgen_closure_wrapper54792 = function(arg0, arg1, arg2) {
|
|
4672
|
+
const ret = makeClosure(arg0, arg1, 41956, __wbg_adapter_65);
|
|
4831
4673
|
return ret;
|
|
4832
4674
|
};
|
|
4833
|
-
imports.wbg.
|
|
4834
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4675
|
+
imports.wbg.__wbindgen_closure_wrapper67667 = function(arg0, arg1, arg2) {
|
|
4676
|
+
const ret = makeMutClosure(arg0, arg1, 51457, __wbg_adapter_68);
|
|
4835
4677
|
return ret;
|
|
4836
4678
|
};
|
|
4837
|
-
imports.wbg.
|
|
4838
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4679
|
+
imports.wbg.__wbindgen_closure_wrapper67806 = function(arg0, arg1, arg2) {
|
|
4680
|
+
const ret = makeMutClosure(arg0, arg1, 51560, __wbg_adapter_71);
|
|
4839
4681
|
return ret;
|
|
4840
4682
|
};
|
|
4841
|
-
imports.wbg.
|
|
4842
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4683
|
+
imports.wbg.__wbindgen_closure_wrapper71630 = function(arg0, arg1, arg2) {
|
|
4684
|
+
const ret = makeMutClosure(arg0, arg1, 54497, __wbg_adapter_74);
|
|
4843
4685
|
return ret;
|
|
4844
4686
|
};
|
|
4845
|
-
imports.wbg.
|
|
4846
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4687
|
+
imports.wbg.__wbindgen_closure_wrapper72828 = function(arg0, arg1, arg2) {
|
|
4688
|
+
const ret = makeMutClosure(arg0, arg1, 55111, __wbg_adapter_77);
|
|
4847
4689
|
return ret;
|
|
4848
4690
|
};
|
|
4849
|
-
imports.wbg.
|
|
4850
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4691
|
+
imports.wbg.__wbindgen_closure_wrapper72830 = function(arg0, arg1, arg2) {
|
|
4692
|
+
const ret = makeMutClosure(arg0, arg1, 55111, __wbg_adapter_77);
|
|
4851
4693
|
return ret;
|
|
4852
4694
|
};
|
|
4853
|
-
imports.wbg.
|
|
4854
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4695
|
+
imports.wbg.__wbindgen_closure_wrapper72832 = function(arg0, arg1, arg2) {
|
|
4696
|
+
const ret = makeMutClosure(arg0, arg1, 55111, __wbg_adapter_77);
|
|
4855
4697
|
return ret;
|
|
4856
4698
|
};
|
|
4857
|
-
imports.wbg.
|
|
4858
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4699
|
+
imports.wbg.__wbindgen_closure_wrapper77399 = function(arg0, arg1, arg2) {
|
|
4700
|
+
const ret = makeMutClosure(arg0, arg1, 58345, __wbg_adapter_84);
|
|
4859
4701
|
return ret;
|
|
4860
4702
|
};
|
|
4861
|
-
imports.wbg.
|
|
4862
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4703
|
+
imports.wbg.__wbindgen_closure_wrapper78434 = function(arg0, arg1, arg2) {
|
|
4704
|
+
const ret = makeMutClosure(arg0, arg1, 58726, __wbg_adapter_87);
|
|
4863
4705
|
return ret;
|
|
4864
4706
|
};
|
|
4865
|
-
imports.wbg.
|
|
4866
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4707
|
+
imports.wbg.__wbindgen_closure_wrapper80591 = function(arg0, arg1, arg2) {
|
|
4708
|
+
const ret = makeMutClosure(arg0, arg1, 60191, __wbg_adapter_90);
|
|
4867
4709
|
return ret;
|
|
4868
4710
|
};
|
|
4869
|
-
imports.wbg.
|
|
4870
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4711
|
+
imports.wbg.__wbindgen_closure_wrapper80593 = function(arg0, arg1, arg2) {
|
|
4712
|
+
const ret = makeMutClosure(arg0, arg1, 60191, __wbg_adapter_93);
|
|
4871
4713
|
return ret;
|
|
4872
4714
|
};
|
|
4873
|
-
imports.wbg.
|
|
4874
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4715
|
+
imports.wbg.__wbindgen_closure_wrapper80595 = function(arg0, arg1, arg2) {
|
|
4716
|
+
const ret = makeMutClosure(arg0, arg1, 60191, __wbg_adapter_90);
|
|
4875
4717
|
return ret;
|
|
4876
4718
|
};
|
|
4877
|
-
imports.wbg.
|
|
4878
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4719
|
+
imports.wbg.__wbindgen_closure_wrapper80597 = function(arg0, arg1, arg2) {
|
|
4720
|
+
const ret = makeMutClosure(arg0, arg1, 60191, __wbg_adapter_90);
|
|
4879
4721
|
return ret;
|
|
4880
4722
|
};
|
|
4881
|
-
imports.wbg.
|
|
4882
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4723
|
+
imports.wbg.__wbindgen_closure_wrapper80599 = function(arg0, arg1, arg2) {
|
|
4724
|
+
const ret = makeMutClosure(arg0, arg1, 60191, __wbg_adapter_90);
|
|
4883
4725
|
return ret;
|
|
4884
4726
|
};
|
|
4885
|
-
imports.wbg.
|
|
4886
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4727
|
+
imports.wbg.__wbindgen_closure_wrapper80601 = function(arg0, arg1, arg2) {
|
|
4728
|
+
const ret = makeMutClosure(arg0, arg1, 60191, __wbg_adapter_90);
|
|
4887
4729
|
return ret;
|
|
4888
4730
|
};
|
|
4889
|
-
imports.wbg.
|
|
4890
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4731
|
+
imports.wbg.__wbindgen_closure_wrapper80603 = function(arg0, arg1, arg2) {
|
|
4732
|
+
const ret = makeMutClosure(arg0, arg1, 60191, __wbg_adapter_90);
|
|
4891
4733
|
return ret;
|
|
4892
4734
|
};
|
|
4893
|
-
imports.wbg.
|
|
4894
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4735
|
+
imports.wbg.__wbindgen_closure_wrapper80605 = function(arg0, arg1, arg2) {
|
|
4736
|
+
const ret = makeMutClosure(arg0, arg1, 60191, __wbg_adapter_90);
|
|
4895
4737
|
return ret;
|
|
4896
4738
|
};
|
|
4897
|
-
imports.wbg.
|
|
4898
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4739
|
+
imports.wbg.__wbindgen_closure_wrapper80607 = function(arg0, arg1, arg2) {
|
|
4740
|
+
const ret = makeMutClosure(arg0, arg1, 60191, __wbg_adapter_108);
|
|
4899
4741
|
return ret;
|
|
4900
4742
|
};
|
|
4901
4743
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
package/pkg/webgpu_build_bg.wasm
CHANGED
|
Binary file
|
|
@@ -13,16 +13,6 @@ export const __wbg_get_audiocaptureoptions_noiseSuppression: (a: number) => numb
|
|
|
13
13
|
export const __wbg_get_audiocaptureoptions_sampleRate: (a: number) => [number, bigint];
|
|
14
14
|
export const __wbg_get_audiocaptureoptions_sampleSize: (a: number) => [number, bigint];
|
|
15
15
|
export const __wbg_get_audiocaptureoptions_voiceIsolation: (a: number) => number;
|
|
16
|
-
export const __wbg_get_internalroomconnectoptions_autoSubscribe: (a: number) => number;
|
|
17
|
-
export const __wbg_get_internalroomconnectoptions_maxRetries: (a: number) => number;
|
|
18
|
-
export const __wbg_get_internalroomconnectoptions_peerConnectionTimeout: (a: number) => number;
|
|
19
|
-
export const __wbg_get_internalroomconnectoptions_websocketTimeout: (a: number) => number;
|
|
20
|
-
export const __wbg_get_internalroomoptions_adaptiveStream: (a: number) => number;
|
|
21
|
-
export const __wbg_get_internalroomoptions_disconnectOnPageLeave: (a: number) => number;
|
|
22
|
-
export const __wbg_get_internalroomoptions_dynacast: (a: number) => number;
|
|
23
|
-
export const __wbg_get_internalroomoptions_stopLocalTrackOnUnpublish: (a: number) => number;
|
|
24
|
-
export const __wbg_internalroomconnectoptions_free: (a: number, b: number) => void;
|
|
25
|
-
export const __wbg_internalroomoptions_free: (a: number, b: number) => void;
|
|
26
16
|
export const __wbg_participantsid_free: (a: number, b: number) => void;
|
|
27
17
|
export const __wbg_set_audiocaptureoptions_autoGainControl: (a: number, b: number) => void;
|
|
28
18
|
export const __wbg_set_audiocaptureoptions_channelCount: (a: number, b: number, c: bigint) => void;
|
|
@@ -32,14 +22,6 @@ export const __wbg_set_audiocaptureoptions_noiseSuppression: (a: number, b: numb
|
|
|
32
22
|
export const __wbg_set_audiocaptureoptions_sampleRate: (a: number, b: number, c: bigint) => void;
|
|
33
23
|
export const __wbg_set_audiocaptureoptions_sampleSize: (a: number, b: number, c: bigint) => void;
|
|
34
24
|
export const __wbg_set_audiocaptureoptions_voiceIsolation: (a: number, b: number) => void;
|
|
35
|
-
export const __wbg_set_internalroomconnectoptions_autoSubscribe: (a: number, b: number) => void;
|
|
36
|
-
export const __wbg_set_internalroomconnectoptions_maxRetries: (a: number, b: number) => void;
|
|
37
|
-
export const __wbg_set_internalroomconnectoptions_peerConnectionTimeout: (a: number, b: number) => void;
|
|
38
|
-
export const __wbg_set_internalroomconnectoptions_websocketTimeout: (a: number, b: number) => void;
|
|
39
|
-
export const __wbg_set_internalroomoptions_adaptiveStream: (a: number, b: number) => void;
|
|
40
|
-
export const __wbg_set_internalroomoptions_disconnectOnPageLeave: (a: number, b: number) => void;
|
|
41
|
-
export const __wbg_set_internalroomoptions_dynacast: (a: number, b: number) => void;
|
|
42
|
-
export const __wbg_set_internalroomoptions_stopLocalTrackOnUnpublish: (a: number, b: number) => void;
|
|
43
25
|
export const image_processor_init: () => void;
|
|
44
26
|
export const image_processor_run: () => any;
|
|
45
27
|
export const __wbg_workercontext_free: (a: number, b: number) => void;
|
|
@@ -150,19 +132,19 @@ export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
|
150
132
|
export const __wbindgen_export_7: WebAssembly.Table;
|
|
151
133
|
export const __externref_table_dealloc: (a: number) => void;
|
|
152
134
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
153
|
-
export const
|
|
154
|
-
export const
|
|
155
|
-
export const
|
|
135
|
+
export const closure15938_externref_shim: (a: number, b: number, c: number, d: any) => void;
|
|
136
|
+
export const closure41955_externref_shim: (a: number, b: number, c: any) => void;
|
|
137
|
+
export const closure51456_externref_shim: (a: number, b: number, c: any) => void;
|
|
156
138
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______: (a: number, b: number) => void;
|
|
157
139
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______15: (a: number, b: number) => void;
|
|
158
|
-
export const
|
|
140
|
+
export const closure55110_externref_shim: (a: number, b: number, c: any) => void;
|
|
159
141
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______17: (a: number, b: number) => void;
|
|
160
142
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______18: (a: number, b: number) => void;
|
|
161
|
-
export const
|
|
162
|
-
export const
|
|
143
|
+
export const closure60190_externref_shim: (a: number, b: number, c: any) => void;
|
|
144
|
+
export const closure60194_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
163
145
|
export const _dyn_core_f2710c7f87f75ba1___ops__function__FnMut_____Output______as_wasm_bindgen_654c7ee7fd766678___closure__WasmClosure___describe__invoke______21: (a: number, b: number) => void;
|
|
164
|
-
export const
|
|
165
|
-
export const
|
|
166
|
-
export const
|
|
146
|
+
export const closure120147_externref_shim: (a: number, b: number, c: any) => void;
|
|
147
|
+
export const closure135396_externref_shim: (a: number, b: number, c: any) => void;
|
|
148
|
+
export const closure138289_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
167
149
|
export const __wbindgen_thread_destroy: (a?: number, b?: number, c?: number) => void;
|
|
168
150
|
export const __wbindgen_start: (a: number) => void;
|