@stream-io/video-react-sdk 1.19.6 → 1.19.8
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
|
@@ -992,7 +992,7 @@ const useRenderer = (tfLite, call) => {
|
|
|
992
992
|
tfLite,
|
|
993
993
|
]);
|
|
994
994
|
const children = (jsxs("div", { className: "str-video__background-filters", children: [jsx("video", { className: clsx('str-video__background-filters__video', videoSize.height > videoSize.width &&
|
|
995
|
-
'str-video__background-filters__video--tall'), ref: videoRef, playsInline: true, muted: true, controls: false, ...videoSize }), backgroundImage && (jsx("img", { className: "str-video__background-filters__background-image", alt: "Background", ref: bgImageRef,
|
|
995
|
+
'str-video__background-filters__video--tall'), ref: videoRef, playsInline: true, muted: true, controls: false, ...videoSize }), backgroundImage && (jsx("img", { className: "str-video__background-filters__background-image", alt: "Background", ref: bgImageRef, crossOrigin: "anonymous", src: backgroundImage, ...videoSize })), jsx("canvas", { className: "str-video__background-filters__target-canvas", ...videoSize, ref: canvasRef })] }));
|
|
996
996
|
return {
|
|
997
997
|
start,
|
|
998
998
|
children,
|
|
@@ -2960,7 +2960,7 @@ const checkCanJoinEarly = (startsAt, joinAheadTimeSeconds) => {
|
|
|
2960
2960
|
return Date.now() >= +startsAt - (joinAheadTimeSeconds ?? 0) * 1000;
|
|
2961
2961
|
};
|
|
2962
2962
|
|
|
2963
|
-
const [major, minor, patch] = ("1.19.
|
|
2963
|
+
const [major, minor, patch] = ("1.19.8").split('.');
|
|
2964
2964
|
setSdkInfo({
|
|
2965
2965
|
type: SfuModels.SdkType.REACT,
|
|
2966
2966
|
major,
|