Skip to content

Commit c7dbea9

Browse files
authored
Merge branch 'main' into start-bitrate-test
2 parents c861d6f + e7fbe10 commit c7dbea9

File tree

81 files changed

+13389
-3665
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+13389
-3665
lines changed

.github/workflows/deploy-react-sample-apps.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,20 +91,20 @@ jobs:
9191

9292
### Vercel deployment (Preview) ###
9393
- name: Vercel Pull/Build/Deploy (Preview)
94-
if: ${{ github.ref_name != 'main' && matrix.application.manual-only != true }}
94+
if: ${{ github.ref_name != 'main' }}
9595
env:
9696
NEXT_PUBLIC_BASE_PATH: ${{ matrix.application.base-path || '' }}
9797
run: >
98-
yarn dlx vercel@49.1.2 pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} &&
99-
yarn dlx vercel@49.1.2 build --token=${{ secrets.VERCEL_TOKEN }} &&
100-
yarn dlx vercel@49.1.2 deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
98+
yarn dlx vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} &&
99+
yarn dlx vercel build --token=${{ secrets.VERCEL_TOKEN }} &&
100+
yarn dlx vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
101101
102102
### Vercel deployment (Production) ###
103103
- name: Vercel Pull/Build/Deploy (Production)
104104
if: ${{ github.ref_name == 'main' && (matrix.application.manual-only != true || github.event_name == 'workflow_dispatch') }}
105105
env:
106106
NEXT_PUBLIC_BASE_PATH: ${{ matrix.application.base-path || '' }}
107107
run: >
108-
yarn dlx vercel@49.1.2 pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} &&
109-
yarn dlx vercel@49.1.2 build --prod --token=${{ secrets.VERCEL_TOKEN }} &&
110-
yarn dlx vercel@49.1.2 deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }}
108+
yarn dlx vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} &&
109+
yarn dlx vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} &&
110+
yarn dlx vercel deploy --prod --prebuilt --token=${{ secrets.VERCEL_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
.DS_Store
1414
node_modules
1515
dist
16+
!**/krispai/dist
1617
.vercel
1718
.vscode
1819
.idea

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**/next-env.d.ts

eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import tsEsLint from 'typescript-eslint';
44
import pluginReact from 'eslint-plugin-react';
55
import reactHooksPlugin from 'eslint-plugin-react-hooks';
66
import importPlugin from 'eslint-plugin-import';
7+
import reactCompiler from 'eslint-plugin-react-compiler';
78

89
/** @type {import('eslint').Linter.Config[]} */
910
export default [
@@ -18,6 +19,7 @@ export default [
1819
plugins: {
1920
import: importPlugin,
2021
'react-hooks': reactHooksPlugin,
22+
'react-compiler': reactCompiler,
2123
},
2224
settings: {
2325
react: { version: 'detect' },
@@ -42,6 +44,7 @@ export default [
4244
'react/react-in-jsx-scope': 'off',
4345
'react-hooks/rules-of-hooks': 'error',
4446
'react-hooks/exhaustive-deps': 'error',
47+
'react-compiler/react-compiler': 'off',
4548
},
4649
},
4750
];

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
"build:video-filters-web": "yarn workspace @stream-io/video-filters-web run build",
3030
"build:video-filters-react-native": "yarn workspace @stream-io/video-filters-react-native run build",
3131
"build:noise-cancellation-react-native": "yarn workspace @stream-io/noise-cancellation-react-native run build",
32-
"build:react:deps": "yarn build:client && yarn build:styling && yarn build:react:bindings && yarn build:video-filters-web && yarn build:audio-filters-web && yarn build:react:sdk",
33-
"build:react-native:deps": "yarn build:client && yarn build:react:bindings && yarn build:video-filters-react-native && yarn build:noise-cancellation-react-native && yarn build:react-native:sdk",
32+
"build:react:deps": "yarn workspaces foreach -Apv --topological-dev --include 'packages/{client,react-{sdk,bindings},styling,{video,audio}-filters-web}' run build",
33+
"build:react-native:deps": "yarn workspaces foreach -Apv --topological-dev --include 'packages/{client,react-bindings,audio-filters-web,{video-filters,noise-cancellation}-react-native,react-native-sdk}' run build",
3434
"build:vercel": "yarn build:react:deps && yarn build:react:dogfood",
3535
"start:egress": "yarn workspace @stream-io/egress-composite start",
3636
"build:egress": "yarn workspace @stream-io/egress-composite build",
@@ -70,7 +70,8 @@
7070
"eslint": "^9.37.0",
7171
"eslint-plugin-import": "^2.32.0",
7272
"eslint-plugin-react": "^7.37.5",
73-
"eslint-plugin-react-hooks": "^7.0.0",
73+
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
74+
"eslint-plugin-react-hooks": "^7.0.1",
7475
"globals": "^16.4.0",
7576
"husky": "^9.1.7",
7677
"lint-staged": "^16.2.4",

packages/audio-filters-web/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
44

5+
## [0.7.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/audio-filters-web-0.7.0...@stream-io/audio-filters-web-0.7.1) (2025-12-18)
6+
7+
### Bug Fixes
8+
9+
- **audio:** Ensure KrispAI filters are included in the package ([7d8ef51](https://github.com/GetStream/stream-video-js/commit/7d8ef5183a9d319226f4f8b0152b9fed2cd6044a))
10+
11+
## [0.7.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/audio-filters-web-0.6.1...@stream-io/audio-filters-web-0.7.0) (2025-12-18)
12+
13+
### Features
14+
15+
- **audio-filters-web:** upgrade Krisp.ai & move build process from Rollup to Vite ([#1960](https://github.com/GetStream/stream-video-js/issues/1960)) ([7c3de2f](https://github.com/GetStream/stream-video-js/commit/7c3de2fedf534cc914213a9c6f493c25c27f13cb))
16+
517
## [0.6.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/audio-filters-web-0.6.0...@stream-io/audio-filters-web-0.6.1) (2025-11-25)
618

719
### Bug Fixes

packages/audio-filters-web/index.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/audio-filters-web/package.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
{
22
"name": "@stream-io/audio-filters-web",
3-
"version": "0.6.1",
4-
"main": "./dist/index.cjs.js",
5-
"module": "./dist/index.es.js",
6-
"types": "./dist/index.d.ts",
3+
"version": "0.7.1",
4+
"main": "./dist/cjs/index.js",
5+
"types": "./dist/types/index.d.ts",
6+
"exports": {
7+
".": {
8+
"types": "./dist/types/index.d.ts",
9+
"default": "./dist/cjs/index.js"
10+
}
11+
},
712
"license": "See license in LICENSE",
813
"scripts": {
914
"clean": "rimraf dist",
10-
"start": "rollup -c -w",
11-
"build": "NODE_ENV=production rollup -c"
15+
"start": "vite build --watch",
16+
"build": "yarn clean && concurrently 'vite build' 'tsc'"
1217
},
1318
"repository": {
1419
"type": "git",
@@ -29,10 +34,9 @@
2934
"wasm-feature-detect": "^1.8.0"
3035
},
3136
"devDependencies": {
32-
"@rollup/plugin-replace": "^6.0.2",
33-
"@rollup/plugin-typescript": "^12.1.4",
37+
"concurrently": "^9.2.1",
3438
"rimraf": "^6.0.1",
35-
"rollup": "^4.52.4",
36-
"typescript": "^5.9.3"
39+
"typescript": "^5.9.3",
40+
"vite": "^7.2.7"
3741
}
3842
}

packages/audio-filters-web/rollup.config.mjs

Lines changed: 0 additions & 37 deletions
This file was deleted.

packages/audio-filters-web/src/NoiseCancellation.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
// RollupError: @rollup/plugin-typescript TS7016: Could not find a declaration file for module './krispai/krispsdk.mjs'
2-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
3-
// @ts-ignore - issues with typescript on CI
4-
import KrispSDK from './krispai/krispsdk.mjs';
1+
import KrispSDK from './krispai';
52
import type {
63
IAudioFilterNode,
74
IKrispSDK,
85
ISDKPartialOptions,
9-
} from './krispai/krispsdk';
6+
} from './krispai';
107
import { packageName, packageVersion } from './version';
118
import { promiseWithResolvers } from './withResolvers';
129
import { simd } from 'wasm-feature-detect';
1310
import type { Tracer } from './tracer';
1411

12+
const MODEL_FILENAME = 'krisp-nc-o-med-v7.kef';
13+
1514
/**
1615
* Options to pass to the NoiseCancellation instance.
1716
*/
@@ -149,7 +148,7 @@ export class NoiseCancellation implements INoiseCancellation {
149148
useSharedArrayBuffer: false,
150149
models: {
151150
// https://sdk-docs.krisp.ai/docs/krisp-audio-sdk-model-selection-guide
152-
modelNC: `${this.basePath}/c6.f.s.da1785.kef`,
151+
modelNC: `${this.basePath}/${MODEL_FILENAME}`,
153152
},
154153
...this.krispSDKParams,
155154
},

0 commit comments

Comments
 (0)