@ray-js/ray-ipc-player 2.0.20-beta-4 → 2.0.20-beta-6
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/lib/index.module.less +3 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -583,7 +583,7 @@ const Player = props => {
|
|
|
583
583
|
} = data === null || data === void 0 ? void 0 : data.detail;
|
|
584
584
|
if (deviceId === devId) {
|
|
585
585
|
setVideoErrCode(errCode);
|
|
586
|
-
props.onCameraPreviewFailure &&
|
|
586
|
+
props.onCameraPreviewFailure && onCameraPreviewFailure(errCode);
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
},
|
package/lib/index.module.less
CHANGED
|
@@ -173,13 +173,13 @@
|
|
|
173
173
|
.errTextContainer {
|
|
174
174
|
.errContent {
|
|
175
175
|
color: #ffffff;
|
|
176
|
-
font-size:
|
|
176
|
+
font-size: 12px;
|
|
177
177
|
font-weight: 400;
|
|
178
178
|
}
|
|
179
179
|
.errDesc {
|
|
180
|
-
margin-top:
|
|
180
|
+
margin-top: 5px;
|
|
181
181
|
color: rgba(255,255,255,0.7);
|
|
182
|
-
font-size:
|
|
182
|
+
font-size: 12px;
|
|
183
183
|
font-weight: 400;
|
|
184
184
|
}
|
|
185
185
|
}
|