@stream-io/video-react-sdk 1.2.4 → 1.2.5
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 +7 -0
- package/dist/index.cjs.js +2 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -3
- package/dist/index.es.js.map +1 -1
- package/dist/src/components/BackgroundFilters/BackgroundFilters.d.ts +1 -6
- package/package.json +1 -1
- package/src/components/BackgroundFilters/BackgroundFilters.tsx +1 -9
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import { PropsWithChildren } from 'react';
|
|
2
2
|
import { BackgroundBlurLevel, BackgroundFilter } from '@stream-io/video-filters-web';
|
|
3
3
|
export type BackgroundFiltersProps = {
|
|
4
|
-
/**
|
|
5
|
-
* Enables or disables the background-blurring feature.
|
|
6
|
-
* @default true.
|
|
7
|
-
*/
|
|
8
|
-
isBlurringEnabled?: boolean;
|
|
9
4
|
/**
|
|
10
5
|
* A list of URLs to use as background images.
|
|
11
6
|
*/
|
|
12
7
|
backgroundImages?: string[];
|
|
13
8
|
/**
|
|
14
9
|
* The background filter to apply to the video (by default).
|
|
15
|
-
* @default
|
|
10
|
+
* @default undefined no filter applied
|
|
16
11
|
*/
|
|
17
12
|
backgroundFilter?: BackgroundFilter;
|
|
18
13
|
/**
|
package/package.json
CHANGED
|
@@ -20,12 +20,6 @@ import {
|
|
|
20
20
|
} from '@stream-io/video-filters-web';
|
|
21
21
|
|
|
22
22
|
export type BackgroundFiltersProps = {
|
|
23
|
-
/**
|
|
24
|
-
* Enables or disables the background-blurring feature.
|
|
25
|
-
* @default true.
|
|
26
|
-
*/
|
|
27
|
-
isBlurringEnabled?: boolean;
|
|
28
|
-
|
|
29
23
|
/**
|
|
30
24
|
* A list of URLs to use as background images.
|
|
31
25
|
*/
|
|
@@ -33,7 +27,7 @@ export type BackgroundFiltersProps = {
|
|
|
33
27
|
|
|
34
28
|
/**
|
|
35
29
|
* The background filter to apply to the video (by default).
|
|
36
|
-
* @default
|
|
30
|
+
* @default undefined no filter applied
|
|
37
31
|
*/
|
|
38
32
|
backgroundFilter?: BackgroundFilter;
|
|
39
33
|
|
|
@@ -138,7 +132,6 @@ export const BackgroundFiltersProvider = (
|
|
|
138
132
|
) => {
|
|
139
133
|
const {
|
|
140
134
|
children,
|
|
141
|
-
isBlurringEnabled = true,
|
|
142
135
|
backgroundImages = [],
|
|
143
136
|
backgroundFilter: bgFilterFromProps = undefined,
|
|
144
137
|
backgroundImage: bgImageFromProps = undefined,
|
|
@@ -198,7 +191,6 @@ export const BackgroundFiltersProvider = (
|
|
|
198
191
|
applyBackgroundBlurFilter,
|
|
199
192
|
applyBackgroundImageFilter,
|
|
200
193
|
backgroundImages,
|
|
201
|
-
isBlurringEnabled,
|
|
202
194
|
tfFilePath,
|
|
203
195
|
modelFilePath,
|
|
204
196
|
basePath,
|