@stream-io/video-react-sdk 1.24.1 → 1.24.2

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/dist/index.es.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 = useStreamVideoClient();
2931
2931
  const [call, setCall] = useState();
2932
2932
  const onError = useEffectEvent(props.onError ?? (() => { }));
@@ -2949,7 +2949,7 @@ const LivestreamPlayer = (props) => {
2949
2949
  if (!call) {
2950
2950
  return null;
2951
2951
  }
2952
- return (jsx(StreamCall, { call: call, children: jsx(LivestreamCall, { ...restProps }) }));
2952
+ return (jsxs(StreamCall, { call: call, children: [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.1").split('.');
3009
+ const [major, minor, patch] = ("1.24.2").split('.');
3010
3010
  setSdkInfo({
3011
3011
  type: SfuModels.SdkType.REACT,
3012
3012
  major,