aliyun-rtc-sdk 7.2.0 → 7.2.1

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.
@@ -1460,7 +1460,7 @@ var ea = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShort
1460
1460
  }, Io = function(r) {
1461
1461
  return (String(r).match(Ao) || [""]).pop().replace(_o, "").replace(/GMT\+0000/g, "UTC");
1462
1462
  }, ri = ((r) => (r.prod = "rs.rtn.aliyuncs.com", r.pre = "prs.rtn.aliyuncs.com", r))(ri || {});
1463
- const Oi = "7.2.0";
1463
+ const Oi = "7.2.1";
1464
1464
  class De {
1465
1465
  static getVersionNumber() {
1466
1466
  let s = Oi.split("."), e = "";
@@ -2116,7 +2116,7 @@ class Vi {
2116
2116
  static get adaptInfo() {
2117
2117
  var e, t, i, a;
2118
2118
  let s = new Fo.UAParser().getResult();
2119
- return { os_name: ((e = s.os.name) == null ? void 0 : e.replace(" ", "")) + "_" + ((t = s.browser.name) == null ? void 0 : t.replace(" ", "")), device_name: ((i = s.device.model) == null ? void 0 : i.replace(" ", "")) || "", brand_name: ((a = s.device.vendor) == null ? void 0 : a.replace(" ", "")) || "", device_key: window.navigator.userAgent, os_version: s.browser.version || "", sdk_version: "7.2.0", version: "v1" };
2119
+ return { os_name: ((e = s.os.name) == null ? void 0 : e.replace(" ", "")) + "_" + ((t = s.browser.name) == null ? void 0 : t.replace(" ", "")), device_name: ((i = s.device.model) == null ? void 0 : i.replace(" ", "")) || "", brand_name: ((a = s.device.vendor) == null ? void 0 : a.replace(" ", "")) || "", device_key: window.navigator.userAgent, os_version: s.browser.version || "", sdk_version: "7.2.1", version: "v1" };
2120
2120
  }
2121
2121
  refreshAuthInfo(s) {
2122
2122
  this.authInfo = s;
@@ -6770,7 +6770,7 @@ const ct = (Lt = class extends je {
6770
6770
  })), this.screenStreamInfo.on("videotrackended", () => E(this, null, function* () {
6771
6771
  yield this.stopLocalStream({ screen: !0 }), this.emit("trackended", Gt.ScreenTrackEnded);
6772
6772
  })), this.pluginManager.on("added", (i) => E(this, null, function* () {
6773
- if (M.info(`[${Lt.logName}]`, "plugin added", i.name), !i.isSupported("7.2.0"))
6773
+ if (M.info(`[${Lt.logName}]`, "plugin added", i.name), !i.isSupported("7.2.1"))
6774
6774
  return console.warn(`${i.name} is not supported!!!`), void i.emit("unsupported");
6775
6775
  try {
6776
6776
  yield i.init();
@@ -8933,7 +8933,7 @@ const st = class st extends je {
8933
8933
  let a = this.packageCreator.createPublishPackage();
8934
8934
  a.data.users = [], a.data.l1ip = t, i.subscribe.signal = this.wsClient.connectUrl;
8935
8935
  const { tracks: n, resume: o } = i;
8936
- let c = "7.2.0";
8936
+ let c = "7.2.1";
8937
8937
  c && (c = c.split("-")[0]), n.forEach((d) => {
8938
8938
  const { codec: h, ssrc: b } = d;
8939
8939
  d.userdata = JSON.stringify({ sdk_version: c, codec: h }), d.ssrc = `${b}`, o && (d.attr = { reason: "reconnect" });