@fishjam-cloud/webrtc-client 0.26.1-rc.1 → 0.26.2
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/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4852,8 +4852,8 @@ var WebRTCEndpoint = class extends EventEmitter3 {
|
|
|
4852
4852
|
mediaEventQueue = Promise.resolve();
|
|
4853
4853
|
receiveMediaEvent = (mediaEvent) => {
|
|
4854
4854
|
const deserializedMediaEvent = deserializeServerMediaEvent(mediaEvent);
|
|
4855
|
-
const next = this.mediaEventQueue.then(() => this.handleMediaEvent(deserializedMediaEvent));
|
|
4856
|
-
this.mediaEventQueue = next
|
|
4855
|
+
const next = this.mediaEventQueue.catch(() => void 0).then(() => this.handleMediaEvent(deserializedMediaEvent));
|
|
4856
|
+
this.mediaEventQueue = next;
|
|
4857
4857
|
return next;
|
|
4858
4858
|
};
|
|
4859
4859
|
handleConnected = (connectedEvent) => {
|
package/package.json
CHANGED