Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #686 from SuperViz/fix/enableRecording-as-truthy
Browse files Browse the repository at this point in the history
fix: enable recording as truthy
  • Loading branch information
carlossantos74 authored May 29, 2024
2 parents 9eb5f36 + d9520c7 commit b16ad68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/video/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export class VideoConference extends BaseComponent {
private startVideo = (): void => {
this.videoConfig = {
language: this.params?.language,
canUseRecording: this.params?.enableRecording === false,
canUseRecording: !!this.params?.enableRecording,
canShowAudienceList: this.params?.showAudienceList ?? true,
canUseChat: !this.params?.chatOff,
canUseCams: !this.params?.camsOff,
Expand Down

0 comments on commit b16ad68

Please sign in to comment.