@stream-io/video-react-sdk 1.21.1 → 1.21.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/CHANGELOG.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.21.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.21.2...@stream-io/video-react-sdk-1.21.3) (2025-09-17)
6
+
7
+ ### Dependency Updates
8
+
9
+ - `@stream-io/video-client` updated to version `1.31.0`
10
+ - `@stream-io/video-filters-web` updated to version `0.2.2`
11
+ - `@stream-io/video-react-bindings` updated to version `1.8.3`
12
+
13
+ ### Bug Fixes
14
+
15
+ - **video-filters:** prevent background tab throttling ([#1920](https://github.com/GetStream/stream-video-js/issues/1920)) ([f93d5cc](https://github.com/GetStream/stream-video-js/commit/f93d5cc5785957c7f181fcaf689ec366df9e646b))
16
+
17
+ ## [1.21.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.21.1...@stream-io/video-react-sdk-1.21.2) (2025-09-16)
18
+
19
+ ### Dependency Updates
20
+
21
+ - `@stream-io/video-client` updated to version `1.30.1`
22
+ - `@stream-io/video-react-bindings` updated to version `1.8.2`
23
+
5
24
  ## [1.21.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.21.0...@stream-io/video-react-sdk-1.21.1) (2025-09-11)
6
25
 
7
26
  ### Dependency Updates
package/dist/index.cjs.js CHANGED
@@ -848,7 +848,7 @@ const useBackgroundFilters = () => {
848
848
  * in your project before using this component.
849
849
  */
850
850
  const BackgroundFiltersProvider = (props) => {
851
- const { children, backgroundImages = [], backgroundFilter: bgFilterFromProps = undefined, backgroundImage: bgImageFromProps = undefined, backgroundBlurLevel: bgBlurLevelFromProps = undefined, tfFilePath, modelFilePath, basePath, onError, } = props;
851
+ const { children, backgroundImages = [], backgroundFilter: bgFilterFromProps = undefined, backgroundImage: bgImageFromProps = undefined, backgroundBlurLevel: bgBlurLevelFromProps = undefined, tfFilePath, modelFilePath, basePath, onError, forceSafariSupport, forceMobileSupport, } = props;
852
852
  const [backgroundFilter, setBackgroundFilter] = react.useState(bgFilterFromProps);
853
853
  const [backgroundImage, setBackgroundImage] = react.useState(bgImageFromProps);
854
854
  const [backgroundBlurLevel, setBackgroundBlurLevel] = react.useState(bgBlurLevelFromProps);
@@ -867,8 +867,11 @@ const BackgroundFiltersProvider = (props) => {
867
867
  }, []);
868
868
  const [isSupported, setIsSupported] = react.useState(false);
869
869
  react.useEffect(() => {
870
- videoFiltersWeb.isPlatformSupported().then(setIsSupported);
871
- }, []);
870
+ videoFiltersWeb.isPlatformSupported({
871
+ forceSafariSupport,
872
+ forceMobileSupport,
873
+ }).then(setIsSupported);
874
+ }, [forceMobileSupport, forceSafariSupport]);
872
875
  const [tfLite, setTfLite] = react.useState();
873
876
  react.useEffect(() => {
874
877
  // don't try to load TFLite if the platform is not supported
@@ -2970,7 +2973,7 @@ const checkCanJoinEarly = (startsAt, joinAheadTimeSeconds) => {
2970
2973
  return Date.now() >= +startsAt - (joinAheadTimeSeconds ?? 0) * 1000;
2971
2974
  };
2972
2975
 
2973
- const [major, minor, patch] = ("1.21.1").split('.');
2976
+ const [major, minor, patch] = ("1.21.3").split('.');
2974
2977
  videoClient.setSdkInfo({
2975
2978
  type: videoClient.SfuModels.SdkType.REACT,
2976
2979
  major,