@stream-io/video-react-sdk 1.7.11 → 1.7.13
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,21 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.7.13](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.7.12...@stream-io/video-react-sdk-1.7.13) (2024-11-12)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `@stream-io/video-filters-web` updated to version `0.1.6`
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* reset background blur level when filter is disabled ([#1570](https://github.com/GetStream/stream-video-js/issues/1570)) ([d0a0b24](https://github.com/GetStream/stream-video-js/commit/d0a0b242f482eecad9f41741a42747d1d5b6d0fe))
|
|
14
|
+
|
|
15
|
+
## [1.7.12](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.7.11...@stream-io/video-react-sdk-1.7.12) (2024-11-08)
|
|
16
|
+
|
|
17
|
+
### Dependency Updates
|
|
18
|
+
|
|
19
|
+
* `@stream-io/video-filters-web` updated to version `0.1.5`
|
|
5
20
|
## [1.7.11](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.7.10...@stream-io/video-react-sdk-1.7.11) (2024-11-07)
|
|
6
21
|
|
|
7
22
|
### Dependency Updates
|
package/dist/index.cjs.js
CHANGED
|
@@ -661,7 +661,7 @@ const useBackgroundFilters = () => {
|
|
|
661
661
|
* in your project before using this component.
|
|
662
662
|
*/
|
|
663
663
|
const BackgroundFiltersProvider = (props) => {
|
|
664
|
-
const { children, backgroundImages = [], backgroundFilter: bgFilterFromProps = undefined, backgroundImage: bgImageFromProps = undefined, backgroundBlurLevel: bgBlurLevelFromProps =
|
|
664
|
+
const { children, backgroundImages = [], backgroundFilter: bgFilterFromProps = undefined, backgroundImage: bgImageFromProps = undefined, backgroundBlurLevel: bgBlurLevelFromProps = undefined, tfFilePath, modelFilePath, basePath, onError, } = props;
|
|
665
665
|
const [backgroundFilter, setBackgroundFilter] = react.useState(bgFilterFromProps);
|
|
666
666
|
const [backgroundImage, setBackgroundImage] = react.useState(bgImageFromProps);
|
|
667
667
|
const [backgroundBlurLevel, setBackgroundBlurLevel] = react.useState(bgBlurLevelFromProps);
|
|
@@ -676,7 +676,7 @@ const BackgroundFiltersProvider = (props) => {
|
|
|
676
676
|
const disableBackgroundFilter = react.useCallback(() => {
|
|
677
677
|
setBackgroundFilter(undefined);
|
|
678
678
|
setBackgroundImage(undefined);
|
|
679
|
-
setBackgroundBlurLevel(
|
|
679
|
+
setBackgroundBlurLevel(undefined);
|
|
680
680
|
}, []);
|
|
681
681
|
const [isSupported, setIsSupported] = react.useState(false);
|
|
682
682
|
react.useEffect(() => {
|
|
@@ -2529,7 +2529,7 @@ const LivestreamPlayer = (props) => {
|
|
|
2529
2529
|
return (jsxRuntime.jsx(StreamCall, { call: call, children: jsxRuntime.jsx(LivestreamLayout, { ...layoutProps }) }));
|
|
2530
2530
|
};
|
|
2531
2531
|
|
|
2532
|
-
const [major, minor, patch] = ("1.7.
|
|
2532
|
+
const [major, minor, patch] = ("1.7.13").split('.');
|
|
2533
2533
|
videoClient.setSdkInfo({
|
|
2534
2534
|
type: videoClient.SfuModels.SdkType.REACT,
|
|
2535
2535
|
major,
|