vani-meeting-client 2.3.1 → 2.3.3

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.
@@ -664,6 +664,9 @@ var SFUHandler = /** @class */ (function (_super) {
664
664
  });
665
665
  };
666
666
  SFUHandler.prototype.onRouterRtpCapabilities = function (data) {
667
+ if (this.getDevice() && this.getDevice().loaded) {
668
+ return;
669
+ }
667
670
  if (data && data.message && data.message.rtpCapabilities) {
668
671
  this.routerRtpCapabilities = data.message.rtpCapabilities;
669
672
  var routerRtpCapabilities = this.routerRtpCapabilities;
@@ -970,7 +973,7 @@ var SFUHandler = /** @class */ (function (_super) {
970
973
  if (shouldStopTracks === void 0) { shouldStopTracks = true; }
971
974
  return __awaiter(this, void 0, void 0, function () {
972
975
  return __generator(this, function (_a) {
973
- console.log("Clean up SFU");
976
+ // console.log("Clean up SFU")
974
977
  if (this.sendTransport) {
975
978
  try {
976
979
  this.sendTransport.close();
@@ -373,7 +373,7 @@ var WebsocketHandler = /** @class */ (function (_super) {
373
373
  if (this.isWebScoketConnectedWithoutSetup()) {
374
374
  var paylod = { type: type, data: data };
375
375
  (_a = this.wss) === null || _a === void 0 ? void 0 : _a.send(JSON.stringify(paylod));
376
- console.log("sendSocketMessage", type, data);
376
+ // console.log("sendSocketMessage",type,data)
377
377
  }
378
378
  };
379
379
  WebsocketHandler.prototype.reconnectOnInternetFailur = function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vani-meeting-client",
3
- "version": "2.3.1",
3
+ "version": "2.3.3",
4
4
  "description": "Vani Meeting Clinet SDK",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",