@stream-io/video-react-sdk 1.24.0 → 1.24.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 +11 -0
- package/dist/index.cjs.js +4 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -3
- package/dist/index.es.js.map +1 -1
- package/dist/src/core/components/CallLayout/hooks.d.ts +2 -1
- package/package.json +3 -3
- package/src/core/components/CallLayout/hooks.ts +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.24.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.24.0...@stream-io/video-react-sdk-1.24.1) (2025-10-17)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
- `@stream-io/video-client` updated to version `1.34.1`
|
|
10
|
+
- `@stream-io/video-react-bindings` updated to version `1.10.1`
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
- make it possible to filter screensharing participants ([#1965](https://github.com/GetStream/stream-video-js/issues/1965)) ([885394e](https://github.com/GetStream/stream-video-js/commit/885394e486ecdfdcf7b91a6973b7225c84975804))
|
|
15
|
+
|
|
5
16
|
## [1.24.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.23.1...@stream-io/video-react-sdk-1.24.0) (2025-10-14)
|
|
6
17
|
|
|
7
18
|
### Dependency Updates
|
package/dist/index.cjs.js
CHANGED
|
@@ -2584,6 +2584,7 @@ const applyParticipantsFilter = (participants, filter) => {
|
|
|
2584
2584
|
isPinned: videoClient.isPinned(participant),
|
|
2585
2585
|
hasVideo: videoClient.hasVideo(participant),
|
|
2586
2586
|
hasAudio: videoClient.hasAudio(participant),
|
|
2587
|
+
hasScreenShare: videoClient.hasScreenShare(participant),
|
|
2587
2588
|
}, filter);
|
|
2588
2589
|
return participants.filter(filterCallback);
|
|
2589
2590
|
};
|
|
@@ -2615,8 +2616,8 @@ const useSpeakerLayoutSortPreset = (call, isOneOnOneCall) => {
|
|
|
2615
2616
|
};
|
|
2616
2617
|
const useRawRemoteParticipants = () => {
|
|
2617
2618
|
const { useRawParticipants } = videoReactBindings.useCallStateHooks();
|
|
2618
|
-
const
|
|
2619
|
-
return react.useMemo(() =>
|
|
2619
|
+
const rawParticipants = useRawParticipants();
|
|
2620
|
+
return react.useMemo(() => rawParticipants.filter((p) => !p.isLocalParticipant), [rawParticipants]);
|
|
2620
2621
|
};
|
|
2621
2622
|
const resetSortPreset = (call) => {
|
|
2622
2623
|
// reset the sorting to the default for the call type
|
|
@@ -3005,7 +3006,7 @@ const checkCanJoinEarly = (startsAt, joinAheadTimeSeconds) => {
|
|
|
3005
3006
|
return Date.now() >= +startsAt - (joinAheadTimeSeconds ?? 0) * 1000;
|
|
3006
3007
|
};
|
|
3007
3008
|
|
|
3008
|
-
const [major, minor, patch] = ("1.24.
|
|
3009
|
+
const [major, minor, patch] = ("1.24.1").split('.');
|
|
3009
3010
|
videoClient.setSdkInfo({
|
|
3010
3011
|
type: videoClient.SfuModels.SdkType.REACT,
|
|
3011
3012
|
major,
|