Skip to content

Commit 933cdbd

Browse files
authored
Merge branch 'main' into docs/cc-react
2 parents 10d5cb8 + e9ba37c commit 933cdbd

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

packages/react-sdk/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
44

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+
512
## [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)
613

714

packages/react-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stream-io/video-react-sdk",
3-
"version": "1.6.0",
3+
"version": "1.6.1",
44
"packageManager": "[email protected]",
55
"main": "./dist/index.cjs.js",
66
"module": "./dist/index.es.js",

packages/react-sdk/src/core/components/Video/Video.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export type VideoProps = ComponentPropsWithoutRef<'video'> & {
2323
/**
2424
* Pass false to disable rendering video and render fallback
2525
* even if the participant has published video.
26+
* @default true
2627
*/
2728
enabled?: boolean;
2829
/**
@@ -64,7 +65,7 @@ export type VideoProps = ComponentPropsWithoutRef<'video'> & {
6465
};
6566

6667
export const Video = ({
67-
enabled,
68+
enabled = true,
6869
mirror,
6970
trackType,
7071
participant,

0 commit comments

Comments
 (0)