vani-meeting-client 1.5.1 → 1.5.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.
@@ -100,12 +100,12 @@ var SFUHandler = /** @class */ (function (_super) {
100
100
  return __generator(this, function (_a) {
101
101
  log.info("SFU onReconnect");
102
102
  if (this.sendTransport &&
103
- (this.sendTransport.connectionState === "disconnected" || this.sendTransport.connectionState === "failed")) {
103
+ (this.sendTransport.connectionState === "disconnected" || this.sendTransport.connectionState === "failed" || this.sendTransport.connectionState === "new")) {
104
104
  data = { to: "self", message: { transportId: this.sendTransport.id }, "type": SFUMessageType.OnRestartIceCandidate };
105
105
  this.sendSFUMessageToSocket(data);
106
106
  }
107
107
  if (this.consumerTransport &&
108
- (this.consumerTransport.connectionState === "disconnected" || this.consumerTransport.connectionState === "failed")) {
108
+ (this.consumerTransport.connectionState === "disconnected" || this.consumerTransport.connectionState === "failed" || this.consumerTransport.connectionState === "new")) {
109
109
  data = { to: "self", message: { transportId: this.consumerTransport.id }, "type": SFUMessageType.OnRestartIceCandidate };
110
110
  this.sendSFUMessageToSocket(data);
111
111
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",