@stream-io/video-react-sdk 0.4.2 → 0.4.3
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/index.es.js
CHANGED
|
@@ -1482,11 +1482,11 @@ const StreamTheme = ({ as: Component = 'div', className, children, ...props }) =
|
|
|
1482
1482
|
|
|
1483
1483
|
const DefaultDisabledVideoPreview = () => {
|
|
1484
1484
|
const { t } = useI18n();
|
|
1485
|
-
return jsx("div", { children: t('Video is disabled') });
|
|
1485
|
+
return (jsx("div", { className: "str_video__video-preview__disabled-video-preview", children: t('Video is disabled') }));
|
|
1486
1486
|
};
|
|
1487
1487
|
const DefaultNoCameraPreview = () => {
|
|
1488
1488
|
const { t } = useI18n();
|
|
1489
|
-
return jsx("div", { children: t('No camera found') });
|
|
1489
|
+
return (jsx("div", { className: "str_video__video-preview__no-camera-preview", children: t('No camera found') }));
|
|
1490
1490
|
};
|
|
1491
1491
|
const VideoPreview = ({ className, mirror = true, DisabledVideoPreview = DefaultDisabledVideoPreview, NoCameraPreview = DefaultNoCameraPreview, StartingCameraPreview = LoadingIndicator, }) => {
|
|
1492
1492
|
const { useCameraState } = useCallStateHooks();
|
|
@@ -2097,7 +2097,7 @@ const VerticalScrollButtons = ({ scrollWrapper, }) => {
|
|
|
2097
2097
|
};
|
|
2098
2098
|
const hasScreenShare = (p) => !!p?.publishedTracks.includes(SfuModels.TrackType.SCREEN_SHARE);
|
|
2099
2099
|
|
|
2100
|
-
const [major, minor, patch] = ("0.4.
|
|
2100
|
+
const [major, minor, patch] = ("0.4.3" ).split('.');
|
|
2101
2101
|
setSdkInfo({
|
|
2102
2102
|
type: SfuModels.SdkType.REACT,
|
|
2103
2103
|
major,
|