aliyun-rtc-sdk 6.14.4-beta.2 → 6.14.4-beta.4

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.
@@ -2264,7 +2264,7 @@ function rt(r, a, e) {
2264
2264
  return Eo(t);
2265
2265
  }
2266
2266
  var vi = /* @__PURE__ */ ((r) => (r.prod = "rs.rtn.aliyuncs.com", r.pre = "prs.rtn.aliyuncs.com", r))(vi || {});
2267
- const yi = "6.14.4-beta.2", Xs = "web";
2267
+ const yi = "6.14.4-beta.4", Xs = "web";
2268
2268
  class He {
2269
2269
  /**
2270
2270
  * 将版本号转换为number
@@ -13236,7 +13236,7 @@ class Nr {
13236
13236
  g(this, "profileMap", /* @__PURE__ */ new Map());
13237
13237
  g(this, "audioProfile");
13238
13238
  g(this, "contentHint");
13239
- this.defaultProfile = a;
13239
+ this.defaultProfile = G({}, a);
13240
13240
  }
13241
13241
  updateProfile(a, e) {
13242
13242
  e && this.profileMap.set(a, G(G(G({}, this.defaultProfile), this.profileMap.get(a) || {}), e)), this.profile = a;
@@ -13269,8 +13269,8 @@ class Nr {
13269
13269
  } catch (s) {
13270
13270
  }
13271
13271
  if (e) {
13272
- const s = i;
13273
- i.maxSendFrameRate && (s.frameRate = i.maxSendFrameRate), e == null || e.VideoProfileMap.set(this.profile, i), yield e.setVideoProfile(this.profile);
13272
+ const s = G({}, i);
13273
+ i.maxSendFrameRate && (s.frameRate = i.maxSendFrameRate), e == null || e.VideoProfileMap.set(this.profile, s), yield e.setVideoProfile(this.profile);
13274
13274
  }
13275
13275
  }
13276
13276
  });
@@ -13520,7 +13520,7 @@ const Ze = (Vt = class extends De {
13520
13520
  g(this, "_publishLocalScreenStreamEnabled", !0);
13521
13521
  this.screenStreamInfo.setVideoContentHint("motion"), this.pluginManager = e, this.slsReporter = t;
13522
13522
  const i = (s) => w(this, null, function* () {
13523
- if (O.info(`[${Vt.logName}]`, "plugin added", s.name), !s.isSupported("6.14.4-beta.2")) {
13523
+ if (O.info(`[${Vt.logName}]`, "plugin added", s.name), !s.isSupported("6.14.4-beta.4")) {
13524
13524
  console.warn(`${s.name} is not supported!!!`), s.emit("unsupported");
13525
13525
  return;
13526
13526
  }