call-live-sdk1 0.0.38 → 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.
@@ -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" || !videoId.includes("self");
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,
@@ -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);