Skip to content

Commit

Permalink
Fix condition compile for hard mute. (#5543)
Browse files Browse the repository at this point in the history
* Fix condition compile for hard mute.

* Change files
  • Loading branch information
fuyan2024 authored Jan 10, 2025
1 parent 3460998 commit 713582e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "patch",
"area": "fix",
"workstream": "Hard mute",
"comment": "Fix condition compile for hard mute.",
"packageName": "@azure/communication-react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "patch",
"area": "fix",
"workstream": "Hard mute",
"comment": "Fix condition compile for hard mute.",
"packageName": "@azure/communication-react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ export interface ParticipantItemStrings {
attendeeRole: string;
/* @conditional-compile-remove(media-access) */
/** Label for the disabled microphone icon in participant state stack */
/* @conditional-compile-remove(media-access) */
micDisabledIconLabel: string;
/* @conditional-compile-remove(media-access) */
/** Label for the disabled camera icon in participant state stack */
cameraDisabledIconLabel: string;
}
Expand Down
8 changes: 4 additions & 4 deletions packages/react-components/src/components/VideoGallery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,22 +315,22 @@ export interface VideoGalleryProps {
onMuteParticipant?: (userId: string) => Promise<void>;
/* @conditional-compile-remove(media-access) */
/**
* This callback is to forbid audio for a remote participant(s)
* This callback is to forbid audio for remote participant(s)
*/
onForbidAudio?: (userIds: string[]) => Promise<void>;
/* @conditional-compile-remove(media-access) */
/**
* This callback is to permit audio for a remote participant(s)
* This callback is to permit audio for remote participant(s)
*/
onPermitAudio?: (userIds: string[]) => Promise<void>;
/* @conditional-compile-remove(media-access) */
/**
* This callback is to forbid video for a remote participant(s)
* This callback is to forbid video for remote participant(s)
*/
onForbidVideo?: (userIds: string[]) => Promise<void>;
/* @conditional-compile-remove(media-access) */
/**
* This callback is to permit video for a remote participant(s)
* This callback is to permit video for remote participant(s)
*/
onPermitVideo?: (userIds: string[]) => Promise<void>;
}
Expand Down

0 comments on commit 713582e

Please sign in to comment.