aliyun-rtc-sdk 7.1.7 → 7.1.8

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.
@@ -3462,7 +3462,7 @@ var Na = { default: "ddd mmm dd yyyy HH:MM:ss", shortDate: "m/d/yy", paddedShort
3462
3462
  }, Lo = function(r) {
3463
3463
  return (String(r).match(ko) || [""]).pop().replace(Po, "").replace(/GMT\+0000/g, "UTC");
3464
3464
  }, Ci = ((r) => (r.prod = "rs.rtn.aliyuncs.com", r.pre = "prs.rtn.aliyuncs.com", r))(Ci || {});
3465
- const xi = "7.1.7";
3465
+ const xi = "7.1.8";
3466
3466
  class at {
3467
3467
  static getVersionNumber() {
3468
3468
  let a = xi.split("."), e = "";
@@ -6460,7 +6460,7 @@ const ct = (Lt = class extends He {
6460
6460
  })), this.screenStreamInfo.on("videotrackended", () => I(this, null, function* () {
6461
6461
  yield this.stopLocalStream({ screen: !0 }), this.emit("trackended", Jt.ScreenTrackEnded);
6462
6462
  })), this.pluginManager.on("added", (i) => I(this, null, function* () {
6463
- if (x.info(`[${Lt.logName}]`, "plugin added", i.name), !i.isSupported("7.1.7"))
6463
+ if (x.info(`[${Lt.logName}]`, "plugin added", i.name), !i.isSupported("7.1.8"))
6464
6464
  return console.warn(`${i.name} is not supported!!!`), void i.emit("unsupported");
6465
6465
  try {
6466
6466
  yield i.init();
@@ -8563,7 +8563,7 @@ class kc {
8563
8563
  get adaptInfo() {
8564
8564
  var e, t, i, s;
8565
8565
  let a = new Cc.UAParser().getResult();
8566
- return { os_name: ((e = a.os.name) == null ? void 0 : e.replace(" ", "")) + "_" + ((t = a.browser.name) == null ? void 0 : t.replace(" ", "")), device_name: ((i = a.device.model) == null ? void 0 : i.replace(" ", "")) || "", brand_name: ((s = a.device.vendor) == null ? void 0 : s.replace(" ", "")) || "", device_key: window.navigator.userAgent, os_version: a.browser.version || "", sdk_version: "7.1.7", version: "v1" };
8566
+ return { os_name: ((e = a.os.name) == null ? void 0 : e.replace(" ", "")) + "_" + ((t = a.browser.name) == null ? void 0 : t.replace(" ", "")), device_name: ((i = a.device.model) == null ? void 0 : i.replace(" ", "")) || "", brand_name: ((s = a.device.vendor) == null ? void 0 : s.replace(" ", "")) || "", device_key: window.navigator.userAgent, os_version: a.browser.version || "", sdk_version: "7.1.8", version: "v1" };
8567
8567
  }
8568
8568
  refreshAuthInfo(a) {
8569
8569
  this.authInfo = a;
@@ -8660,7 +8660,7 @@ const rt = class rt extends He {
8660
8660
  let s = this.packageCreater.createPublishPackage();
8661
8661
  s.data.users = [], s.data.l1ip = t, i.subscribe.signal = this.wsClient.connectUrl;
8662
8662
  const { tracks: n, resume: o } = i;
8663
- let c = "7.1.7";
8663
+ let c = "7.1.8";
8664
8664
  c && (c = c.split("-")[0]), n.forEach((h) => {
8665
8665
  const { codec: u, ssrc: b } = h;
8666
8666
  h.userdata = JSON.stringify({ sdk_version: c, codec: u }), h.ssrc = `${b}`, o && (h.attr = { reason: "reconnect" });