aliyun-rtc-sdk 6.13.0 → 6.13.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.
@@ -2268,7 +2268,7 @@ function jt(s, c, e) {
2268
2268
  return No(t);
2269
2269
  }
2270
2270
  var Ri = /* @__PURE__ */ ((s) => (s.prod = "rs.rtn.aliyuncs.com", s.pre = "prs.rtn.aliyuncs.com", s))(Ri || {});
2271
- const ds = "6.13.0", hn = "web";
2271
+ const ds = "6.13.1", hn = "web";
2272
2272
  class ft {
2273
2273
  /**
2274
2274
  * 将版本号转换为number
@@ -15716,37 +15716,46 @@ const Je = (_t = class extends Ha {
15716
15716
  }
15717
15717
  getStats() {
15718
15718
  return O(this, null, function* () {
15719
- var i, r;
15719
+ var i, r, n, a, o;
15720
15720
  const e = [];
15721
15721
  if (this.isAudioSubscribing) {
15722
- const n = yield this.rtsManager.getSubscribeAudioStats(this.streamUrl);
15723
- n && e.push({ uid: this.uid, track: si.AliRtcAudioTrackMic, stats: n });
15722
+ const u = yield this.rtsManager.getSubscribeAudioStats(this.streamUrl);
15723
+ u && e.push({ uid: this.uid, track: si.AliRtcAudioTrackMic, stats: u });
15724
15724
  }
15725
15725
  const t = [];
15726
15726
  if ((i = this.streamInfo) != null && i.isVideoLargeSubscribed) {
15727
- const n = yield this.rtsManager.getSubscribeVideoStats(this.streamUrl, G.VideoLarge);
15728
- n && t.push({
15727
+ const u = yield this.rtsManager.getSubscribeVideoStats(
15728
+ this.streamUrl,
15729
+ ((r = this.streamInfo.getVideoLargeInfo()) == null ? void 0 : r.msid) || G.VideoLarge
15730
+ );
15731
+ u && t.push({
15729
15732
  uid: this.uid,
15730
15733
  track: ye.AliRtcVideoTrackCamera,
15731
15734
  streamType: qe.AliRtcVideoStreamTypeHigh,
15732
- stats: n
15735
+ stats: u
15733
15736
  });
15734
15737
  }
15735
- if ((r = this.streamInfo) != null && r.isVideoSmallSubscribed) {
15736
- const n = yield this.rtsManager.getSubscribeVideoStats(this.streamUrl, G.VideoSmall);
15737
- n && t.push({
15738
+ if ((n = this.streamInfo) != null && n.isVideoSmallSubscribed) {
15739
+ const u = yield this.rtsManager.getSubscribeVideoStats(
15740
+ this.streamUrl,
15741
+ ((a = this.streamInfo.getVideoSmallInfo()) == null ? void 0 : a.msid) || G.VideoSmall
15742
+ );
15743
+ u && t.push({
15738
15744
  uid: this.uid,
15739
15745
  track: ye.AliRtcVideoTrackCamera,
15740
15746
  streamType: qe.AliRtcVideoStreamTypeLow,
15741
- stats: n
15747
+ stats: u
15742
15748
  });
15743
15749
  }
15744
15750
  if (this.isScreenSubscribing) {
15745
- const n = yield this.rtsManager.getSubscribeVideoStats(this.streamUrl, G.Screen);
15746
- n && t.push({
15751
+ const u = yield this.rtsManager.getSubscribeVideoStats(
15752
+ this.streamUrl,
15753
+ ((o = this.streamInfo.getScreenInfo()) == null ? void 0 : o.msid) || G.Screen
15754
+ );
15755
+ u && t.push({
15747
15756
  uid: this.uid,
15748
15757
  track: ye.AliRtcVideoTrackScreen,
15749
- stats: n
15758
+ stats: u
15750
15759
  });
15751
15760
  }
15752
15761
  return { audio: e, video: t };
@@ -16958,7 +16967,7 @@ const dt = (zt = class extends Ge {
16958
16967
  _(this, "_publishLocalScreenStreamEnabled", !0);
16959
16968
  this.screenStreamInfo.setVideoContentHint("motion"), this.pluginManager = e, this.slsReporter = t;
16960
16969
  const i = (r) => O(this, null, function* () {
16961
- if (ae.info(`[${zt.logName}]`, "plugin added", r.name), !r.isSupported("6.13.0")) {
16970
+ if (ae.info(`[${zt.logName}]`, "plugin added", r.name), !r.isSupported("6.13.1")) {
16962
16971
  console.warn(`${r.name} is not supported!!!`), r.emit("unsupported");
16963
16972
  return;
16964
16973
  }