@stream-io/video-react-sdk 1.24.1 → 1.24.3
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 +18 -0
- 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/wrappers/LivestreamPlayer/LivestreamPlayer.d.ts +3 -2
- package/package.json +3 -3
- package/src/wrappers/LivestreamPlayer/LivestreamPlayer.tsx +8 -5
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.24.3](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.24.2...@stream-io/video-react-sdk-1.24.3) (2025-10-27)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
- `@stream-io/video-client` updated to version `1.35.1`
|
|
10
|
+
- `@stream-io/video-react-bindings` updated to version `1.10.3`
|
|
11
|
+
|
|
12
|
+
## [1.24.2](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.24.1...@stream-io/video-react-sdk-1.24.2) (2025-10-24)
|
|
13
|
+
|
|
14
|
+
### Dependency Updates
|
|
15
|
+
|
|
16
|
+
- `@stream-io/video-client` updated to version `1.35.0`
|
|
17
|
+
- `@stream-io/video-react-bindings` updated to version `1.10.2`
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
- accept `children` in LivestreamPlayer components ([#1968](https://github.com/GetStream/stream-video-js/issues/1968)) ([1558f06](https://github.com/GetStream/stream-video-js/commit/1558f060614581964b72e9627e82a8419fc3d570))
|
|
22
|
+
|
|
5
23
|
## [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
24
|
|
|
7
25
|
### Dependency Updates
|
package/dist/index.cjs.js
CHANGED
|
@@ -2926,7 +2926,7 @@ Host.displayName = 'PipLayout.Host';
|
|
|
2926
2926
|
const PipLayout = { Pip, Host };
|
|
2927
2927
|
|
|
2928
2928
|
const LivestreamPlayer = (props) => {
|
|
2929
|
-
const { callType, callId, ...restProps } = props;
|
|
2929
|
+
const { callType, callId, children, ...restProps } = props;
|
|
2930
2930
|
const client = videoReactBindings.useStreamVideoClient();
|
|
2931
2931
|
const [call, setCall] = react.useState();
|
|
2932
2932
|
const onError = videoReactBindings.useEffectEvent(props.onError ?? (() => { }));
|
|
@@ -2949,7 +2949,7 @@ const LivestreamPlayer = (props) => {
|
|
|
2949
2949
|
if (!call) {
|
|
2950
2950
|
return null;
|
|
2951
2951
|
}
|
|
2952
|
-
return (jsxRuntime.
|
|
2952
|
+
return (jsxRuntime.jsxs(StreamCall, { call: call, children: [jsxRuntime.jsx(LivestreamCall, { ...restProps }), children] }));
|
|
2953
2953
|
};
|
|
2954
2954
|
const LivestreamCall = (props) => {
|
|
2955
2955
|
const call = useLivestreamCall(props);
|
|
@@ -3006,7 +3006,7 @@ const checkCanJoinEarly = (startsAt, joinAheadTimeSeconds) => {
|
|
|
3006
3006
|
return Date.now() >= +startsAt - (joinAheadTimeSeconds ?? 0) * 1000;
|
|
3007
3007
|
};
|
|
3008
3008
|
|
|
3009
|
-
const [major, minor, patch] = ("1.24.
|
|
3009
|
+
const [major, minor, patch] = ("1.24.3").split('.');
|
|
3010
3010
|
videoClient.setSdkInfo({
|
|
3011
3011
|
type: videoClient.SfuModels.SdkType.REACT,
|
|
3012
3012
|
major,
|