aliyun-rtc-sdk 6.13.2-beta.4 → 6.13.2-beta.5
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.2-beta.
|
|
2271
|
+
const ds = "6.13.2-beta.5", hn = "web";
|
|
2272
2272
|
class ft {
|
|
2273
2273
|
/**
|
|
2274
2274
|
* 将版本号转换为number
|
|
@@ -16994,7 +16994,7 @@ const dt = (zt = class extends Je {
|
|
|
16994
16994
|
_(this, "_publishLocalScreenStreamEnabled", !0);
|
|
16995
16995
|
this.screenStreamInfo.setVideoContentHint("motion"), this.pluginManager = e, this.slsReporter = t;
|
|
16996
16996
|
const i = (r) => O(this, null, function* () {
|
|
16997
|
-
if (ae.info(`[${zt.logName}]`, "plugin added", r.name), !r.isSupported("6.13.2-beta.
|
|
16997
|
+
if (ae.info(`[${zt.logName}]`, "plugin added", r.name), !r.isSupported("6.13.2-beta.5")) {
|
|
16998
16998
|
console.warn(`${r.name} is not supported!!!`), r.emit("unsupported");
|
|
16999
16999
|
return;
|
|
17000
17000
|
}
|
|
@@ -19684,8 +19684,8 @@ const ue = (le = class extends Je {
|
|
|
19684
19684
|
if (this._audioOnlyMode)
|
|
19685
19685
|
throw new Y(te.ERR_INNER, "Cannot switch camera in audio only mode");
|
|
19686
19686
|
const i = {};
|
|
19687
|
-
if (e ? (i.deviceId = e, this.slsReporter.reportSwitchCamera(e)) : (i.cameraDirection = ((r = this.publisher) == null ? void 0 : r.cameraDirection) === "environment" ? gi.CAMERA_FRONT : gi.CAMERA_REAR, this.slsReporter.reportSwitchCamera(((n = this.publisher) == null ? void 0 : n.cameraDirection) || "")),
|
|
19688
|
-
(u = (o = this.publisher) == null ? void 0 : o.publishStreams) != null && u.video && ((f = (m = (h = this.publisher) == null ? void 0 : h.publishStreams) == null ? void 0 : m.video) == null || f.disableVideo(), (g = (d = (p = (l = this.publisher) == null ? void 0 : l.publishStreams) == null ? void 0 : p.video) == null ? void 0 : d.videoTrack) == null || g.stop());
|
|
19687
|
+
if (e ? (i.deviceId = e, this.slsReporter.reportSwitchCamera(e)) : (i.cameraDirection = ((r = this.publisher) == null ? void 0 : r.cameraDirection) === "environment" ? gi.CAMERA_FRONT : gi.CAMERA_REAR, this.slsReporter.reportSwitchCamera(((n = this.publisher) == null ? void 0 : n.cameraDirection) || "")), !((a = this.publisher) != null && a.cameraCaptureDisabled)) {
|
|
19688
|
+
(u = (o = this.publisher) == null ? void 0 : o.publishStreams) != null && u.video && ((f = (m = (h = this.publisher) == null ? void 0 : h.publishStreams) == null ? void 0 : m.video) == null || f.disableVideo(), (g = (d = (p = (l = this.publisher) == null ? void 0 : l.publishStreams) == null ? void 0 : p.video) == null ? void 0 : d.videoTrack) == null || g.stop()), yield this.setCameraCapturerConfiguration(i);
|
|
19689
19689
|
const v = {
|
|
19690
19690
|
video: !0
|
|
19691
19691
|
};
|