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

Commit

Permalink
fix: require enableRecording to be truthy to use recording instead of…
Browse files Browse the repository at this point in the history
… false
  • Loading branch information
Raspincel committed May 29, 2024
1 parent ee8286b commit d9520c7
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 d9520c7

Please sign in to comment.