-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/main' into vp9-publish
# Conflicts: # packages/client/src/devices/CameraManager.ts # packages/client/src/rtc/Publisher.ts # packages/client/src/rtc/videoLayers.ts # packages/client/src/types.ts # sample-apps/react/react-dogfood/components/MeetingUI.tsx
- Loading branch information
Showing
96 changed files
with
3,644 additions
and
8,788 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@stream-io/audio-filters-web", | ||
"packageManager": "[email protected]", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"main": "./dist/index.cjs.js", | ||
"module": "./dist/index.es.js", | ||
"types": "./dist/index.d.ts", | ||
|
@@ -16,6 +16,7 @@ | |
"url": "https://github.com/GetStream/stream-video-js.git", | ||
"directory": "packages/audio-filters-web" | ||
}, | ||
"sideEffects": false, | ||
"files": [ | ||
"dist", | ||
"src", | ||
|
@@ -29,10 +30,10 @@ | |
"wasm-feature-detect": "^1.6.1" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-replace": "^5.0.5", | ||
"@rollup/plugin-replace": "^5.0.7", | ||
"@rollup/plugin-typescript": "^11.1.6", | ||
"rimraf": "^5.0.7", | ||
"rollup": "^3.29.4", | ||
"rollup": "^4.22.0", | ||
"typescript": "^5.5.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
packages/client/docusaurus/docs/javascript/02-guides/07-query-call-members.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
id: querying-call-members | ||
title: Querying Call Members | ||
description: How to query call members | ||
--- | ||
|
||
import FilterConditions from '../../../shared/_filter-operators.mdx'; | ||
import CallMemberFilters from '../../../shared/video/_call-member-filters.mdx'; | ||
import CallMemberSort from '../../../shared/video/_call-member-sort-fields.mdx'; | ||
|
||
When you create or join a call you get a list of call members, however this can return at most 100 members: | ||
|
||
```typescript | ||
// The maximum limit is 100 | ||
// The default limit is 25 | ||
await call.getOrCreate({ members_limit: 100 }); | ||
|
||
// or | ||
await call.join({ members_limit: 100 }); | ||
``` | ||
|
||
To get the complete list of call members the Stream API allows you to query, filter and sort members of a call using a paginated list. | ||
|
||
## Examples | ||
|
||
Below are a few examples of how to use this API: | ||
|
||
```typescript | ||
const result = await call.queryMembers(); | ||
|
||
// sorting and pagination | ||
const queryMembersReq = { | ||
sort: [{ field: 'user_id', direction: 1 }], | ||
limit: 2, | ||
}; | ||
const result = await call.queryMembers(queryMembersReq); | ||
|
||
// loading the next page | ||
const result = await call.queryMembers({ | ||
...queryMembersReq, | ||
next: result.next, | ||
}); | ||
|
||
// filtering | ||
const result = await call.queryMembers({ | ||
filter_conditions: { role: { $eq: 'admin' } }, | ||
}); | ||
``` | ||
|
||
## Sort options | ||
|
||
<CallMemberSort /> | ||
|
||
## Filter options | ||
|
||
<CallMemberFilters /> | ||
|
||
<FilterConditions /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@stream-io/video-client", | ||
"version": "1.6.0", | ||
"version": "1.7.3", | ||
"packageManager": "[email protected]", | ||
"main": "dist/index.cjs.js", | ||
"module": "dist/index.es.js", | ||
|
@@ -43,20 +43,20 @@ | |
}, | ||
"devDependencies": { | ||
"@openapitools/openapi-generator-cli": "^2.13.4", | ||
"@rollup/plugin-replace": "^5.0.5", | ||
"@rollup/plugin-replace": "^5.0.7", | ||
"@rollup/plugin-typescript": "^11.1.6", | ||
"@stream-io/audio-filters-web": "workspace:^", | ||
"@stream-io/node-sdk": "^0.4.0", | ||
"@stream-io/node-sdk": "^0.4.3", | ||
"@types/sdp-transform": "^2.4.7", | ||
"@types/ua-parser-js": "^0.7.37", | ||
"@vitest/coverage-v8": "^0.34.4", | ||
"dotenv": "^16.3.1", | ||
"happy-dom": "^11.0.2", | ||
"prettier": "^3.3.2", | ||
"rimraf": "^5.0.7", | ||
"rollup": "^3.29.4", | ||
"rollup": "^4.22.0", | ||
"typescript": "^5.5.2", | ||
"vite": "^4.4.11", | ||
"vite": "^5.4.6", | ||
"vitest": "^1.0.0", | ||
"vitest-mock-extended": "^1.2.1" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.