call-live-sdk1 0.0.37 → 0.0.39
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.
package/dist/call-live-sdk.es.js
CHANGED
|
@@ -305355,7 +305355,7 @@ const UserVideoContainer = reactExports.memo(({
|
|
|
305355
305355
|
noMirror,
|
|
305356
305356
|
shouldMirror: +!noMirror
|
|
305357
305357
|
});
|
|
305358
|
-
const isModeFit = user.rtc_userid === callConfig.drawing_board_id || (videoId == null ? void 0 : videoId.includes("screen")) || user.device === "pc"
|
|
305358
|
+
const isModeFit = user.rtc_userid === callConfig.drawing_board_id || (videoId == null ? void 0 : videoId.includes("screen")) || user.device === "pc";
|
|
305359
305359
|
if (user.rtc_userid === callConfig.rtc_userid) {
|
|
305360
305360
|
rtc.engine.setLocalVideoPlayer((videoId == null ? void 0 : videoId.includes("screen")) ? StreamIndex$1.STREAM_INDEX_SCREEN : StreamIndex$1.STREAM_INDEX_MAIN, {
|
|
305361
305361
|
userId: user.rtc_userid,
|
|
@@ -305412,7 +305412,7 @@ const UserVideoContainer = reactExports.memo(({
|
|
|
305412
305412
|
children: [/* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
305413
305413
|
className: "w-full h-full bg-gray-800 flex items-center justify-center",
|
|
305414
305414
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
305415
|
-
className: "h-full text-gray-400 text-sm",
|
|
305415
|
+
className: "h-full w-full text-gray-400 text-sm",
|
|
305416
305416
|
id: videoId
|
|
305417
305417
|
})
|
|
305418
305418
|
}), !hasVideo && /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
@@ -306180,6 +306180,16 @@ const MobileLive = reactExports.memo(({
|
|
|
306180
306180
|
videoElement.setAttribute("webkit-playsinline", "");
|
|
306181
306181
|
videoElement.srcObject = _videoElement.srcObject;
|
|
306182
306182
|
videoElement.play();
|
|
306183
|
+
logger.info({
|
|
306184
|
+
component: "MobileLive",
|
|
306185
|
+
event: "setup_video_change_player",
|
|
306186
|
+
content: "设置视频播放器",
|
|
306187
|
+
extra: {
|
|
306188
|
+
callUser,
|
|
306189
|
+
index: index2,
|
|
306190
|
+
isModeFit
|
|
306191
|
+
}
|
|
306192
|
+
});
|
|
306183
306193
|
}, [callConfig.rtc_userid, mainCanvasId, callConfig.isVideoEnabled, callUsers, isDeviceSelected]);
|
|
306184
306194
|
console.log("[MobileLive] isDeviceSelected", isDeviceSelected);
|
|
306185
306195
|
console.log("[MobileLive] wakeLockStatus", wakeLockStatus, "isSupported", isWakeLockSupported);
|