@stream-io/video-react-sdk 1.6.0 → 1.6.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 CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.6.1](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.6.0...@stream-io/video-react-sdk-1.6.1) (2024-10-04)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * video should be enabled by default ([7340041](https://github.com/GetStream/stream-video-js/commit/73400414d472d39701fd31b54ac927a8a8865151))
11
+
5
12
  ## [1.6.0](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-react-sdk-1.5.0...@stream-io/video-react-sdk-1.6.0) (2024-10-03)
6
13
 
7
14
 
package/dist/index.cjs.js CHANGED
@@ -565,7 +565,7 @@ const InitialsFallback = (props) => {
565
565
  return (jsxRuntime.jsx("div", { className: "str-video__video-placeholder__initials-fallback", children: initials }));
566
566
  };
567
567
 
568
- const Video$1 = ({ enabled, mirror, trackType, participant, className, VideoPlaceholder = DefaultVideoPlaceholder, refs, ...rest }) => {
568
+ const Video$1 = ({ enabled = true, mirror, trackType, participant, className, VideoPlaceholder = DefaultVideoPlaceholder, refs, ...rest }) => {
569
569
  const { sessionId, videoStream, screenShareStream, viewportVisibilityState, isLocalParticipant, userId, } = participant;
570
570
  const call = videoReactBindings.useCall();
571
571
  const [videoElement, setVideoElement] = react.useState(null);
@@ -2556,7 +2556,7 @@ const LivestreamPlayer = (props) => {
2556
2556
  return (jsxRuntime.jsx(StreamCall, { call: call, children: jsxRuntime.jsx(LivestreamLayout, { ...layoutProps }) }));
2557
2557
  };
2558
2558
 
2559
- const [major, minor, patch] = ("1.6.0").split('.');
2559
+ const [major, minor, patch] = ("1.6.1").split('.');
2560
2560
  videoClient.setSdkInfo({
2561
2561
  type: videoClient.SfuModels.SdkType.REACT,
2562
2562
  major,