@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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -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.catch(() => void 0);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishjam-cloud/webrtc-client",
3
- "version": "0.26.1-rc.1",
3
+ "version": "0.26.2",
4
4
  "description": "Typescript client library for ExWebRTC/WebRTC endpoint in Membrane RTC Engine",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Fishjam Team",