Skip to content

Commit

Permalink
fix: added spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
roerohan committed Jun 27, 2022
1 parent 57d8800 commit 6b91a70
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/web-core/03-Local User/01-introduction.mdx
Expand Up @@ -66,8 +66,10 @@ await meeting.self.setName('New Name');
```ts
// Mute Audio
await meeting.self.disableAudio();

// Unmute Audio
await meeting.self.enableAudio();

// Get current status
meeting.self.audioEnabled;
```
Expand All @@ -77,8 +79,10 @@ meeting.self.audioEnabled;
```ts
// Disable Video
await meeting.self.disableVideo();

// Enable Video
await meeting.self.enableVideo();

// Get current status
meeting.self.videoEnabled;
```
Expand All @@ -88,8 +92,10 @@ meeting.self.videoEnabled;
```ts
// Enable Screenshare
await meeting.self.enableScreenShare();

// Disable Screenshare
await meeting.self.disableScreenShare();

// Get current status
meeting.self.screenShareEnabled;
```
Expand All @@ -106,10 +112,13 @@ You can check if the streams are enabled in the preview using `meeting.self.prev
```ts
// Enable preview
await meeting.self.enablePreview();

// Disable preview
await meeting.self.disablePreview();

// Enable only audio preview
await meeting.self.enablePreview({ video: false });

// Enable only video preview
await meeting.self.enablePreview({ audio: false });
```

0 comments on commit 6b91a70

Please sign in to comment.