diff --git a/packages/react-sdk/CHANGELOG.md b/packages/react-sdk/CHANGELOG.md index 28cd23d212..2d2ecdf68c 100644 --- a/packages/react-sdk/CHANGELOG.md +++ b/packages/react-sdk/CHANGELOG.md @@ -2,6 +2,13 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [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) + + +### Bug Fixes + +* video should be enabled by default ([7340041](https://github.com/GetStream/stream-video-js/commit/73400414d472d39701fd31b54ac927a8a8865151)) + ## [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) diff --git a/packages/react-sdk/package.json b/packages/react-sdk/package.json index c2cab204bd..b90ce23b11 100644 --- a/packages/react-sdk/package.json +++ b/packages/react-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@stream-io/video-react-sdk", - "version": "1.6.0", + "version": "1.6.1", "packageManager": "yarn@3.2.4", "main": "./dist/index.cjs.js", "module": "./dist/index.es.js", diff --git a/packages/react-sdk/src/core/components/Video/Video.tsx b/packages/react-sdk/src/core/components/Video/Video.tsx index 809c3b6d63..52e2ea298e 100644 --- a/packages/react-sdk/src/core/components/Video/Video.tsx +++ b/packages/react-sdk/src/core/components/Video/Video.tsx @@ -23,6 +23,7 @@ export type VideoProps = ComponentPropsWithoutRef<'video'> & { /** * Pass false to disable rendering video and render fallback * even if the participant has published video. + * @default true */ enabled?: boolean; /** @@ -64,7 +65,7 @@ export type VideoProps = ComponentPropsWithoutRef<'video'> & { }; export const Video = ({ - enabled, + enabled = true, mirror, trackType, participant,