Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hard mute Sdk references #5544

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ const meta: Meta = {
maxRemoteVideoStreams: { table: { disable: true } },
pinnedParticipants: { table: { disable: true } },
onPinParticipant: { table: { disable: true } },
onPermitAudio: { table: { disable: true } },
onForbidAudio: { table: { disable: true } },
onPermitVideo: { table: { disable: true } },
onForbidVideo: { table: { disable: true } },
remoteParticipants: controlsToAdd.remoteParticipantNames,
videoGalleryLayout: controlsToAdd.videoGallerylayout,
overflowGalleryPosition: controlsToAdd.overflowGalleryPosition,
Expand Down
8 changes: 8 additions & 0 deletions packages/storybook8/stories/Composites/Adapters/Docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,14 @@ The ChatAdapter and the ChatComposite are purpose-built to support single chat t
| **`updateSelectedVideoBackgroundEffect`** | Update the selected video background effect.<br /><br />`selectedVideoBackground`: The video background effect to update.<br /><br />**Signature:**<br />`(selectedVideoBackground: VideoBackgroundEffect) => void` |
| **`startNoiseSuppressionEffect`** | Start the noise suppression effect.<br /><br />**Signature:**<br />`() => Promise<void>` |
| **`stopNoiseSuppressionEffect`** | Stop the noise suppression effect.<br /><br />**Signature:**<br />`() => Promise<void>` |
| **`permitAudio`** | Permit Teams meeting attendees' audio by their user ids.<br /><br />**Signature:**<br />`(userIds: string[]) => Promise<void>` |
| **`forbidAudio`** | Forbid Teams meeting attendees' audio by their user ids.<br /><br />**Signature:**<br />`(userIds: string[]) => Promise<void>` |
| **`permitOthersAudio`** | Permit Teams meeting audio for all attendees.<br /><br />**Signature:**<br />`() => Promise<void>` |
| **`forbidOthersAudio`** | Forbid Teams meeting audio for all attendees.<br /><br />**Signature:**<br />`() => Promise<void>` |
| **`permitVideo`** | Permit Teams meeting attendees' video by their user ids.<br /><br />**Signature:**<br />`(userIds: string[]) => Promise<void>` |
| **`forbidVideo`** | Forbid Teams meeting attendees' video by their user ids.<br /><br />**Signature:**<br />`(userIds: string[]) => Promise<void>` |
| **`permitOthersVideo`** | Permit Teams meeting video for all attendees.<br /><br />**Signature:**<br />`() => Promise<void>` |
| **`forbidOthersVideo`** | Forbid Teams meeting video for all attendees.<br /><br />**Signature:**<br />`() => Promise<void>` |
| **`on`** | Subscribe to event.<br /><br />Events:<br /> `participantsJoined` <br /> `participantsLeft` <br /> `isMutedChanged` <br /> `callIdChanged` <br /> `isLocalScreenSharingActiveChanged` <br /> `displayNameChanged` <br /> `isSpeakingChanged` <br /> `callEnded` <br /> `diagnosticChanged` <br /> `error` <br /> `captionsReceived` <br /> `isCaptionsActiveChanged` <br /> `transferAccepted` <br /> `capabilitiesChanged` <br /> `spotlightChanged` <br /><br />**Signature:**<br />`on(event: string, listener: Function): void` |
| **`off`** | Unsubscribe from event.<br /><br />Events:<br /> `participantsJoined` <br /> `participantsLeft` <br /> `isMutedChanged` <br /> `callIdChanged` <br /> `isLocalScreenSharingActiveChanged` <br /> `displayNameChanged` <br /> `isSpeakingChanged` <br /> `callEnded` <br /> `diagnosticChanged` <br /> `error` <br /> `captionsReceived` <br /> `isCaptionsActiveChanged` <br /> `transferAccepted` <br /> `capabilitiesChanged` <br /> `spotlightChanged` <br /><br />**Signature:**<br />`off(event: string, listener: Function): void` |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,11 @@ const notificationOptions: NotificationType[] = [
'recordingAndTranscriptionStarted',
'recordingAndTranscriptionStopped',
'recordingStoppedStillTranscribing',
'transcriptionStoppedStillRecording'
'transcriptionStoppedStillRecording',
'capabilityTurnVideoOnAbsent',
'capabilityTurnVideoOnPresent',
'capabilityUnmuteMicAbsent',
'capabilityUnmuteMicPresent'
];

const themeChoices = ['Default', 'Dark', 'Teams', 'Word'];
Expand Down
6 changes: 5 additions & 1 deletion packages/storybook8/stories/controlsUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,11 @@ const notificationOptions: NotificationType[] = [
'recordingAndTranscriptionStarted',
'recordingAndTranscriptionStopped',
'recordingStoppedStillTranscribing',
'transcriptionStoppedStillRecording'
'transcriptionStoppedStillRecording',
'capabilityTurnVideoOnAbsent',
'capabilityTurnVideoOnPresent',
'capabilityUnmuteMicAbsent',
'capabilityUnmuteMicPresent'
];

export const defaultActiveNotifications = ['callNoSpeakerFound'];
Expand Down
Loading