Skip to content

Commit

Permalink
fix: video should be enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
myandrienko committed Oct 4, 2024
1 parent bf43b59 commit 7340041
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-sdk/src/core/components/Video/Video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down Expand Up @@ -64,7 +65,7 @@ export type VideoProps = ComponentPropsWithoutRef<'video'> & {
};

export const Video = ({
enabled,
enabled = true,
mirror,
trackType,
participant,
Expand Down

0 comments on commit 7340041

Please sign in to comment.