@ray-js/ray-ipc-player 2.0.20-beta-10 → 2.0.20-beta-11
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/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -289,7 +289,7 @@ const Player = props => {
|
|
|
289
289
|
const isOnPreview = await getIsOnPreview(ipcCtx.current);
|
|
290
290
|
ipcTTTOperatorLog("VID: get_is_on_preview_status_".concat(isOnPreview));
|
|
291
291
|
// console.error('开启失败:', e, devId, isOnPreview);
|
|
292
|
-
if (
|
|
292
|
+
if (isOnPreview || e !== null && e !== void 0 && e.errorMsg.includes('doing preview')) {
|
|
293
293
|
// 忽略重复预览异常的报错
|
|
294
294
|
setPlayState(d => {
|
|
295
295
|
d.loadingState = false;
|