Skip to content

Commit 87fcc5c

Browse files
committed
Merge branch 'main' into codec-negotiation
2 parents 0a43afc + da6461b commit 87fcc5c

File tree

198 files changed

+5518
-3542
lines changed

Some content is hidden

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

198 files changed

+5518
-3542
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- name: Setup Node
7373
uses: actions/setup-node@v4
7474
with:
75-
node-version: 20.x
75+
node-version: 22.x
7676
cache: 'yarn'
7777

7878
- name: Install Dependencies

.github/workflows/egress-composite-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Setup Node
2929
uses: actions/setup-node@v4
3030
with:
31-
node-version: 20.x
31+
node-version: 22.x
3232
cache: 'yarn'
3333
cache-dependency-path: 'yarn.lock'
3434

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup Node
2828
uses: actions/setup-node@v4
2929
with:
30-
node-version: 20.x
30+
node-version: 22.x
3131
cache: 'yarn'
3232

3333
- name: ESLint Cache

.github/workflows/version-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Node
3030
uses: actions/setup-node@v4
3131
with:
32-
node-version: 20.x
32+
node-version: 22.x
3333
cache: 'yarn'
3434

3535
- name: ESLint Cache

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20
1+
v22

packages/client/CHANGELOG.md

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

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

5+
## [1.11.7](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.11.6...@stream-io/video-client-1.11.7) (2024-11-26)
6+
7+
8+
### Bug Fixes
9+
10+
* remove unused code from the coordinator websocket impl ([#1563](https://github.com/GetStream/stream-video-js/issues/1563)) ([921b820](https://github.com/GetStream/stream-video-js/commit/921b820133885dac299dab343cee3fc4b08705ce))
11+
512
## [1.11.6](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.11.5...@stream-io/video-client-1.11.6) (2024-11-22)
613

714

packages/client/package.json

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stream-io/video-client",
3-
"version": "1.11.6",
3+
"version": "1.11.7",
44
"packageManager": "[email protected]",
55
"main": "dist/index.cjs.js",
66
"module": "dist/index.es.js",
@@ -31,15 +31,11 @@
3131
"@protobuf-ts/runtime": "^2.9.4",
3232
"@protobuf-ts/runtime-rpc": "^2.9.4",
3333
"@protobuf-ts/twirp-transport": "^2.9.4",
34-
"@types/ws": "^8.5.7",
35-
"axios": "^1.6.0",
36-
"base64-js": "^1.5.1",
37-
"isomorphic-ws": "^5.0.0",
34+
"axios": "^1.7.7",
3835
"rxjs": "~7.8.1",
3936
"sdp-transform": "^2.14.1",
4037
"ua-parser-js": "^1.0.36",
41-
"webrtc-adapter": "^8.2.3",
42-
"ws": "^8.14.2"
38+
"webrtc-adapter": "^8.2.3"
4339
},
4440
"devDependencies": {
4541
"@openapitools/openapi-generator-cli": "^2.13.4",
@@ -49,15 +45,15 @@
4945
"@stream-io/node-sdk": "^0.4.3",
5046
"@types/sdp-transform": "^2.4.7",
5147
"@types/ua-parser-js": "^0.7.37",
52-
"@vitest/coverage-v8": "^0.34.4",
48+
"@vitest/coverage-v8": "^2.1.4",
5349
"dotenv": "^16.3.1",
5450
"happy-dom": "^11.0.2",
5551
"prettier": "^3.3.2",
5652
"rimraf": "^5.0.7",
5753
"rollup": "^4.22.0",
5854
"typescript": "^5.5.2",
5955
"vite": "^5.4.6",
60-
"vitest": "^1.0.0",
61-
"vitest-mock-extended": "^1.2.1"
56+
"vitest": "^2.1.4",
57+
"vitest-mock-extended": "^2.0.2"
6258
}
6359
}

packages/client/src/__tests__/Call.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
import { StreamVideoClient } from '../StreamVideoClient';
1111
import 'dotenv/config';
1212
import { StreamClient } from '@stream-io/node-sdk';
13-
import { generateUUIDv4 } from '../coordinator/connection/utils';
13+
import { generateUUIDv4, sleep } from '../coordinator/connection/utils';
1414
import { CallingState } from '../store';
1515
import { Dispatcher } from '../rtc';
1616
import { Call } from '../Call';
@@ -22,7 +22,7 @@ const secret = process.env.STREAM_SECRET!;
2222
const serverClient = new StreamClient(apiKey, secret);
2323
const userId = 'jane';
2424
const tokenProvider = async () =>
25-
serverClient.createToken(userId, undefined, Date.now() / 1000 - 10);
25+
serverClient.generateUserToken({ user_id: userId, role: 'user' });
2626

2727
let client: StreamVideoClient;
2828

@@ -34,6 +34,7 @@ beforeEach(async () => {
3434
user: { id: 'jane' },
3535
});
3636

37+
await sleep(50);
3738
await client.streamClient.wsPromise;
3839
});
3940

packages/client/src/coordinator/connection/base64.ts

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

0 commit comments

Comments
 (0)