@stream-io/video-filters-web 0.1.7 → 0.2.1
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 +23 -21
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/src/helpers/webglHelper.d.ts +2 -2
- package/package.json +5 -6
- package/src/webgl2/backgroundBlurStage.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,76 +2,78 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
-
## [0.1
|
|
5
|
+
## [0.2.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-filters-web-0.2.0...@stream-io/video-filters-web-0.2.1) (2025-05-15)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
6
8
|
|
|
9
|
+
- enable chore releases ([#1792](https://github.com/GetStream/stream-video-js/issues/1792)) ([6046654](https://github.com/GetStream/stream-video-js/commit/6046654fe19505a1c115a4fb838759d010540614))
|
|
10
|
+
|
|
11
|
+
## [0.2.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-filters-web-0.1.7...@stream-io/video-filters-web-0.2.0) (2025-05-08)
|
|
7
12
|
|
|
8
13
|
### Features
|
|
9
14
|
|
|
10
|
-
|
|
15
|
+
- Expo 53 Swift Config Plugin and React Native 0.79 compatibility ([#1714](https://github.com/GetStream/stream-video-js/issues/1714)) ([380331e](https://github.com/GetStream/stream-video-js/commit/380331e11fd6182c3111413aa25689a669dd3c9c))
|
|
11
16
|
|
|
12
|
-
## [0.1.
|
|
17
|
+
## [0.1.7](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-filters-web-0.1.6...@stream-io/video-filters-web-0.1.7) (2025-02-17)
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
- support static token and token provider at the same time ([#1685](https://github.com/GetStream/stream-video-js/issues/1685)) ([4365a3d](https://github.com/GetStream/stream-video-js/commit/4365a3dd0a14c98041982bde8be21258b8cfd571))
|
|
13
22
|
|
|
23
|
+
## [0.1.6](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-filters-web-0.1.5...@stream-io/video-filters-web-0.1.6) (2024-11-12)
|
|
14
24
|
|
|
15
25
|
### Bug Fixes
|
|
16
26
|
|
|
17
|
-
|
|
27
|
+
- handle async errors in background filters pipeline ([#1571](https://github.com/GetStream/stream-video-js/issues/1571)) ([53a5ac3](https://github.com/GetStream/stream-video-js/commit/53a5ac3691a6fe71a0b7b6695aa6c0ffaa01d3ec)), closes [#1565](https://github.com/GetStream/stream-video-js/issues/1565)
|
|
18
28
|
|
|
19
29
|
## [0.1.5](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-filters-web-0.1.4...@stream-io/video-filters-web-0.1.5) (2024-11-08)
|
|
20
30
|
|
|
21
|
-
|
|
22
31
|
### Bug Fixes
|
|
23
32
|
|
|
24
|
-
|
|
33
|
+
- guard against null fenceSync ([#1565](https://github.com/GetStream/stream-video-js/issues/1565)) ([9a3ae38](https://github.com/GetStream/stream-video-js/commit/9a3ae385ebed5b7fd44855ed2a7b7fc01ac53792))
|
|
25
34
|
|
|
26
35
|
## [0.1.4](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-filters-web-0.1.3...@stream-io/video-filters-web-0.1.4) (2024-09-19)
|
|
27
36
|
|
|
28
|
-
|
|
29
37
|
### Features
|
|
30
38
|
|
|
31
|
-
|
|
39
|
+
- React SDK cold-start optimizations ([#1488](https://github.com/GetStream/stream-video-js/issues/1488)) ([972e579](https://github.com/GetStream/stream-video-js/commit/972e5792b5a131a212b1031ade76dcb383897a46))
|
|
32
40
|
|
|
33
41
|
### [0.1.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-filters-web-0.1.2...@stream-io/video-filters-web-0.1.3) (2024-07-02)
|
|
34
42
|
|
|
35
|
-
|
|
36
43
|
### Bug Fixes
|
|
37
44
|
|
|
38
|
-
|
|
45
|
+
- refactor background filters ([#1415](https://github.com/GetStream/stream-video-js/issues/1415)) ([deb6da2](https://github.com/GetStream/stream-video-js/commit/deb6da238f541c733451e84b198434671da8dceb))
|
|
39
46
|
|
|
40
47
|
### [0.1.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-filters-web-0.1.1...@stream-io/video-filters-web-0.1.2) (2024-06-12)
|
|
41
48
|
|
|
42
|
-
|
|
43
49
|
### Bug Fixes
|
|
44
50
|
|
|
45
|
-
|
|
51
|
+
- infinitely adjustable blur filter ([#1399](https://github.com/GetStream/stream-video-js/issues/1399)) ([447e73f](https://github.com/GetStream/stream-video-js/commit/447e73f2363142a0c1b43d05f848400950ecf697))
|
|
46
52
|
|
|
47
53
|
### [0.1.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-filters-web-0.1.0...@stream-io/video-filters-web-0.1.1) (2024-06-03)
|
|
48
54
|
|
|
49
|
-
|
|
50
55
|
### Features
|
|
51
56
|
|
|
52
|
-
|
|
57
|
+
- video filters on android ([#1382](https://github.com/GetStream/stream-video-js/issues/1382)) ([7ba8b0e](https://github.com/GetStream/stream-video-js/commit/7ba8b0e3b444869d38aae1a045dffb05444643f5))
|
|
53
58
|
|
|
54
59
|
## [0.1.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-filters-web-0.0.2...@stream-io/video-filters-web-0.1.0) (2024-04-10)
|
|
55
60
|
|
|
56
|
-
|
|
57
61
|
### ⚠ BREAKING CHANGES
|
|
58
62
|
|
|
59
|
-
|
|
63
|
+
- **filters:** fixes off-by-one version conflict (#1313)
|
|
60
64
|
|
|
61
65
|
### Bug Fixes
|
|
62
66
|
|
|
63
|
-
|
|
67
|
+
- **filters:** fixes off-by-one version conflict ([#1313](https://github.com/GetStream/stream-video-js/issues/1313)) ([ed801a4](https://github.com/GetStream/stream-video-js/commit/ed801a4275b12165bfd57fe583d39912a27305ee))
|
|
64
68
|
|
|
65
69
|
### [0.0.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-filters-web-0.0.1...@stream-io/video-filters-web-0.0.2) (2024-04-10)
|
|
66
70
|
|
|
67
|
-
|
|
68
71
|
### Bug Fixes
|
|
69
72
|
|
|
70
|
-
|
|
73
|
+
- update repository path ([6d9bbe7](https://github.com/GetStream/stream-video-js/commit/6d9bbe7b3d4bcbf69f3a5faab4543c8ce8d985cd))
|
|
71
74
|
|
|
72
75
|
### 0.0.1 (2024-04-05)
|
|
73
76
|
|
|
74
|
-
|
|
75
77
|
### Features
|
|
76
78
|
|
|
77
|
-
|
|
79
|
+
- **react:** Support for Background Filters and Background Blurring ([#1283](https://github.com/GetStream/stream-video-js/issues/1283)) ([f790ee7](https://github.com/GetStream/stream-video-js/commit/f790ee78c20fb0f5266e429a777d8bb7ef158c83)), closes [#1271](https://github.com/GetStream/stream-video-js/issues/1271) [#1276](https://github.com/GetStream/stream-video-js/issues/1276)
|
package/dist/index.cjs.js
CHANGED
|
@@ -146,8 +146,8 @@ function buildBlurPass(gl, vertexShader, positionBuffer, texCoordBuffer, personM
|
|
|
146
146
|
const offset = new Array(windowSize).fill(0).map((v, index) => index);
|
|
147
147
|
const variance = sigma ** 2;
|
|
148
148
|
const weights = offset.map((x) => {
|
|
149
|
-
|
|
150
|
-
|
|
149
|
+
const m = sigma * Math.sqrt(2 * Math.PI);
|
|
150
|
+
const e = Math.exp(-(x ** 2) / (2 * variance));
|
|
151
151
|
return e / m;
|
|
152
152
|
});
|
|
153
153
|
const fragmentShaderSource = glsl `#version 300 es
|
|
@@ -1533,7 +1533,7 @@ const createTFLiteSIMDModule = (__Module) => {
|
|
|
1533
1533
|
return __Module.ready;
|
|
1534
1534
|
};
|
|
1535
1535
|
|
|
1536
|
-
const version = "0.1
|
|
1536
|
+
const version = "0.2.1";
|
|
1537
1537
|
const packageName = "@stream-io/video-filters-web";
|
|
1538
1538
|
|
|
1539
1539
|
// @ts-expect-error - module is not declared
|